• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

FSUIPC key press commands for magnetos

Obie311

Charter Member
Like a blind pig trying to find a truffle, I stumbled around trying to set up key press commands in FSUIPC so I could do mag checks during runup. I have implemented a fair amount of FSUIPC control but it was mostly "monkey-see, monkey-do" implementation not really understanding what was happening under the hood. I have the mind and aptitude of a 19th century blacksmith not a 21st century coder. I did the **** thing and read the Advanced Users Guide but it too was way over my head.

I thought a key press like TAB+1 might be good to switch the LEFT Mag OFF. I found some good commands that I thought might work but I never hit on the right combination.

What should I have put in the "Control sent when key pressed" window? What should I specify "Control sent when main key released" window to return to BOTH mags ON after switching off the LEFT mag? The parameter window confused me as well. Was "0" off, or was "0" on. Are there more parameters than 0 and 1?

Can any of the brilliant minds on this board give me the implementation for the commands to switch mags OFF-ON-BOTH so I can do a proper runup?

:dizzy:
Obie
 
Just a thought, it may cost a little bit of time (& money).

We are using this.. http://www.leobodnar.com/shop/index.php?main_page=product_info&products_id=180
Product Description


A USB joystick interface board with simple push in wire connectors to connect buttons, potentiometers, sensors, rotary encoders and switches to a PC or Mac.
Build your own gaming device, whether it be a flight panel, button box, pedals, joystick, robot controls and more......the list is limited by your imagination.

Also suitable for converting gameport devices or connecting real life controls to turn them into a USB device suitable to be used by almost any simulation or game software without the need of installing any drivers.

What we have done is to make up a simple switch panel box, connected by the above to the PC, & using FSUIPC key & button presses. This saves a lot of keyboard button presses & trying to remember what key does what. It gives you 30 additional buttons/switches to use, & obviously increases immersion in the sim. You can set up a button box with banks of buttons/switches to do any of the FSUIPC button presses.

Just an idea.( & VERY simple to setup) Your PC see's the board as a joystick, with many switches.
 
Fsuipc - mag check

Obie,

Here you go.. 2 versions, tested on the stock 172. The first does a cycle through; OFF - RIGHT - LEFT - BOTH (NOT START) & continues to cycle on each TAB-1 push. The problem with this one is running into OFF.. A very quick TAB-1 will get the engine back running.

OFFSETS - (for other engines)
x0892 = Eng 1
x092A = Eng 2
x09C2 = Eng 3
x0A5A = Eng 4

PARAMETER - (For Offset Word Cyclic Dec)
3/1 = decrease by 1 with 3 being the max value

0=Off, 1=right, 2=Left, 3=Both, 4=Start

VERSION 1

attachment.php


The second version is designed specifically for mag testing on runup. On TAB-1 it turns OFF the left magneto to check the right, on TAB-1 release it will return to BOTH. On TAB-2 it turns OFF the right mag, on TAB-2 release it will return to BOTH.

CONTROL SENT - (For other engines, parameters remain the same)
Magneto1 Set = Eng 1
Magneto2 Set = Eng 2
Magneto3 Set = Eng 3
Magneto4 Set = Eng 4


VERSION 2a - TAB-1, Left OFF, Check right mag

attachment.php


VERSION 2b - TAB-2, Right OFF, Check left mag

attachment.php


NOTE - If the modeller or gauge creator has custom code within the aircraft this, and the coding may "fight" with each other.. Nothing can be done about it.
 

Attachments

  • TEST_RIGHT_MAG.jpg
    TEST_RIGHT_MAG.jpg
    121.1 KB · Views: 1
  • TEST_LEFT_MAG.jpg
    TEST_LEFT_MAG.jpg
    122.7 KB · Views: 3
  • OFF_LEFT_RIGHT_BOTH.jpg
    OFF_LEFT_RIGHT_BOTH.jpg
    124.2 KB · Views: 1
Thanks Roman!!! This is exactly what I was looking for. I went with version 2 and implemented it for Singles and Twins.

It works like a champ for me. I don't have to swivel my view (no TrackIR) to look for the mag switches. I just keep looking at the tachometer and watch the RPM's drop as I short out the mags. Very cool.

Obie

PS: With "Spokes" as your screenname, any chance you are a motorcycle rider?
 
PS: With "Spokes" as your screenname, any chance you are a motorcycle rider?

Yes at one time - YZ125, RM125/465, CR250/500. Now in wheelchair (hence "spokes") due to racing, still love the sport though. Still do quite a bit of mechanical repairs on bikes / ATVs / sleds etc..


Thank You Daveroo & yes, it's what it's all about.
 
Back
Top