Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 65
  • *Total: 67

Our Discord

Author Topic: Any way to make a keyboard key pause an external device?  (Read 442 times)

Offline mgovernali

  • Forum GURU
  • *
  • Posts: 54
  • Aviation Enthusiast
  • First Name: mark
  • Home Location: calgary
Any way to make a keyboard key pause an external device?
« on: June 09, 2018, 11:41:20 PM »
Hello You Guys., I am updating a customer's heli sim. Premise: I need to find a way to map a key on the keyboard ( i.e. the "P" Key) which would pause the sim (that's easy of course) but also simultaneously cut the power to an external device. More in depth: The Sim has a timer/hour counter (powered by a molex connection from the pc) which must start counting when the sim is running - and pause counting when the sim is paused. So I need the 2 actions (Sim pause and timer counting) to work simultaneously. I was thinking to use a Double Pole double throw mini toggle switch (see picture). Wire one side to interrupt the power from reaching the counter, and the other side to a Leo bodnar card mapped to pause the sim via fsuipc. That should work in theory, what I am not sure is can the switch be on the on position and cause the sim to pause or can you only pause the sim with a momentary push button? or any other ideas would be very much appreciated. Thank you everyone.
Marco.  :idiot:
« Last Edit: June 10, 2018, 12:05:13 AM by mgovernali »

Atomic_Sheep

  • Guest
Re: Any way to make a keyboard key pause an external device?
« Reply #1 on: June 10, 2018, 05:43:14 AM »
Seems like a good way of doing it. I think it should work. I guess to test just try and press the pause button and if it doesn't start pausing and unpausing really quickly, you're fine to use a toggle switch.
« Last Edit: June 10, 2018, 05:43:52 AM by Atomic_Sheep »

Offline mgovernali

  • Forum GURU
  • *
  • Posts: 54
  • Aviation Enthusiast
  • First Name: mark
  • Home Location: calgary
Re: Any way to make a keyboard key pause an external device?
« Reply #2 on: June 10, 2018, 03:23:18 PM »
Thank you Dimitri. I had a hard time sleeping last night because I was thinking about how to implement this LOL> And I actually realized that the switch needs to be a 3 position switch, On-Off-On. Otherwise, depending on the switch position the sim is started at, it could end up pausing the sim on either position. So with a 3 way switch, the sim would always be started in the center (off) position, then it would be moved down to the sim paused - counter off position, then to the up position sin on - counter on position. Then when finished, the switch would be moved to the middle position once more. I guess the only thing I can't remember right now is: can fsuipc be told to pause the sim while the switch stays on the on position, in other words, can a toggle switch be made to give a momentary command? I think it can, because in my own sim, I have toggle switches on the f 747 fuel control panel which engage the stabilizers on or off via a toggle switch, I believe each command has a "once" or a "continuous" option. Can you guys please comment on this? Much appreciated. Marco

 

FlightSimExpo 2019

FsExpo

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

For Sale: Jetmax 737 TQ - Texas, USA
by co735
[Today at 11:37:19 AM]
FSUIPC 5 Button Limitations
by GyverX
[February 18, 2019, 05:33:55 PM]
What have you done for your simulator today?
by bernard S
[February 18, 2019, 05:15:19 PM]
Operating System Blues
by Joe Lavery
[February 18, 2019, 02:47:27 PM]
Virtual FO software
by fsaviator
[February 18, 2019, 02:36:20 PM]
Join me on Vatsim Tonight
by Trevor Hale
[February 17, 2019, 01:48:52 PM]
Throttle
by 727737Nut
[February 17, 2019, 09:14:54 AM]
737 NG Throttle Levers
by mickc
[February 17, 2019, 05:02:01 AM]
For sale: A set of faceplate panel for pedestal
by mickc
[February 17, 2019, 05:01:07 AM]
FlyAB Simparts: A new supplier for your OEM needs
by Trevor Hale
[February 16, 2019, 10:51:54 PM]
B737-800 Flight Sim for sale $85,000.00
by Rob_b
[February 16, 2019, 12:47:11 AM]
PC upgrade-build-or buy advice??
by iwik
[February 15, 2019, 06:47:11 PM]
Which Processor i7 - 8700K or i7 - 9700K
by Joe Lavery
[February 15, 2019, 05:39:06 PM]
Anyone seen OEM 737-900 ER Throttle Quadrant?
by Fly_AB
[February 15, 2019, 10:32:18 AM]
For Sale: P&P Opencockpit VHF, Transponder, and ADF
by Fly_AB
[February 15, 2019, 09:08:24 AM]
737 DIY MIP For Sale
by Trevor Hale
[February 14, 2019, 11:03:35 AM]
New supplier for your sim
by Fcoq
[February 14, 2019, 12:18:44 AM]
For Sale Prosim 737 v2.03 License
by mdavenport
[February 12, 2019, 04:00:00 PM]
Complete 737-800 cockpit - moving sale
by navymustang
[February 10, 2019, 12:50:48 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[February 10, 2019, 09:31:17 AM]
Revolution Simproducts out of business?
by fsaviator
[February 09, 2019, 12:18:30 PM]
For sale: CPFlight MIP737SE
by Fly_AB
[February 08, 2019, 11:29:26 PM]
For sale: Engravity sixpack pairs --- SOLD
by Fly_AB
[February 08, 2019, 08:32:04 PM]
German B738NG Homecockpit-Projekt
by MjTom
[February 08, 2019, 08:00:54 AM]
Updating Navigraph FMC Data - Project Magenta / ProSim
by Trevor Hale
[February 08, 2019, 07:41:50 AM]
737 Demonstrator For Sale
by Trevor Hale
[February 08, 2019, 07:39:34 AM]
Looking for B737NG or A320 SIM for Home Use
by KingAviation
[February 08, 2019, 03:17:35 AM]
Zibo 737 FlightControl Dataref/Commands
by kurt-olsson
[February 05, 2019, 05:34:35 PM]
Wrong hiegth above ground when landing and P3D set for Panel Only
by FredK
[February 05, 2019, 12:58:20 AM]
Flight Control Panel A Side
by kurt-olsson
[February 04, 2019, 04:34:38 PM]