10-26-2010 04:37 AM
Hi Guys,
i have an application which uses an NI USB 6009 data logger to measure some voltages, i configured the channels using measurment & automation explorer on the host machine, the program works ok but randomly the usb 6009 just seems to stop functioning and give 0V. If i reset it in measurment & automation explorer it somtimes says there was an error with the device and somtimes not but it works again for a while then will stop.
Would it be more reliable if i just use virtual channels in labview ?
thanks, Zac
10-26-2010 07:53 AM
Not sure why you are using a flat sequence for the first data acquisition. You can use the error cluster output of the first to the error in of the second and drop the flat sequence or maybe consolidate into a single task.
That said, There can be a couple of things going on. First off, have you tried different USB ports on the computer? Depending on the configuration of the USB ports, you may have some kind of power issue.
Secondly, without wiring the error out, you are probably getting some kinda of error from one or more of your data acquisition blocks. That will probably point you towards the source of your problem.
10-26-2010 10:05 AM
Hi,
thanks for the info, i have found the source of the problem.
I am monitoring a variable "Volts" and datalogging every second but then periodicaly i trigger a hardware timed event that takes 200 samples @ 1kHz and whilst this is happening the 1 seccond logging of volts just reads 0.