02-11-2013 08:28 AM
Hi all,
When using the USB 6009 interface for reading out two sensors (temperature and pressure, using the Voltage they generate) and sending signals to valves, my program keeps working.
But after a while the USB module crashes.
Most of the time both input and output don't seem to work anymore. I don't get any error, it just doesn't work anymore. When I pull out the USB device and insert it again in the USB port, it works again perfectly
FYI (It happened once or twice that the outputs still worked, but I got no input from the devices.)
Does anyone have similar problems or knows how to fix this?
Thank you in advance.
Regards,
Bart
Solved! Go to Solution.
02-11-2013 09:21 AM
Could your PC be disabling the USB port in order to save power?
02-11-2013 09:28 AM
Could you post your code?
02-12-2013 02:23 AM
02-12-2013 02:45 AM
Here is the code.
02-12-2013 07:03 AM
That code is very hard to read. Look into clusters and SubVIs to help clean up that VERY large code.
Since I do not have DAQ installed, I can't be of much help other that what I mentioned above.
02-12-2013 07:58 AM
Why don't you run Max in the test mode against your USB 6009 and find out if the problem is occurring. If it does, you might have a configuration issue with your computer or hardware problems. Also if you are running Windows xp, make sure your usb patch is installed.
02-12-2013 08:11 AM
02-12-2013 09:06 AM
The try running Max for awhile. This will indicate if there is systemic problem or not. Another issue is if you use a USB hub. Sometimes they hang up and cause the issue. NI Seems to prefer direct computer connections and not through hubs.
02-12-2013 09:08 AM
I'm using a hub at the moment, so this can be the problem. I'll try to find a solution where I don't need this hub.
Thank you for this hint.