Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 2
  • *Guests: 52
  • *Total: 54

Our Discord

WORLDFLIGHT 2018 - TEAM USA SUPPORTERS (HERO'S)


We would like to thank our HERO'S for Donating to support WORLDFLIGHT Team USA - 2018

-Sam LLorca, Fred Kurasiewicz, Ray Sotkiewicz, Warren Soeldner  -
  -
Kyle Hathaway, John Miller, John Combs, Karen Combs, Mick Cliffe, John Ziegler, Vincent Thomas -
- Roy Stewart, Joe Lavery, Dr. Steve Eisenberg, Les Barwick, Doug Snow, Greg Hembree -
- James Williams, Edwin Burton Jasper Koelewijn, James Twomey, John Skibo, Trevor Hale -

- Jason Garrett, Scott Wegner, Frank Radl, Ryan O'Keefe, David Bullock, Bob Reed, Don Emersoln, Lisa Lopez-Floriano -
- Shawn Hathaway, Jason Lohrenz, James Reilly, William McSwain David Otey, Mike Sherick -


Ruscool Electronics Intercom #1 - Won by GyverX
Ruscool Electronics Intercom #2 - Won by dj_Boelie
Ruscool Electronics Intercom #3 -Ryan O'Keefe
Geetech A10 3D printer - James Twomey

Thanks to all of you, You all made Worldflight 2018 a success..
Because of all you wonderful people we raised a total of:

$4,100.00 USD


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

Offline mgovernali

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


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

For sale! B737 home cockpit - mostly OEM parts!
by Flightdeck57
[Today at 01:30:16 PM]
The Progression of a build [Phase One]
by jpomales67
[Today at 01:27:31 PM]
B737 MIP and Overhead gauges
by csp
[Today at 10:25:31 AM]
737-800 Arduino X-Plane Build
by kurt-olsson
[Today at 08:46:30 AM]
What have you done for your simulator today?
by navymustang
[November 19, 2018, 06:14:09 PM]
Boeing 737-800 NG Wet Compass -1:1 Replica (P3D, Xplane, FSX)
by Reensel
[November 19, 2018, 04:04:32 PM]
Goflight 166 radios and power issue
by Steenos
[November 19, 2018, 12:44:19 PM]
Join me on Vatsim Tonight
by Trevor Hale
[November 18, 2018, 02:00:41 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Extraterra
[November 18, 2018, 07:54:30 AM]
WARNING do not trade with Flyengravity
by fairchild
[November 17, 2018, 12:35:28 PM]
95% finished Diamond DA62 build
by Bob Reed
[November 17, 2018, 09:19:13 AM]
P3dV4 install to F:
by Ed
[November 17, 2018, 06:54:54 AM]
6 Years already
by blueskydriver
[November 16, 2018, 03:02:47 PM]
For Sale Saitek modules, Commercial Package, Rrice Reduce
by fairchild
[November 16, 2018, 01:10:09 PM]
CockpitSimParts 737 MIP & FWD OVH
by Bob Reed
[November 16, 2018, 10:09:42 AM]
Updating Navigraph FMC Data - Project Magenta / ProSim
by Bob Reed
[November 16, 2018, 09:39:55 AM]
New supplier for your sim
by Fcoq
[November 15, 2018, 07:34:05 PM]
Honeywell 737 ISDU Unit - Pinout for Canon Plugs
by mickc
[November 15, 2018, 06:12:59 PM]
Notice to those who won the intercoms from Ruscool during Worldflight 2018
by RayS
[November 14, 2018, 06:28:58 PM]
B737 Desktop sim project
by archen
[November 14, 2018, 03:48:11 PM]
Keep losing both engines and all power. Help
by mdavenport
[November 13, 2018, 04:15:35 PM]
For Sale-Real Cockpit Gauges...
by blueskydriver
[November 12, 2018, 09:16:00 PM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by blueskydriver
[November 12, 2018, 09:09:08 PM]
Rudder trim
by Mach7
[November 12, 2018, 07:54:17 AM]
WorldFlight - CockpitBuilders DAL209 Progress
by Trevor Hale
[November 11, 2018, 11:32:12 AM]
WorldFlight - CockpitBuilders UAL1120 Progress
by dougsnow
[November 11, 2018, 11:08:19 AM]
CP Flight Selcal - How does it work
by ZK CWD
[November 10, 2018, 11:51:31 PM]
Ruscool stereo intercom com units for sale
by ZK CWD
[November 10, 2018, 11:07:11 PM]
HELP windows 10
by kenrowe
[November 10, 2018, 10:16:52 AM]
Solidworks Veterans Discounts
by Joe Lavery
[November 09, 2018, 06:00:32 PM]