LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Buffer

Ive been working with a program that is supposed to monitor differential pressure and when the pressure increases by a user defined input value (slope) the program goes back a defined number of points and begins to log the readings to a file. Right now the program just logs the data to the file regardless of when the event takes place. What am I doing wrong? Thanks.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 1 of 2
(1,701 Views)
In the outer case statement, you set the shift register value to true. This stays true throughout and the output of your OR function is always true no matter what the result of the comparison of the slope is. So, once the comparison is true once, the true case is always executed. You need so logic in there to reset the shift register if the comparsion becomes false.
0 Kudos
Message 2 of 2
(1,693 Views)