capetonian
03-26-2010, 06:17 PM
What do you want to do with the board? You need to know a basic "turn the LED on " " and turn it off" script and then modify them to suit your hardware and your glass cockpit software.
I use Prosim737 for my logics and my LED USB output script looks like this:
// These are the outputs connected to the first USBOutputs card
var 0663, Link IOCARD_OUT, Device 1, Output 63 // Cont CAB
var 0662, LINK IOCARD_OUT, Device 1, Output 62 // Bleed Trip Off L
var 0661, Link IOCARD_OUT, Device 1, Output 61 // Wing Body Overheat L
var 0660, Link IOCARD_OUT, Device 1, Output 60 // Wing Body Overheat R
var 0659, Link IOCARD_OUT, Device 1, Output 59 // Aft CAB
var 0658, Link IOCARD_OUT, Device 1, Output 58 // Bleed ALTN (Green)
var 0657, Link IOCARD_OUT, Device 1, Output 57 // Standby HYD Low Pressure
var 0656, Link IOCARD_OUT, Device 1, Output 56 // Bleed Trip Off R
var 0655, Link IOCARD_OUT, Device 1, Output 55 // Pack L
var 0654, Link IOCARD_OUT, Device 1, Output 54 // Pack R
var 0653, Link IOCARD_OUT, Device 1, Output 53 // Dual Bleed
var 0652, Link IOCARD_OUT, Device 1, Output 52 // FLT Control B Low Pressure
var 0651, Link IOCARD_OUT, Device 1, Output 51 // Standby HYD STDY Rudder On
var 0650, Link IOCARD_OUT, Device 1, Output 50 // Bleed Manual (Green)
var 0649, Link IOCARD_OUT, Device 1, Output 49 // Bleed Off Sched Descent
var 0648, Link IOCARD_OUT, Device 1, Output 48 // Fwd Cab
var 0647, Link IOCARD_OUT, Device 1, Output 47 // Standby HYD Low Quantity
var 0646, Link IOCARD_OUT, Device 1, Output 46 // FLT Control A Low Pressure
var 0645, Link IOCARD_OUT, Device 1, Output 45 // Equip Cooling Exhaust off
var 0644, Link IOCARD_OUT, Device 1, Output 44 // Emergancy Exit Lights Not Armed
var 0643, Link IOCARD_OUT, Device 1, Output 43 // Equip Cooling Supply off
var 0642, Link IOCARD_OUT, Device 1, Output 42 // Attend Call
//var 0635, Link IOCARD_OUT, Device 1, Output 35 //
var 0634, Link IOCARD_OUT, Device 1, Output 34 // 34 Yaw Damper
var 0633, Link IOCARD_OUT, Device 1, Output 33 // Auto Slat Fail
var 0632, Link IOCARD_OUT, Device 1, Output 32 // 32 Mach Trim Fail
//var 0630, Link IOCARD_OUT, Device 1, Output 30 //
//var 0629, Link IOCARD_OUT, Device 1, Output 29 //
//var 0628, Link IOCARD_OUT, Device 1, Output 28 //
//var 0627, Link IOCARD_OUT, Device 1, Output 27 //
//var 0626, Link IOCARD_OUT, Device 1, Output 26 //
//var 0625, Link IOCARD_OUT, Device 1, Output 25 //
//var 0624, Link IOCARD_OUT, Device 1, Output 24 //
//var 0623, Link IOCARD_OUT, Device 1, Output 23 //
//var 0622, Link IOCARD_OUT, Device 1, Output 22 //
//var 0621, Link IOCARD_OUT, Device 1, Output 21 //
//var 0620, Link IOCARD_OUT, Device 1, Output 20 //
//var 0619, Link IOCARD_OUT, Device 1, Output 19 //
//var 0618, Link IOCARD_OUT, Device 1, Output 18 //
//var 0617, Link IOCARD_OUT, Device 1, Output 17 //
//var 0616, Link IOCARD_OUT, Device 1, Output 16 //
//var 0615, Link IOCARD_OUT, Device 1, Output 15 //
//var 0614, Link IOCARD_OUT, Device 1, Output 14 //
//var 0613, Link IOCARD_OUT, Device 1, Output 13 //
//var 0612, Link IOCARD_OUT, Device 1, Output 12 //
//var 0611, Link IOCARD_OUT, Device 1, Output 11 //
//var 0610, Link IOCARD_OUT, Device 1, Output 10 //
//var 0609, Link IOCARD_OUT, Device 1, Output 09 //
//var 0608, Link IOCARD_OUT, Device 1, Output 08 //
//var 0607, Link IOCARD_OUT, Device 1, Output 07 //
//var 0606, Link IOCARD_OUT, Device 1, Output 06 //
//var 0605, Link IOCARD_OUT, Device 1, Output 05 //
//var 0604, Link IOCARD_OUT, Device 1, Output 04 //
//var 0603, Link IOCARD_OUT, Device 1, Output 03 //
//var 0602, Link IOCARD_OUT, Device 1, Output 02 //
//var 0601, Link IOCARD_OUT, Device 1, Output 01 //
//var 0600, Link IOCARD_OUT, Device 1, Output 00 //
Prosim does the rest of the work for me... so, to reiterate , .. what do you have connected to your PC? Mastercards, just the USB card?
What do you want to do with the LEDS?