LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean

how to do this in labview?

0 Kudos
Message 1 of 2
(1,748 Views)

Hi Nagendra,

 

this is pretty basic LabVIEW stuff: please take the Training offers in the header of the LabVIEW board!

 

All you need is a FOR loop to (auto)iterate over your array of samples.

In the loop you need a comparison function - and a shift register to store the current sample to be used as previous one in the next iteration.

The boolean output of the comparison will turn into an array of boolean at the output tunnel of your loop: you didn't specify if you need a scalar boolean or an array…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,744 Views)