Saving log data

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Saving log data

Karel Jansseune-2
Dear list users,

I would like to save my results and the log file of my measurements into
one excel file.
So far I have managed to save the results in an excel file
(with "getResults("Column",row)), but i can't manage to save the log file
to the same excel file.

Is there a simple way to save all the date from the log file into an
existing excel file.

Thanks for the help,

best regards,

Karel Jansseune
Reply | Threaded
Open this post in threaded view
|

Re: Saving log data

arnim.jenett
Hi Karel,
check out this page and search for "print", "selectWindow" and "saveAs".

print("\\Clear"); //empties the Log
//- maybe you want to do this before you do your measurements, so you just save these and not the whole session log.

selectWindow("Log");  //select Log-window
saveAs("Text", "[path/filename]");

Voila,
aRnim


Karel Jansseune wrote
Dear list users,

I would like to save my results and the log file of my measurements into
one excel file.
So far I have managed to save the results in an excel file
(with "getResults("Column",row)), but i can't manage to save the log file
to the same excel file.

Is there a simple way to save all the date from the log file into an
existing excel file.

Thanks for the help,

best regards,

Karel Jansseune