Amending dayfile: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎Using CreateMissing.exe editing functionality: Mention new 3.20.0 functionality to refresh the RAM content
m (→‎Using CreateMissing.exe editing functionality: Mention new 3.20.0 functionality to refresh the RAM content)
= Using CreateMissing.exe editing functionality=
 
Basically, this utility will notcreate replacea anynew data'''dayfile.txt''', thatif there is already ina thefile dailywith summarythat logname fileit gets renamed, and existing fields are copied across. ItIf there are some dates missing in an existing file it will create new lines ''if data for those missing lines can be derived'' from data already in [[Standard_log_files]]. If an individual line in an existing '''dayfile.txt''' is shorter than the number of fields expected in the current MX release, then '''CreateMissing.exe''' will calculate daily values for the missing fields based on data already in [[Standard_log_files]].
'''You must be running MX in order to use this utility''', as some information is shared between CumulusMX.exe and CreateMissing.exe.
 
'''You must behave runninginstalled MX in order to use this utility''', as some information isin [[Cumulus.ini]] and some [[Software#By_Mark_Crossley|.dll files]] are shared between CumulusMX.exe and CreateMissing.exe .
Please see [[Calculate_Missing_Values#CreateMissing.exe|CreateMissing.exe]] and/or https://github.com/cumulusmx/CreateMissing/blob/master/README.md.
 
''It is important to understand'' that when you start MX interactively, or as a service, it reads the contents of '''dayfile.txt''' into an internal array (held in random access memory - RAM). Therefore, if you run '''CreateMissing.exe''' while ''CumulusMX.exe'' is running, any updates to the file are ''not'' seen by MX until that software is restarted. Release 3.20.0 (beta build 3199 onwards) adds a new "Utils" menu with a new option to refresh the internal values without restarting MX.
Information there is not repeated here.
 
Basically, this utility will not replace any data that is already in the daily summary log file. It will create new lines if data for those missing lines can be derived from data already in [[Standard_log_files]]. If an individual line in '''dayfile.txt''' is shorter than the number of fields expected in the current MX release, then '''CreateMissing.exe''' will calculate daily values for the missing fields based on data already in [[Standard_log_files]].
 
Instructions for running '''CreateMissing.exe''' can be found on [[Calculate_Missing_Values#CreateMissing.exe|another Wiki page]] and information there is not repeated here. The developer includes brief installation and running instructions at https://github.com/cumulusmx/CreateMissing/blob/master/README.md.
 
= Using the Cumulus 1 editing feature =
5,838

edits

Navigation menu