www.ti.com
4.7.1
File Format
5
Serial Console
5.1
Using the Console
Serial Console
The selected file is not opened or created until recording begins. If an error occurs at that time, recording
stops and a message displays in the status box.
Recording time is not measured, but calculated from the number of samples collected. The speed is used
to determine the amount of time for each sample. If the data rate is changed at the board, the recording
time will be incorrect. This change does not affect the data file, except that samples continue to be
collected with the different settings.
In Recording mode, analysis proceeds as in Analysis mode; Recording mode is identical to Analysis
mode, except that data is written to a file. See
the previous section
for documentation on Analysis mode.
When Recording mode begins, if the selected file exists, it is erased and overwritten. The pre-existence of
the file is checked only when a new file is selected.
Data files begin with a header that contains the text collected from ADS1230REF, the time of recording,
and the speed and gain. Following this header, values are written in either volts or raw codes, with one
value per line. Line separators are in DOS format, consisting of a carriage return and a line feed. This
format can be examined in a text editor and loaded or imported into most other software, including
spreadsheets.
Voltages are calculated using the reference voltage given in the Vref control; it is therefore important that
this value be correct.
The ADS1230REF provides a console mode that can be used with any Windows terminal emulation
program, such as Hyperterm™. In Windows, this configuration is done through the Virtual COM Port driver
supplied with the EVM software, causing the ADS1230REF to appear in Windows as an extra serial port.
To use the console, load a terminal emulation program and connect to the EVM serial port using the
following parameters:
•
Baud rate: 115200
•
Data bits: 8
•
Parity: none
•
Stop bits: 1
•
Flow control: none
•
Local echo: off
•
Terminal emulation: ANSI or VT100
Setting up the terminal program is beyond the scope of this document; see the specific terminal program
documentation for details.
To locate the serial port, try higher port numbers first. When the board first starts, it outputs the following
message:
ADS1230REF 1.1.0c
(c)2005-2007 Texas Instruments
1230>
Pressing Reset causes the board to output this message.
The command prompt is always
1230>
. Commands are entered at this prompt. Commands consist of
one letter possibly followed by arguments. The format of the arguments depends on the command.
Commands are case insensitive. Upper-case characters are printed here, but lower-case characters also
work.
18
ADS1230REF User's Guide
SBAU125A – August 2007 – Revised September 2007
Submit Documentation Feedback