require assistance with a gauge that upon weight on wheels, changes the switch state of a clickable/assignable event.
I have USB interface hardware and software that activate SPDT relays upon changing of switch positions, selectable by either a real switch or by mouse click on a screen panel.
My need now is to make the 'weight on wheels logic' assignable to one of these switchable events (any event that is common with the USB interface, so any unused FS function would be placed as this 'logic marker'.
I have simulator (750kg) which utilises real gear handle selector with ground up lock-protection. I have previoulsy removed this soleniod activated lock. Now desire to re-install this lock out which prevents selecting wheels up when the aircraft is still on the ground.
The FS2004 switch function to USB controlled relay is down is tried and true.
I need to assign a pure logic derived value (weight on wheels or not) to an FS2004 switch function, using this function as a mask for functionality sake.
ie, my quest is when the aircraft is off the ground, my USB interface will drive the release solenoid of the gear select handle so 'gear up' can be selected.
I am going through FS2004 main gear contact points which drive the touchdown sounds, and also looking at modifying a radar alt guage to change state of a panel switch function.
Am going through FS2004 SDK in entirity, and also XML tutorials.
Have programmed BASIC, Cobal, Fortran, Pacsal, Hexadecimal in previous University years , although 20 years ago now.
XML will be way to go, though taking time to locate suitable donor coding to edit an existing file.
Anyone with pointers or illumination welcome for feedback.
Cheers
Shane
Licensed aircraft engineer (Fixed wing, rotary wing, turbine, Hi-capacity)
I have USB interface hardware and software that activate SPDT relays upon changing of switch positions, selectable by either a real switch or by mouse click on a screen panel.
My need now is to make the 'weight on wheels logic' assignable to one of these switchable events (any event that is common with the USB interface, so any unused FS function would be placed as this 'logic marker'.
I have simulator (750kg) which utilises real gear handle selector with ground up lock-protection. I have previoulsy removed this soleniod activated lock. Now desire to re-install this lock out which prevents selecting wheels up when the aircraft is still on the ground.
The FS2004 switch function to USB controlled relay is down is tried and true.
I need to assign a pure logic derived value (weight on wheels or not) to an FS2004 switch function, using this function as a mask for functionality sake.
ie, my quest is when the aircraft is off the ground, my USB interface will drive the release solenoid of the gear select handle so 'gear up' can be selected.
I am going through FS2004 main gear contact points which drive the touchdown sounds, and also looking at modifying a radar alt guage to change state of a panel switch function.
Am going through FS2004 SDK in entirity, and also XML tutorials.
Have programmed BASIC, Cobal, Fortran, Pacsal, Hexadecimal in previous University years , although 20 years ago now.
XML will be way to go, though taking time to locate suitable donor coding to edit an existing file.
Anyone with pointers or illumination welcome for feedback.
Cheers
Shane
Licensed aircraft engineer (Fixed wing, rotary wing, turbine, Hi-capacity)