Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 36
  • *Total: 36

Our Discord

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

Offline mgovernali

  • Forum GURU
  • *
  • Posts: 53
  • 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: 64
  • 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: 53
  • 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

John's List of 3D Printed Items for Flight Simulation
by blueskydriver
[September 21, 2018, 09:19:24 PM]
For Sale - FSC Motorised Throttle Quadrant
by KyleH
[September 21, 2018, 09:18:02 PM]
OEM Throttle Quadrant Conversions?
by KyleH
[September 21, 2018, 09:13:04 PM]
Memphis 727 Build
by dougsnow
[September 21, 2018, 07:41:20 PM]
Just to make sure i am not doing anything stupid
by kurt-olsson
[September 21, 2018, 01:57:12 PM]
737-800 Arduino X-Plane Build
by kurt-olsson
[September 21, 2018, 01:42:00 PM]
What have you done for your simulator today?
by bernard S
[September 21, 2018, 09:01:26 AM]
My project, 737 in the basement.
by mickc
[September 21, 2018, 05:48:19 AM]
Where do i begin from here.
by mickc
[September 21, 2018, 05:46:45 AM]
New guy intro and 727 cockpit for X-Plane project start
by Flying_Fox
[September 19, 2018, 05:06:50 PM]
Flying Polar Routes
by jackpilot
[September 18, 2018, 12:07:33 PM]
STEERING AND YOKE 737 PROMO
by navymustang
[September 17, 2018, 03:44:39 PM]
Monitor and keyboard arm
by navymustang
[September 17, 2018, 03:43:17 PM]
With 60 Days Left, We have a plan
by FredK
[September 17, 2018, 11:08:58 AM]
For Sale: CPFlight MCP 737 EL $400 USD Shipped Lower 48
by Steenos
[September 17, 2018, 11:01:18 AM]
INTRODUCTION
by bernard S
[September 15, 2018, 07:10:49 PM]
Wanted Pair of Headrests of this type!
by bernard S
[September 15, 2018, 06:43:09 PM]
Some Questions about Project Magenta CDU
by Pantu
[September 15, 2018, 10:35:41 AM]
GAPanel/FSUIPC coding
by sedge
[September 14, 2018, 02:22:31 PM]
Wanted! Real Boeing 737 TQ
by kurt-olsson
[September 14, 2018, 04:24:57 AM]
OEM window eye brow trim
by kurt-olsson
[September 14, 2018, 04:22:20 AM]
Linked Brakes
by blueskydriver
[September 14, 2018, 03:12:26 AM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[September 13, 2018, 09:23:22 AM]
CDU hidden fire page
by Pantu
[September 12, 2018, 01:25:24 PM]
737NG parts for sale, most are REAL!
by 737NGer
[September 12, 2018, 11:22:50 AM]
A320 Sound (for homecockpit)
by okansacli
[September 12, 2018, 10:07:03 AM]
SIOC Stepper Help
by okansacli
[September 12, 2018, 10:00:11 AM]
Boeing 737-800 Next Generation Simulator
by blueskydriver
[September 12, 2018, 04:41:07 AM]
Monitor setup - mixing screen sizes
by Flying_Fox
[September 11, 2018, 10:25:53 AM]
Polar routes P3D
by Joe Lavery
[September 10, 2018, 07:19:55 PM]