I played with the #SaveChart script command in V1.12. When I do something like:
#SaveChart "myfile"
I get the file myfile.png with a picture of the chart saved in the ...\Documents\TestController directory. But, I also get a second file named myfile.txt that seems to be a copy of the TestController log window up to the #SaveChart command in the script but not after. Was it your intention that #SaveChart saves the .png picture as well as the log window with the one command?
What sets the picture size for the #SaveChart command? I looked on the web site for some documentation on possible arguments for the #SaveChart command and was not able to find it. I seem to always get 500 x 250 pixel.
Lastly, I don't seem to get the full chart in the saved picture. My script does:
#log 0.1
#while (FtLow<50)
=FtLow=FtLow+2
#delay 1
#endwhile
#log 0
#SaveChart "myfile"
which generated the attached myfile.png showing only 0.0s on the x-ais. I would expect all 6 sec on time axis but it only seems to get the first logged data point or none.
After the script is done if I manually type #SaveChart "foo", run that one line, then the resulting picture seems fine with the full 6 sec. Am I using the #SaveChart command incorrectly/is there a trick to getting the graph to be the full time span inside a script?