This article applies to:
The .txt file you generate from the Chronos AnalogInRecord Task Event incorrectly populates the values in each row with the column headers for the .txt file, instead of the recorded analog input data.
You can record Chronos analog input data to a text file for later review. There are two means to do so that E-Prime supports: the ChronosAnalogInChannel.Record method in E-Basic script and the AnalogInRecord Task Event. Both methods require you to specify the analog in channel (1 through 5) for the input you want to record.
This image shows an example of an AnalogInRecord Task Event for Analog In Channel 2 in which you specify the channel number in the Custom field:
Use the ChronosAnalogInChannel.Record method in E-Basic script instead of the equivalent AnalogInRecord Task Event.
For example, the line of code below is the equivalent analog input recording command for Channel 2 in E-Basic script:
'Specify the analog input channel number (1-5) within the parentheses.
Manually copy and paste the Column Headings into the Row Definition field and vice versa for the Analog In Channel in your experiment's Chronos device settings. This image shows the default values for both fields:
This image shows the values after being manually switched so the generated .txt file contains the correct recorded analog input values: