Jump to content
Sign in to follow this  
maggsy63

Aerosoft Axxx series OVH panel toggle or on/off

Recommended Posts

I am Struggling to understand the module logic if somebody could shed some light on why one action works for one assignment and yet not another and yet 

 can I assign  a latched switched to a Fuel pump to be on when pressed and off when released ( pressed again to let it spring out) a simple state on or off

however 

I can only use the Toggle state for the same style switches wen I assign to Gen, Eng  Bleed, anti ice wing and eng  APU master SW and APU start,  if I use on  and off they cycle after a few seconds if the switch is pressed  from  and off position to an on position (latched) they correctly register as on but then promptly go off  on pressing the button again to what should be the unlatched position ( logically OFF) they register on and then promptly cycle to off. 

all the assignments work in the sim except some have to be assigned a toggle and some can use the on/off

All switches are being run through a leo bodnar  I/O board

If anyone can shed some light on this phenomena

Regards

Steve 

Share this post


Link to post
Share on other sites

Hi Steve

I will see if I can help with your problem. LINDA responses to a change in state of any device buttons or switches. LINDA reacts to the OnPress (make), OnRepeat and OnRelease (break) state changes.

For momentary buttons (one that is ON when pressed and OFF when released) you should use the TOGGLE function assigned to the OnPress action. This will normally test for the current state of a button and toggle from on-to-off or off-to-on accordingly.

For switches or latching buttons (stays on or off depending on position) you need to assign the ON function to the OnPress action and the OFF function to the OnRelease action. The state will be 'latched' until you change it.

For buttons that are held pressed by the user (i.e. engine start or view zoom in/out) you need to assign the ON function to the OnPress and OnRepeat actions. The OnRelease action is normally left unassigned unless you want something else to happen when you release the button.

Ideally, you should not rely on OnRepeat for a long period as this means LINDA will constantly call a function and this will degrade performance.

I hope this helps your understanding. Please come back if you have further questions.


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...