From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trapping only the first generated event until a reset button is pressed

Hello everyone.. I am working on an FPGA vi with cRIO hardware.. I have a DAQ system having 24 temperature inputs coming from different sensors.. What I want is to display the first alarm message whenever one of the temperatures exceeds some threshold value.. the program should trap and display only the first generated alarm of a particular temperature and ignore all the following alarms (of that particular temperature sensor) until the user presses a reset button.. I have simulated a test vi (with just 3 test inputs) that does this, but it uses so many for loops to remove the empty rows of the array and display the first trapped alarm message.. is there any other easy and more efficient way to achieve this? I would be very grateful if somebody can help me out by making the necessary changes in the vi itself.

0 Kudos
Message 1 of 3
(763 Views)

Try using feedback node and shift register

Capture.PNG


CLD Using LabVIEW since 2013
0 Kudos
Message 2 of 3
(745 Views)