Panic Button input device - how to..

  • Thread starter Thread starter Fred Heida
  • Start date Start date
F

Fred Heida

Hi,

I have a USB Panic Button device.. but how i can now from my program
interact with this device? i.e how or what do i need to register for to get
notified when the 'button' gets pressed??

any help appriciated!

Regards,
Fred
 
Hi,

I have a USB Panic Button device.. but how i can now from my program
interact with this device? i.e how or what do i need to register for
to get notified when the 'button' gets pressed??

any help appriciated!

In general, you need to discover if the device is hooked up before you
can handle input from the device. Worst case here is checking the
registry.

Assuming you have already conquered the above, you need to know what the
device actually sends to the computer. This should be found in the
manual that comes with the device.

Most likely, you are either a) waiting for an event to happen (and the
device most likely has a driver that raises the event) or b) you are
listening for input on a specific port (serial port emulation, most
likely).

In each of these cases, the Panic Button manufacturer should be able to
guide you to how the button works. If you can find this information and
post it, someone can tell you what to do in .NET. If not, we are all
just shooting fish in the dark.

peace and grace,



--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
What information did you get from the manufacturer of the device? In
general, there would be an API furnished with it, if they intend that you
interact with it from programs that you write. Some devices that install as
HMI (you can view your actual installed device via Device Manager in Control
Panel) might also be candidates, even if the manufacturer provides no
information. However, there isn't a "one-size-fits-all" answer.

Dick

--
Richard Grier (Microsoft MVP - Visual Basic) Hard & Software 12962 West
Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage:
www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial
Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July
2004, Revised July 2006.
 
Hi Gregory and Dick,

thx for your response.
I should have indeed looked a bit closer on the cd and notice the dll
TenxHID.dll

i found a good artical on http://pastebin.com/f3de7bfa6
that described the calles the can be made.

Cheers,
Fred
 
Back
Top