August 28, 200421 yr I need to figure out a way in XML to know if the engine has been recently started, say in the last 20 minutes. In other words, can I store a variable (Boolean?) that is time dependent and gives me a 1 if the engine has been running recently?Steve
August 29, 200421 yr >I need to figure out a way in XML to know if the engine has>been recently started, say in the last 20 minutes. In other>words, can I store a variable (Boolean?) that is time>dependent and gives me a 1 if the engine has been running>recently?>>SteveI would think you could add a variable for that to a typical XML eng starter xml gauge, and then reset it based on an xml timer (search for timers/timing/etc in this forum).
August 30, 200421 yr DougWhat did you do to get it to work?perhaps you would share the C gauge if I can't get it to work in XML?Steve
August 30, 200421 yr Steve,Here is the gauge, along with the source code. It provides two values via L:VarsL:ENGINE_COMBUSTION_FLAG - has a value of 1 when the engine is running and for 20 minutes afterward, 0 otherwise.L:TIME_SINCE_SHUT_OFF - the count towards the 20 minute mark, in seconds.You can enter the maximum value for L:TIME_SINCE_SHUT_OFF as a parameter on the gauge entry in panel.cfg. Enter the value you want, in seconds:gauge41=Engine_Combustion_Flag!combustion_flag, 2,2,10,10, 30 Gives a 30 second value, rather than default value of 1200 seconds.Doug
August 30, 200421 yr Hi DougCan't make the link work. Would you be so kind as to send it via e mail:[email protected] a millionSteve
Create an account or sign in to comment