Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello, I have a naive question that is bugging me:

 

I am assigning Saitek switches as toggle commands in FSUIPC (I am using SPAD to convert the physical switch to a virtual button to be transferred into FSUIPC).

All good, except I never understood what the "parameter" field in FSUIPC means for a toggle command (for example, light on/off or fuel pump on/off, etc).

Should I bother, or just ignore it?

I tried "1" and "0" and I don't see any difference in the switch behaviour.

 

Do toggles even have parameters in FSUIPC?

 

The real reason I am looking into this, is that when I start dark&cold and switch battery on through Saitek panel, a number of switches suddenly go ON in the cockpit (battery as well), even if they are in OFF position on Saitek panel...

This does not happen if I use the mouse in VC to switch battery on, so it has to do with SPAD or FSUIPC.

 

Any insight, please?

Many thanks!

Posted

Do you use any micro controller for it... Or any c++ or vb.net application.....? and what kind of aircraft do you want to control ...?

 

perhaps i can help you if you can answer  above...because of ( parameters are varied according to aircraft , very special for pmdg. airbus x.. etc.)

Posted

Do you use any micro controller for it... Or any c++ or vb.net application.....? and what kind of aircraft do you want to control ...?

 

perhaps i can help you if you can answer  above...because of ( parameters are varied according to aircraft , very special for pmdg. airbus x.. etc.)

 

no microcontrollers, no other applications.

Just plain old Saitek hardware, SPAD software and FSUIPC4 (latest version, paid).

Aicrafts: Cessna 172 and Piper Cherokee from A2A

 

Thanks

Posted

'Toggle' by definition does not require a parameter. Just use 0 or 1....your choice. If you use SET, then you need to specify a parameter to pass along. Other conditions such as CYCLIC will also require a parameter.

 

I suggest you study the Advanced Users PDF file that comes with the FSUIPC4 installer. I think you will find it in the Modues\documentation folder. At least that is where mine is but I am on my traveling laptop at the moment and

can't give you exact details.

 

 Paul

Posted

'Toggle' by definition does not require a parameter. Just use 0 or 1....your choice. If you use SET, then you need to specify a parameter to pass along. Other conditions such as CYCLIC will also require a parameter.

Got it. Many thanks!

  • 3 years later...
Posted
4 hours ago, mike stout said:

How do you set parameters for a 3 way switch.???

How do you control the switch in the first place? In other words, "parameters" for what? 

Pete

 

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.