• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 weight on wheels ouput

Messages
1
Country
australia
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)
 
This is the sim's version of weight on wheels:

(A:SIM ON GROUND,bool) 1 ==

Note that this variable is only "true" when the main gear wheels are on the ground.
 
Back
Top