ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array comparison with a threshold

Solved!
Go to solution

Hi

 

    I want to compare an array with a threshold value and then plot the values of the array which are above the threshold.

 

Thanks in Advance

 

Best Regards

RASHID

0 Kudos
Message 1 of 3
(4,091 Views)
Solution
Accepted by Rashid931

Hi rashid,

  For normal comparison with the thresholds,you have to make use of a for for indexing each elements and comparison functions and a case structure..

For your idea ,i am just adding sample code.

 

 

Thanks and regards,

srikrishnaNF

 

 

Regards,
Srikrishna


Download All
Message 2 of 3
(4,081 Views)

I would set the values that are below the threshold to NaN (Not a Number), this will prevent the plot from showing those data-points.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 3 of 3
(4,051 Views)