08-16-2005 08:24 AM
08-17-2005 03:20 PM
Hi John-
I am a bit unclear on what you mean by "convert the DAQ Assistant vi to a Task Name Constant." Are you replacing the DAQ Assistant with a DAQmx Task Constant? You will need to first create the task in MAX and save it with a name. The "_unnamed TaskX" format is only used for dynamically created tasks using the DAQ Assistant or the DAQmx VIs themselves.
So, you will first need to right-click on Data Neighborhood in MAX and choose "Create New..." Then select NI-DAQmx Task and configure the task type and device channels and save. You should then be able to use the task constant pulldown. One caveat of this approach is that you will need to use the DAQmx VIs to perform the read/write operations; the task name alone is not sufficient.
Hopefully this helps-