Data Conversion
Data sent from the oscilloscope must be scaled for useful interpretation.
The values used to interpret the data are the X and Y origins and X and
Y increments. These values can be read from the waveform preamble.
Conversion from Data Values to Units
To convert the waveform data values (essentially A/D counts) to
real-world units, such as volts, use the following scaling formulas:
Y-axis Units = data value x Yincrement + Yorigin (analog channels)
X-axis Units = data index x Xincrement + Xorigin,
where the data index starts at zero: 0, 1, 2, ..., n-1.
The first data point for the time (X-axis units) must be zero, so the time
of the first data point is the X origin.
Data Format for Data Transfer
There are four types of data formats that you can select using the
:WAVeform:FORMat command: ASCii, BYTE, WORD, and LONG. Refer
to the FORMat command in this chapter for more information on data
formats.
30-4