rozel

FSUIPC Analog Axis to Send Signal to Linda

Recommended Posts

 

 

 

Hi All,

I have completed a control panel with potentiometers and switches using a Leo Bodner controller for the A2A Comanche. Using Linda and FSUIPC it is working ok.

 

But I have a linear pot (axis) that I planned to use to operate the fuel primer, after skimming over the FSUIPC Manual it wasn’t apparent to me how to do this.

 

I am able to use an axis to control flaps position using FSUIPC.

 

My goal is to move the pot the full extend position to full retract position and have FSUIPC send a signal to Linda to activate the fuel primer for each cycle of the pot.

Can this be done?

I presently activate the fuel primer with a switch.

 

Thanks for looking at this.

 

Rozel

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi Rozel

As I am sure you are aware LINDA is good for dealing with discrete button pushes (on/off). All axes have to be handled by FSUIPC. I don't know of a way for FSUIPC to convert a position into a discrete event for LINDA to handle.

The only way I can suggest is to write a LUA function that monitors the primer state and then triggers the switch. This function would need to be placed in the aircraft's user.lua and inside a timer so that it is checked regularly (1Hz) or called by an event triggered by a change to a Lvar. 

 

Share this post


Link to post
Share on other sites

Hi Andrew,

Thank you for your reply. I think using a switch is my answer. And.....save myself some head banging.

Rozel

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