Jump to content
The simFlight Network Forums
Sign in to follow this  
Kermit_70

Parameter values for toggle switches?

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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.)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

'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

Share this post


Link to post
Share on other sites

'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!

Share this post


Link to post
Share on other sites
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

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

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