Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Host to PC through USB

Hi,
     I got one requirement to develop a program in LabWindows to display messages received by PC slave from a host device through USB interface? Here my PC should act as slave and the UUT(Unit Under Test) will act as host. I would be basically getting some text messages from host device. Any help would be highly appreciated. Thanks in advance....
0 Kudos
Message 1 of 5
(3,658 Views)

Hi,

You will need to use NI-VISA to communicate with USB.  The USB Instrument Control Tutorial should help you get started on your application. 

Thanks,

Meghan
Applications Engineer

 
0 Kudos
Message 2 of 5
(3,639 Views)
Thanks for your valuable guidelines.I am thinking to make a Host to Host communication through USB ports using PC Link cables. The thing I am not clear is NI VISA would support these link cables or not. I could know that these cables have specific driver of its own for Windows/Linux. Also please note that my Test PC is running under Windows XP and UUT is running under Linux. If VISA supports some specific cables, would you please mention those cables? Thanks in advance

Message Edited by 12345qwertt on 10-14-2007 08:03 PM

Message Edited by 12345qwertt on 10-14-2007 08:05 PM

Message Edited by 12345qwertt on 10-14-2007 08:05 PM

Message Edited by 12345qwertt on 10-14-2007 08:13 PM

0 Kudos
Message 3 of 5
(3,633 Views)
 

Hi,

National Instruments hasn't tested specific USB PC link cables, but these cables should still work with NI-VISA.  Please note that there are separate NI-VISA downloads for Linux and Windows XP.  The most recent version of NI-VISA is version 4.2.

Regards,

Rima

Rima H.
Web Product Manager
0 Kudos
Message 4 of 5
(3,596 Views)

12345qwertt,

You might be better off trying to interface to the driver provided by the vendor of your link device. In order to get VISA to work, you will have to obtain some pretty low level information from the vendor in order to get the VISA USB RAW commands. If the vendor has a dll with a documented api, then you would use the Call Library Function Node.

0 Kudos
Message 5 of 5
(3,589 Views)