LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract automatically a portion of a signal

Hi, i'm trying to extract a portion of a signal automatically. I've extract it manualy using 2 cursors. I'm interested how can i point the cursor using an indicator. Basically, i have a signal and i want to find the index (index 1) when the signal grows above 0.01, and also when the signal goes below 0.01(index 2). and cut the part before index 1, and also cut the part after index 2. I will attach  a photo to be more clear.   

Thanks. 

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

Hi Fana,

 

at first you could use a simple "greater or equal" function to find all parts of the waveform that exceed your limit. Then splitting the array should be easy...

Best regards,
GerdW


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

i've tried that method and it's not working very well. Now i'm trying with basic level trigger and the cursor. I manage to put at a given level first cursor, but the second one doesn't work yet.

Thank you for replying so fast 🙂 

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