Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello Mr. Dowson,

SquawkBox3 has the following offset...x7b91 for toggling Transponder Mode from 0=Normal to 1=Standby. It is a 1 byte offset with a decimal parameter.

Do I have these FSUIPC.ini lines correct?

95=B7B91=1 P143,17,Cx01007B91,0
96=B7B91=0 P143,17,Cx01007B91,1

According to the log, it's working...

76469 [Buttons] 95=B7B91=1 P143,17,Cx01007B91,x00
76469 .... Offset check: x7B91/1 = 1? (1), Result = TRUE
76469 IPC Offsets Control: Ctrl=x0100, Length=1, Offset=7B91, Param=x0
76469 [Buttons] 96=B7B91=0 P143,17,Cx01007B91,x01
76469 .... Offset check: x7B91/1 = 0? (0), Result = TRUE
76469 IPC Offsets Control: Ctrl=x0100, Length=1, Offset=7B91, Param=x1

But this toggle effect is canceling itself out. How do I get this to effectivly toggle?

Also, in the A.U.G. "Format of Button Definitions" you wrote...

The format of the parameters becomes more complex for conditional actions, so they will be described later.
My suggestion is to specify where this description is.

For example:

The format of the parameters becomes more complex for conditional actions, so they will be described in the SOMEWHERE section.

ADDED:

------------------------------------------------------------

I've done some more research. Is this what I need?

95=P143,17,C1005,261
96=CP(F+1,5),143,17,C01007b91,0
97=CP(F-1,5),143,17,C01007b91,0

I'm going to try it and get back here to update my results.

-------------------------------------------------------------------

Thanks for your time,

Joe

Posted

95=B7B91=1 P143,17,Cx01007B91,0
96=B7B91=0 P143,17,Cx01007B91,1

This simply amounts to an attempt at toggling the value of 7B91 when the button is pressedbut the second the defeat the first.

But this toggle effect is canceling itself out. How do I get this to effectivly toggle?

I cannot understand why you want to make it so complicated in the first place. Just use the toggle facilities.

Delete both lines. Go into FSUIPC's Buttons page, and program the button as as Offset Byte Togglebits with offset x7B91 and parameter 1.

"Toggle" means simply swapping between two values. You don't need to test them first then change them. And for such simple things as this you don't need conditions nor INI file editing.

Regards

Pete

Posted
I cannot understand why you want to make it so complicated in the first place. Just use the toggle facilities.
Because I've been in the Navy too long.
Delete both lines. Go into FSUIPC's Buttons page, and program the button as as Offset Byte Togglebits with offset x7B91 and parameter 1.
Well, geez! That's just TOO simple!

I think this is what threw me off. In that section, you were refering to the FS controls 65536+ and the Additional FSUIPC controls.

These range from 1000 to 3000, and also values ‘xcc00zzzz’ (in hexadecimal) which encode the FSUIPC “Offset” controls

This is where I failed to make the association.

Thank you for bringing me back to the land of "Simple".

Have a good weekend!

Joe

Posted

I think this is what threw me off. In that section, you were refering to the FS controls 65536+ and the Additional FSUIPC controls.

These range from 1000 to 3000, and also values ‘xcc00zzzz’ (in hexadecimal) which encode the FSUIPC “Offset” controls

This is where I failed to make the association.

Hmmmyou've lost me now! Where's what associated with what?

Regards,

Pete

Posted

98=U0,0,K145,8

99=P143,17,Cx0D007B93,x01

That's what you were talking about right? But it doesn't matter, there are so many features and things we can do with FSUIPC, apparently, I have not learned them all. Yet!

Thanks for your help, I'm back on track.

Joe

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
×
×
  • 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.