LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Only one channel outputs the data!?

Hi all

 

My NI-USB daq only outputs the 32bit digital signals that is written from a TDMS file. Can anyone spot why? (see attached image)

 

I'm aquiring analog data while writing 2 sets of digital data (one static and one dynamic) to port 0 and port 1 of a USB6229.

However only one of the dynamic data channels outputs the data.

 

I look at the data with TDMS viewer and it seems fine before it is put into the write. Hope someone can spot where I go wrong. 

 

Regards

 

 

0 Kudos
Message 1 of 3
(2,724 Views)

Not sure, but it appears that only one channel is written because you are only specifying line 0 as an output.  Even if the array of lines has more than one value, it will still only output one line at a time because you are feeding it into an array.  Also, all indexed arrays would have to have two values or the loop will only execute once -- so if there is only one channel name, the loop will only execute once (for example).

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




Message 2 of 3
(2,720 Views)

Hi Matt

Thanks for trying to help.

The "channel array" has 11 values. One for each channel to be played. The analog and the "static" digital are handled in the same way for the array assignment. 

 

What would you try and change? 

 

Regards

Carl 

0 Kudos
Message 3 of 3
(2,687 Views)