Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

safely remove usb

Hi, I am using a USB6211 with windows XP, LabVIEW 2009. The card in integrated in to a measurement device that the user will plug in when they want to take measurements, and then remove once the measurements have been made. The user will do this a number of times accross the duration of the test.

 

I have written some code that determines when the device is plugged in or disconnected and this seems to work well, however I have randomly had a full windows crash and I am wondering if this is due to the plugging/unplugging of the device from the USB.

 

I have had a search and the post below implies thats this is safe to do, however I want to make sure that this isnt going to cause me a problem down the line.

 

Any ideas?

 

http://forums.ni.com/ni/board/message?board.id=250&message.id=24254&query.id=1441111#M24254

David
www.controlsoftwaresolutions.com
0 Kudos
Message 1 of 2
(2,982 Views)

duplicate post

 

Just a brief comment:

Disconnecting should work fine if there is no active task running. However if you unplug a USB DAQ device while an I/O operation is in progress, this could potentially ccrash the operating system

 

Regards,

Jochen Klier

National Instruments

 

0 Kudos
Message 2 of 2
(2,977 Views)