LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB hub

Anyone know of a USB hub that has a reset that is controllable through  my program?

0 Kudos
Message 1 of 5
(2,840 Views)

What are you tying to reset? Generally the devices on the far end, or your computer's connection to them, are what seems to hang. Other than that I haven't seen a resetable hub, won't say that they don't exist, just in my searches I've not seen one.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 5
(2,820 Views)

Not sure exactly what you're looking for.  There's some MS software that allow a software reset of a USB port: http://www.ehow.com/how_6857024_reset-port-power-limits-exceeded.html

 

If you're looking for a way to reset the power on a powered USB hub, you could drive a relay with digital output or even the serial port. 

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 3 of 5
(2,798 Views)

Basically I have a device that does not get closed properly. The only way I can reset it is to unplug it and plug it in. I was hoping for an off the shelf solution. I can design my own also. Shutting the power off to a hub did not work for the one I had. It is not a big problem for me now, just an inconvenience.

0 Kudos
Message 4 of 5
(2,777 Views)

Depending on what is causing the hang, you may just need to reset the USB port. Windows provides a utility that lets you do this programmatically:

The DevCon command-line utility functions as an alternative to Device Manager
http://support.microsoft.com/kb/311272

One way you could control this with LabVIEW is through the 'System Exec.vi'. However, this would be controlling Windows to reset the port. If the device offers a VISA command to reset the device, that would reset the actual device instead of just the port. For instance, the DAQmx allows you to reset the actual device.

I haven't tried using the DevCon to do this, so if you do try this method let us know how it works.

- Regards,

Beutlich
0 Kudos
Message 5 of 5
(2,758 Views)