LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare scalar value to dynamic data

I am trying to compare a scalar number input in the front panel to a dynamic data set(from DAQ) and return a boolean true if the condition is met. How can I compare one value to each data point in the acquisition data set?
0 Kudos
Message 1 of 2
(2,711 Views)
You can use the Convert From Dynamic Data and convert to a 1D array. The comparsion functions work with an array as one input and a scalar as another. The output is a Boolean array - the results of each element in the array to the scalar. I think you can also use the Comparison Express VI but I have seldom used any of the Express functions so I'm not sure about that.
0 Kudos
Message 2 of 2
(2,707 Views)