scope Posted July 27, 2010 Report Posted July 27, 2010 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.
Pete Dowson Posted July 27, 2010 Report Posted July 27, 2010 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 up3. 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now