LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

heart beat

Hello

    I'm using this VI to calculate the heart beat rate that I'm acquiring in real time from serial port. My problem is when I tried to compare the result of the heart beat with a constant and use the output to activate a case I get an error for wrong wiring. Is there a way to compare the heart beat rate and get a Boolean Output?


Thank you

I attached the VI


 

0 Kudos
Message 1 of 4
(3,711 Views)
You simply need to AND or OR the array of booleans before going to the Case Statement.
 
If you AND the array, all values must be greater than 80.
If you OR the array, it will be true if at least one value is greater than 80.
 
See your modified code attached and image below.
 
RayR
 


Message Edited by JoeLabView on 06-22-2008 11:01 AM
Download All
0 Kudos
Message 2 of 4
(3,700 Views)
Continuation of this thread.
0 Kudos
Message 3 of 4
(3,691 Views)

Thanks smercurio,

The discussion should stay in this one.

RayR

0 Kudos
Message 4 of 4
(3,672 Views)