Figure 17-1 Ascii Data Format - Keithley 2500 User Manual

Photodiode meter
Hide thumbs Also See for 2500:
Table of Contents

Advertisement

17-44
SCPI Command Reference
Description
NOTE
Figure 17-1
ASCII data format
+1.000206E-03,
Channel 1
Reading
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com
This command is used to select the data format for transferring readings
over the bus. Only the ASCII format is allowed over the RS-232
interface. This command only affects the output of READ?, FETCh?,
MEASure?, TRACe:DATA?, CALCx:DATA? over the GPIB. All other
queries are returned in the ASCII format.
Regardless of which data format for output strings is selected, the Model 2500
will only respond to input commands using the ASCII format.
ASCII format
The ASCII data format is in a direct readable form for the operator.
Most BASIC languages easily convert ASCII mantissa and exponent to
other formats. However, some speed is compromised to accommodate
the conversion.
Figure 17-1
includes current and voltage for one channel, as well as time, and status
data elements. See
Figure 17-1
also shows the byte order of the data string. Data elements
not specified by the :ELEMents command are simply not included in the
string.
Keep in mind that the byte order can only be reversed for the binary for-
mat. See
BORDer
+1.000000E-02, +7.282600E+01, +4.813200E+04
Channel 2
Reading
IEEE-754 single precision format
REAL, 32, or SREal will select the binary IEEE-754 single precision
data format.
Figure 17-2
data element. For example, if three valid elements are specified, the data
string for each reading conversion is made up of three 4-byte data
blocks. Note that the data string for each reading conversion is preceded
by a 2-byte header that is the binary equivalent of an ASCII # sign and 0.
Figure 17-2
does not show the byte for the terminator that is attached to
the end of each data string.
Models 2500 and 2502 User's Manual
shows an example ASCII string that
ELEMents <item
list>.
<name>.
Time
shows the normal byte order format for each
Status

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

2502

Table of Contents