LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find out the peaks and check them against a value

Hi
 
I am currently aquiring a bunch of signals (4 to be exact) through a 6120 card. This works as expected.
 
Now I'd like to check all 4 signals if any value (up to 80 000 samples / waveform) has it's lowest level above -0,8 V and it's highest level below 0,8 V.
 
I tried this with the Express VI (Level and Amplitude Measurements). I check both for the peaks and if one of them (OR) is above/below that value, a Boolean value should change.
 
So I have my 1D - Waveform Array as Input  to the Express VI. I then get the Positive/Negative Peak. I wire those to smaller/grater sign. and when I try to wire the two outputs of the smaller/greater signs to an "OR", LabView won't let me 😞
 
It says: Source is Dynamic Data, Sink is Boolean.
 
What am I doing wrong ?
0 Kudos
Message 1 of 7
(2,426 Views)
Which Express vi are you using? Could you maybe post your code or a picture (please no bmp) of it?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 7
(2,417 Views)

this is what I tried:

I am currently trying the same thing with the Waveform Min/Max ... Looks more promising than this 🙂

0 Kudos
Message 3 of 7
(2,415 Views)

So you used the wrong express vi.

Have a look at this example.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 4 of 7
(2,412 Views)

that easy ? Smiley Surprised

well, well 🙂

 

Thank you ...

 

Do you know by chance why my upper example doesn't work ?

0 Kudos
Message 5 of 7
(2,410 Views)

It would have worked, if you had converted the dynamic-data to a double before you pass it to the > / < operators.
If you pass two different data types to a function, the "lower" is converted to the higher (e.g.: sgl -> dbl) which is why the dynamic data is passed on to the or-operator.

Just see this example.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 6 of 7
(2,403 Views)

oh thank you .. 🙂

 

now I see 🙂

0 Kudos
Message 7 of 7
(2,399 Views)