Jump to content
The simFlight Network Forums

Simple help for GFDisplay


Recommended Posts

Hey

i've read the pdf doc for GFDisplay, but i'am not quite sure i understand it.. So maybe you could show me a simple script for the .ini that does the following to a Goflight-Toggle module (GFT):

1. Turn on led 1 if Offset 5300 = 1

2. Set offset 530A to 1 (byte) if toggle 1 is up

3. Set offset 530A to 0 (byte) if toggle 1 is down

thanks in advance.

Link to comment
Share on other sites

i've read the pdf doc for GFDisplay, but i'am not quite sure i understand it.. So maybe you could show me a simple script for the .ini that does the following to a Goflight-Toggle module (GFT)

I cannot really support GFdisplay any more. If your unit is on the same PC as FS then you'll find the Lua GoFlight facilities much easier to use (like simple Basic programming instead of complex parameter formats), and a lot more powerful.

For your questions:

1. Turn on led 1 if Offset 5300 = 1

I've not worked with GFdisplay for years, but I'm pretty sure that is simply something like:

L1=X5300 U8 =1

However:

2. Set offset 530A to 1 (byte) if toggle 1 is up

3. Set offset 530A to 0 (byte) if toggle 1 is down

is not at all possible in GFdisplay because GFdisplay only handles displays. It does not read switches nor write to offsets. To do what you want to do you can simply assign that toggle in FSUIPC, to "Offset Byte Set" with parameter 0 or 1 respectively.

Regards

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.