Skip to content

SIOC Six Pack Configuration

Started by saitekx450, October 12, 2014, 06:48:29 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

saitekx450

My First post so hopefully in the right place and is useful for some. Whilst trying to configure my six pack on my sim I couldn't get my head around how to distinguish between the bits within the offset $5530, but then I came across the facility within the syntax for Testbit. I am using on my Engravity MIP an Opencockpits USB output card and leo bodnar input card, the syntax that I have used is below and the example is for Flight Control, once declaring my variables the lines in the code were:-

{
&FLTCTRL_LED = TESTBIT &FLTCTL 1
}

I did this for each of the captains six pack including the master caution and all seems to be well, I am sure fellow builders have discovered this, but thought would bring it into a new discussion for all, just chuffed to find out how to do this and  a bit of a "golden nugget" moment for me. :)

Trevor Hale

Great post and for sure in the right place. We aren't that picky here anyway.

Welcome to the group!
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM: