Iam having a VI with upeer limit and lower limit.Iam reading data from DAQ card,if the data which iam is above or below the upper limit,them alarm set is indicated otherwise alarm clear is indicated.The alaram set and alarm clear is stored in a file along with date and time,when ever I run the VI.My problem is,if the value which iam reading is out of range then alaram set shold be shown in the file only once.but in my VI it is showing alarm set or alaram clear continuously until the other thing happens.How to over come this problem.
my exact question is ,in the saved file alarm set or alarm clear should be displayed only once but not for each and evry value which iam reading.here iam attaching my vi.