ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract single channel from DAQmx Task

Solved!
Go to solution

Hello,

 

I have created a DAQmx output task, which contains two channels.  Is it possible to extract individual virtual channels from the task to be processed by two parallel processes?  I have tried bringing out the Channels Property using a Task Property Node, but I then get the error that the channel is not part of an active task (see attached snippet)

 

Could anyone advise on a better approach, or how to acheive this functionality - if it is possible?

 

Regards

Dave

0 Kudos
Message 1 of 4
(3,594 Views)
Solution
Accepted by topic author djroseman

Sorry, that VI does not make much sense. You have to use a single DAQmx Write for both channels and for 1 Sample mode, you simply have to build an array of the signals as shown below.

 

0 Kudos
Message 2 of 4
(3,592 Views)

Apologies, I appear to have had a temporary brain bypass...

 

You are correct, I understand what you mean - the task contains labels to the channels, rather than the data, yes? 

 

--dave  

0 Kudos
Message 3 of 4
(3,574 Views)

Correct.

0 Kudos
Message 4 of 4
(3,570 Views)