LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use switch to cut a waveform

Solved!
Go to solution

I try to cut a waveform when the curve value is greater than a threshold value.

 

I use a switch and I generate the cut signal 0 (FALSE) for return 0  and 1 (TRUE) to return the value of the waveform.

 

But I have a null waveform as result !!  

 

Do you have an idea because when I use a switch on the front panel, the result is well but manual !

 

See attach files. 

 

Thanks 

0 Kudos
Message 1 of 3
(2,229 Views)
Solution
Accepted by topic author joc31

I am not sure if I understand you problem correct. But see if this VI helps

Y[i]=Clip{X[i]} VI
Owning Palette: Signal Operation VIs

Installed With: Full Development System

Clips the elements of Input Array to within the bounds specified by upper limit and lower limit.



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 2 of 3
(2,226 Views)

I have modified Vi with clip and It's work fine.

 

Thank you very much.

 

 

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