I create a very simple VI (DAQmx read in a loop - output to a chart):
and I create the channel in my LabVIEW 8 Project. When run in the LabVIEW development environment it works fine
but once built I get error -200428 "Value passed to the Task/Channels In control is invalid. The value must refer to a valid task or valid virtual channels."
Anyone got any ideas? (I've attached the full project in a zip)
Check out this thread and see if it solves your problems.
From the page: After the DAQmx Task Name you only need to put
down the Start Task.VI. Finally, you only need to put down the Stop
Task.VI, you don't need the Clear Task.VI.
You might want to put in the Start and Stop VIs and see if it works for
you. I don't have the hardware so i can run the VI to verify.
Thanks for the suggestion, but I'm using DAQmx, not DAQmx Base. Actually, a LAVA member pointed me in the right direction: the builder creates the wrong path in the application's .ini file - my NI-DAQmx.ApplicationStorageFile was set to "applicationfolder\nidaqmx.ini", where it should have been just ".\nidaqmx.ini" - looks like a bug to me!