Brett_Henderson
Charter Member
More thoughts...
How about an XML document (cumulative_wear.xml) in the panel folder, that serves no purpose other than to store a number (cumulative wear).
Then, the XML files that keep track of wear per session, could also take the number from cumulative_wear.xml.. add to it when conditions warrant, and initiate a failure when IT reaches a certain value..
I.E. .. When CHT is exceded, not only does the session specific "count-down" begin.. a loop that retrieves 'cumulative wear', adds to it, compares it, and re-writes the XML file with the new value, so that the long-term wear is stored.
How about an XML document (cumulative_wear.xml) in the panel folder, that serves no purpose other than to store a number (cumulative wear).
Then, the XML files that keep track of wear per session, could also take the number from cumulative_wear.xml.. add to it when conditions warrant, and initiate a failure when IT reaches a certain value..
I.E. .. When CHT is exceded, not only does the session specific "count-down" begin.. a loop that retrieves 'cumulative wear', adds to it, compares it, and re-writes the XML file with the new value, so that the long-term wear is stored.