08-29-2009 05:03 PM
I'm using a 6052E multifunction Daq and attempting to acquire 3 channels of data using the code attached in the image. When I run the application continuously, I get a DAQ error 50103 at DAQMX Start Task- "channel name - resource is reserved" . What am I doing wrong? Are there any comprehensive DAQMX Tutorials available or examples?
Thanks in advance.
08-29-2009 05:27 PM
The error you are getting is a common one for beginners and a search for it should have turned up numerous threads. You cannot use separate tasks for the same resource. You use a single task with multple channels (i.e. Dev1\ai0:2).
There is the Getting Started with DAQmx tutorial. LabVIEW has examples. Simply go to Help>Find Examples.
I don't see your loop so that the code can run continuously but the Create Channel, Start Task, and Stop Task should be outside the loop.