05-09-2007 03:39 AM
05-09-2007 10:03 AM
The reason is you are mixing and matching tasks with the create channel. If you want to use the tasks you have created in MAX then just wire it into the start. You have already created the channel so there is no need to call the create channel VI. The reason you might want to use the task in the way you have it is to add additional channels into the task. Then you need to additionally wire in some physical channels. Hope this helps.
StuartG
05-10-2007 08:42 PM
08-14-2007 07:34 PM
08-15-2007 10:21 AM
08-16-2007 05:02 PM
Thank you for posting on the National Instruments forums.
If you use the Task in a DAQmx Read or DAQmx Write, then the resource will be reserved for that task. Now if you try to access the same channel, you will have to create a task with the DAQmx Create Channel.vi which creates a new task with that channel. If you then try to do a DAQmx Read or DAQmx Write, you will get an error message saying that the specified resource is reserved. If you are using the task and trying to access the channel in this way, then it will not work for you.
If you just have a task created in the Measurement and Automation Explorer and are not using that task in your application, then you can access the channel without any errors.I hope this answers your question and please let me know if you are not using the task and channel in one of these ways.
08-16-2007 06:43 PM
08-16-2007 09:28 PM
08-21-2007 10:59 PM