www.ti.com
4.6.2
Block Analysis Length
4.6.3
RMS and Peak-to-Peak Noise Analysis
4.6.4
Displaying Volts
4.6.5
Block Acquisition
4.7
Data Recording
Using the PC Software
The histogram, RMS, and peak-to-peak calculations require a set of samples. These calculations are
updated with every group of samples received, and are performed on a block of the most recently
acquired (or averaged) samples.
The number of samples used is set using the Analysis points control. By default, this number is 50, but
can be changed at any time. This value also controls the RMS and peak-to-peak noise analysis lengths.
If the number of samples collected is not yet equal to the number of samples specified by the Analysis
points control, 0s are substituted for the samples not yet received.
In Analysis mode, the analysis can be reset using the button marked Reset analysis. This function clears
the internal analysis buffer. This button cannot be used outside of Analysis and Recording modes.
Analysis is automatically reset when Analysis and Recording modes are entered.
The RMS and peak-to-peak noise analysis calculations are performed in exactly the same way as they are
in the ADS1230REF firmware, as described in
Section 3.2
. Each calculation can be displayed in units of
volts, codes, or bits, as on the board. See
Section 3.2
for detailed descriptions of the calculations.
The number of samples used in each calculation is set using the Analysis points control. By default, this
number is 50, but can be changed at any time. This control also controls the histogram length.
When units of volts are displayed, the program must have a value for the reference voltage applied to the
ADS1230 to properly calculate the voltage. Because this voltage cannot be measured using the
ADS1230REF, it is set manually using the Vref control.
The value of Vref defaults to 5V, because the reference is normally taken from the 5V power supply. If a
different reference voltage level is used, the value of Vref should be changed to reflect the different level,
so that voltage calculations are performed correctly.
The Vref control also affects voltages recorded in Record mode.
To enable the program to run reliably on slower computers, results are not calculated each time a sample
is received. Instead, groups of samples are collected and added to an analysis buffer that is processed as
it becomes full. This processing delay is timed so that the display updates at least every 0.75 seconds.
The ADS1230REF software can record incoming samples to a text file. This file can be loaded into other
programs for analysis. Data recording is performed using the controls in the Recording box.
Follow these steps to record data to a file:
Step 1.
Select or create a destination file. Either type the file path directly into the Destination file
control, or click the small open folder icon to the right of the control to open a dialog box from
which a file can be selected. If the selected file exists already, the program will display a
warning. Otherwise, type the name of the file that you wish to create.
Step 2.
Select a data format. Samples can be recorded as raw (decimal) codes or as volts. In both
cases, the data are written to the file as ASCII data, and the file is a text file.
Step 3.
Click the Record button. The program begins to collect and analyze data from the board, as
well as write it to the selected file. As recording proceeds, the recording time indicators are
updated.
Step 4.
Click Record again to stop the recording when the desired amount of data has been
collected.
SBAU125A – August 2007 – Revised September 2007
ADS1230REF User's Guide
17
Submit Documentation Feedback