PDA

View Full Version : One function on make - different on break?



JBaymore
09-05-2008, 02:39 PM
OK... I might be dumb here .... but is it possible in FS2Phidget to make a digital input send (activate) one thing when the switch is made....and a different thing when the switch is then broken?

best,

...................john

mauriceb
09-05-2008, 05:15 PM
OK... I might be dumb here .... but is it possible in FS2Phidget to make a digital input send (activate) one thing when the switch is made....and a different thing when the switch is then broken?

best,

...................john

Assuming it could be done (and I don't think it can), why would you want to do that? Doesn't that mean that the second function assigned to switch open, would always be dependent on the first function assigned to switch close having activated & then deactivated?

I assume then that this would likely have to be a momentary switch so that the functions could be more or less simultaneous. In that case, why not just assign one switch to do 2 functions when the switch is closed and that certainly is possible.

Anyway, what is it exactly that you are trying to do? Perhaps there is another way of doing what you want to do.

Maurice

CocnutAir
09-07-2008, 12:16 AM
Is this for a Lear jet?

TasKiNG
09-07-2008, 07:01 AM
I don't know anything about FS2Phidget but you could easily do this using a joystick button, as the option of assigning a different function to make and break is available in FSUIPC.

Cheers

CocnutAir
09-08-2008, 02:16 AM
John,

Let me attempt to summarize what you are looking for, and please correct me if I am way off the path.

You have an encoder updating, say autopilot V/S, and when a digital input is pressed you want the same encoder to update, say, autopilot altitude instead?
i.e. pressing digital input will toggle functionality of an encoder or sensor?

Regards,
Alan.

JBaymore
09-08-2008, 08:28 AM
Alan,

Hi. Sorry it took a bit to get back to you.

What I want is that if a SPST toggle switch is in one position ("off) a certain parameter in the sim is true, when the switch is set to "on" a different paremeter in the sim is true. THEN when I turn the switch back to "off", I want it to revert to the original value......... not need another switch or addtional pole of the switch (and hence additional input and wiring) to put things back where they were.

I can easily do this stuff with my Hagstrom card.....but where I want to go with this the keypresses won't easily go without adding a bunch of FSUIPC intermediary steps. Whan to do this a "cleanly" as possible.

Hope that helps.

best,

..................john

CocnutAir
09-08-2008, 11:37 AM
John,

What parameters were you refering to? I ask because I like to test solution on my system to make sure it works before replying.

Regards,
Alan.