LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote testing of USB Peripheral Communications

There are products that do USB loopback testing or do USB diagnostics from a DOS mode boot. If I could run a utility from a DOS prompt that provided diagnostics I could parse that'd be better. Microsoft also has a utility USB View which sounds promising, but it provides status with screens and nothing parseable from what I can tell.

 

My challenge is to connect to an embedded system's various USB ports from the host PC conducting the tests and determine whether each of the ports is working. I need something more like an API that I can call functions from within LabView and determine programmatically whether each port is functioning. Sending some simple commands with responses would be enough. Has anyone any ideas on whether this could be done from LabView or am I facing some lengthy API function calling to accomplish this? Other approaches are also worth considering if they meet my limitations.

0 Kudos
Message 1 of 3
(2,750 Views)

How about plugin a thumb drive, wait a few seconds and let LabVIEW scan your computer for a file on the root of the drive.  If it finds it then port works, if it doesn't then it doesn't.

0 Kudos
Message 2 of 3
(2,721 Views)

Therein lies the problem. The host PC would be running LabView, but the UUT (the embedded system with USB ports to be tested) at the other end of the USB cable(s) has a proprietary kernel and therefore cannot run LabView. I need a remote solution such that the Host PC can act as hub or peripheral to accomodate the UUT's hub and peripheral mode ports. Nice try though!

0 Kudos
Message 3 of 3
(2,709 Views)