LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

-200428 - Modifying a channel in a predefined DAQmx task

Solved!
Go to solution

I was pretty sure I had done this before, but maybe not.  I have a predefined task setup in MAX spanning 3 different analog input modules on a cDAQ chasssis.

I'm attempting to modify the thermocouple type on one of the TC channels based on configuration setup data.  So I have the task selected as a constant and feed it into a DAQmx Task node to get the Channel List.  I can see the channel list just fine and all the channels are present there, but when I attempt to break the thermocouple channel out of the array and feed it into a DAQmx Channel node, I get an Error -200428, that the value must refer to a valid task or valid virtual channels.

 

Any clues?

0 Kudos
Message 1 of 4
(3,174 Views)
Solution
Accepted by Mike Webster

Hey Mike,

 

Can you please try it like illustrated in the attached jpg.

 

 

Christian

Message 2 of 4
(3,159 Views)
That did it.  Thanks!
0 Kudos
Message 3 of 4
(3,154 Views)

You're welcome! 

 

DAQmx programming is sometimes weird.

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