02-18-2010 06:01 AM
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
02-18-2010 08:33 AM
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