NIDave
21 years ago
Is there any way to programatically close a USB port?
Sometimes when accessing my USB device if an error is encountered the
port will not close properly and then will not allow the device to be
accessed the next time without unplugging or reseting the computer
first. I have seen something about a RAW USB name being used to
control the USB ports through the VISA functions but I didnt know if
this was the correct way to handle this situation and also didnt know
how to obtain the RAW port name. Essentially I want to
deactivate/reactivate a port before I run my program to be sure the
port is not busy.
Thanks for any help you can provide.
-Dave
Sometimes when accessing my USB device if an error is encountered the
port will not close properly and then will not allow the device to be
accessed the next time without unplugging or reseting the computer
first. I have seen something about a RAW USB name being used to
control the USB ports through the VISA functions but I didnt know if
this was the correct way to handle this situation and also didnt know
how to obtain the RAW port name. Essentially I want to
deactivate/reactivate a port before I run my program to be sure the
port is not busy.
Thanks for any help you can provide.
-Dave