Jump to content

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 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.