LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to capture keystrokes from a usb keyboard on an RT box?

I have a motor connected to an RT box through the RS232 port and I want to be able to step it with a USB keyboard attached to it. Is this possible?
CLED (2016)
0 Kudos
Message 1 of 7
(3,384 Views)

Hi InfiniteN…,

i think it's possible if you have a keyborad driver for your RT box. If your RT box has a n Ethernet connection to another pc, then you can send TCP/IP packages and control your motor from there.

 

Hope it helps.

Mike

Message 2 of 7
(3,369 Views)

Yes, the latter option (TCP/IP) would certainly work but that would involve purchasing another computer.

 

Please explain the RT driver option.

 

I was also considering a USB RAW through visa possibility.

CLED (2016)
0 Kudos
Message 3 of 7
(3,361 Views)
Thread bump. Should I assume it is not possible to capture keystrokes from a USB keyboard directly attached to the RT box?
CLED (2016)
0 Kudos
Message 4 of 7
(3,331 Views)

Maybe they are quite hard to find but a serial keyboard would be much easier

But I don't know the USB support in Visa for RT, maybe you can get the raw USB stream and read it from there.

 

Ton

Message Edited by TonP on 12-19-2008 07:29 PM
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 5 of 7
(3,327 Views)
I need the serial port for sending motor comands 
CLED (2016)
0 Kudos
Message 6 of 7
(3,315 Views)

Hi InfiniteNothing,

 

Right now, the USB port can only be used for storage.  Unless your RT box has an additional serial port, you will be unable to use the keyboard.  Again, developing a host VI to control the motor is your best bet even though that requires a second pc.  For applications such as yours, filing product suggestions here (http://digital.ni.com/applications/psc.nsf/default?OpenForm) will ensure that future versions can support these features.

 

0 Kudos
Message 7 of 7
(3,270 Views)