LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the equivalent to "Array Empty?" but for digital waveforms? - an issue with DAQ Acquisition loops

Solved!
Go to solution

Hello,

 

I am trying to adapt the acquisition loop structure used previously for analog waveforms into a new acquisition loop for digital waveforms. However, the "Array Empty?" function seemingly does not work in this case. What would be a similar function? You can find below a picture of the part of the code that is not working, and I also upload the corresponding VI file.

Flonares_0-1743677067531.png

Thank you for your time and help!

Fl0

0 Kudos
Message 1 of 4
(157 Views)

It seems like You've replaced the Array of Clusters with a single Cluster.

If You look at the tunnels in the for loop and compare them to the Tunnels on the analog waveform, they're different.

 

 

Don't forget to rate a good Answer....
---------------------------------------------------------
Here should be some cool signature

But there's NOT

LabVIEW 2012-2017
---------------------------------------------------------
Message 2 of 4
(135 Views)
Solution
Accepted by topic author Flonares

Hi Flonares,

 

in the analog waveform section you read "N channels", in the digital section you read "1 channel"…

 

When you don't need to handle arrays, then you need to check for empty arrays!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 4
(102 Views)

Hi GerdW, and many thanks - I absolutely overlooked it... Many thanks!

0 Kudos
Message 4 of 4
(97 Views)