How can I record a variable in an Openlab automation to be exported to a data analysis program such as Excel?

Technical Note: 94
Reads: 6285
Creation Date: 07/04/2000
Modification Date: 12/02/2004

In your automation create a new variable to record the data for analysis. Then use a Tell task to put the required variable into the trace. If you want to use more than one Variable, punctuate the expression with a comma eg. "+str(variable1)+" , "+str(variable2) etc Select "Trace variables" from the Trace menu and run the automation. When the automation is complete, select "Save as" from the Trace menu and save the trace as a text document. The text document can now be opened in Excel and the variables will be arranged into different columns.