LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Max global channels be programmatically added to a created task?

I can add Physical channels to a created task, but cannot seem to add global channels to a task that was previously created.  The problem here is that I want to create my task with the channels (both physical and global) in a specified order.
 
Thanks,
 
Mike Sachs
0 Kudos
Message 1 of 3
(2,797 Views)

Hi Mike-

You can add global virtual channels to a programmatically-created task by using the DAQmx Create Task VI.  This allows you to create a task with existing global virtual channels and then add virtual channels at run-time in the usual manner.  Here's an example that shows a global channel (created for Dev5/ai0) and a virtual channel within the same task:

Hopefully this helps-

Message Edited by Tom W [DE] on 02-09-2006 11:06 AM

Tom W
National Instruments
0 Kudos
Message 2 of 3
(2,795 Views)
Alan's suggestion here gives you more control of the scan order for the task.
Tom W
National Instruments
0 Kudos
Message 3 of 3
(2,785 Views)