Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 58
  • *Total: 60

Our Discord

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

Offline mgovernali

  • Forum GURU
  • *
  • Posts: 48
  • Karma: +0/-0
  • 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 »

Offline Atomic_Sheep

  • Forum GURU
  • *
  • Posts: 58
  • Karma: +0/-0
  • Aviation Enthusiast
  • First Name: Dmitry
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: 48
  • Karma: +0/-0
  • 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

 

COUNTDOWN TO WF2018


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

Move Project Magenta From FSX to P3D Full cockpit
by ScottThePilot
[Today at 01:40:29 PM]
How to turn all MIP LCDs on at once?
by jackpilot
[Today at 01:17:53 PM]
SOLD!! Real Aircraft Cannon Plugs
by bernard S
[Today at 11:14:56 AM]
FlightControlReplay v4 OUT NOW (with also Re-Live and Video Render features!)
by karijno
[Today at 08:00:12 AM]
Software Interface
by Bob Reed
[July 15, 2018, 07:42:31 AM]
Looking for this!!
by Caflyt
[July 14, 2018, 10:35:37 AM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by blueskydriver
[July 14, 2018, 06:32:03 AM]
ACE - Officially buyer beware
by fordgt40
[July 14, 2018, 05:00:33 AM]
737NG Simulator DOWN!
by jmlohrenz
[July 13, 2018, 01:48:28 PM]
Two new 19" for my PDF and ND. Check before buy
by kurt-olsson
[July 11, 2018, 12:59:26 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[July 11, 2018, 10:43:02 AM]
What have you done for your simulator today?
by RayS
[July 10, 2018, 01:57:31 AM]
Bought a FSC.IT Throttle on ebay (Question)
by iwik
[July 09, 2018, 04:45:50 PM]
Aerosoft MCP
by jackpilot
[July 09, 2018, 02:26:51 PM]
P3D WideView vs P3D SimConnect cleint/server configuration
by FredK
[July 09, 2018, 10:22:58 AM]
Post Your Pit!!!! 1000 Member Show and Tell
by Trevor Hale
[July 09, 2018, 09:40:59 AM]
3D printers
by Bob Reed
[July 08, 2018, 05:54:51 PM]
Boeing 737 OEM 4xAFDS, 3x CDU and 1 HUD with combiner and others
by fly_ebos
[July 08, 2018, 07:27:28 AM]
Wanted: ATC and ADF pedestal modules
by jmlohrenz
[July 06, 2018, 09:37:54 PM]
Trying to Source Garmin 430 Parts...
by RayS
[July 06, 2018, 08:24:39 PM]
737 parts for sale!
by Ed
[July 06, 2018, 07:29:31 AM]
737 Max
by sacrayton
[July 05, 2018, 04:04:14 PM]
P3D4.3 viewgroups
by Bob Reed
[July 05, 2018, 12:48:42 PM]
CPFLIGHT GEAR FOR SALE
by Mark737800
[July 04, 2018, 12:56:21 AM]
Labeling Buttons
by iwik
[July 03, 2018, 08:16:59 PM]
Potentiometer 10k 1,5 turns, where?
by kurt-olsson
[July 02, 2018, 06:05:38 PM]
Voice control
by luisgordo
[July 02, 2018, 01:24:07 PM]
JETMAX THROTTLE AND STAND FOR SALE
by jmdhwy
[July 02, 2018, 12:17:13 AM]
Opencockpits boards for sale
by pierclav
[July 01, 2018, 10:26:16 PM]
Left trim up/down wires OEM yoke
by kurt-olsson
[July 01, 2018, 03:23:05 PM]