Welcome to Cockpitbuilders.com. Please login or sign up.

May 13, 2024, 05:02:02 PM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
717 Guests, 0 Users
Members
Stats
  • Total Posts: 59,641
  • Total Topics: 7,853
  • Online today: 738
  • Online ever: 831
  • (May 03, 2024, 12:39:25 PM)
Users Online
Users: 0
Guests: 717
Total: 717

COUNTDOWN TO WF2022


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

SIOC Six Pack Configuration

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

Previous topic - Next topic

0 Members and 1 Guest 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:

Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate