06-10-2009 03:05 PM
Moved a data acquisition VI from computer with LV 8.0 to one with LV 8.6.
An error occurs on the new system which doesn't occur on the old: "Error -200428 occurred at Property Node DAQmx Read (arg 1) in Four Channel Analog Collection.vi". The help for the error says: "Measurements: Value passed to the Task/Channels In control is invalid. The value must refer to a valid task or valid virtual channels." Why isn't the acquisition task a valid task? It seems to be valid in 8.0.
The VI is attached. It was saved in LV 8.0 compatibility mode, on a LV 8.6 system.
Thanks,
Bill
Solved! Go to Solution.
06-10-2009 03:26 PM
Have you setup the Task Four Channels on the new computer? Have a look at the following:
Saving the System Configuration in Measurement & Automation Explorer (MAX)
Also, I would recommend that you consider the Producer/Consumer design pattern where the DAQ can happen in the producer loop and your File I/O in the consumer. To look at a template, navigate to File -> New.. andlook for the Producer/Consumer Design Pattern.
06-10-2009 03:27 PM
06-10-2009 08:06 PM