LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare 2 alarms and if they are the same, don't save the second one

The enum i used was just for the example. Put the string in the shift register, or whatever datatype you need to compare.

 

Do you want the log file to act like a circular buffer, ie only log the last 100 events. if a new event happens write it and delete the old event?.

 

Can you attach some code so i can have a better look at what you are trying to achieve?

 

Rgs,

 

Lucither

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
0 Kudos
Message 11 of 12
(287 Views)

I'm going to try some things.

 

The log file has to act like this:

The maximum of log lines is 100.

If there comes a new alarm, the oldest alarm(alarm on line 1) has to be reset and the newest alarm has to come on line 100.

So that the logfile will always be 100 lines.

 

I have a .vi but I messed it up and didn't save the good version, so I first have to repair it.

But I'm only trying, because I don't know exactly how to do it

 

Thanks in advance,

 

Kenny

0 Kudos
Message 12 of 12
(282 Views)