hello please, if inside MD1 is a file with an unknown number of lines, how to read the value from its last line ?
hello please, if inside MD1 is a file with an unknown number of lines, how to read the value from its last line ?
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg
hello to me again
if data is written to file-a using append A, simply write the session number to file-b using append C : next time, open file-b so to read the last session number, and using this last number, open file-a, and loop read it, until end session is reached
of course, there are other ways, but this can be done by g-code
example : if gauging result is not passed via a variable, but is written to a file, this method can be used to read the gauging result
this method requires 2 files with "linked" content, thus it won't work if one file is missing, thus it can not work to read files that are older then the moment when this method was implemented; however, even so, there are alternatives / kindly
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg