01-28-2011 06:50 AM
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
01-28-2011 07:00 AM
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