User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
Block WAVEDESC contains several variables related to scaling of data values. Values of these variables
depend on the current setting of the command COMM_FORMAT (CFMT). The following example shows
how the values returned by INSP? change when you modify the CFMT setting from BYTE (default) to
WORD:
CFMTSet to BYTE CFMT Set to WORD
VERTICAL_GAIN : 3.1250e-003
VERTICAL_OFFSET : -2.0600e-001
MAX_VALUE : 1.2700e+002
MIN_VALUE : -1.2800e+002
VERTICAL_GAIN : 1.2207e-005
VERTICAL_OFFSET : -2.0600e-001
MAX_VALUE : 3.2512e+004
MIN_VALUE : -3.2768e+004
Response Format
<trace>:INSPECT "<WAVEDESC_variable|logical_block>: <value>"
Examples (GPIB)
The following instruction reads the value of the timebase at which the last waveform in Channel 1 was
acquired:
CMD$="C1:INSP? 'TIMEBASE'"
CALL IBWRT(SCOPE%,CMD$)
CALL IBRD(SCOPE%,RSP$)
PRINT RSP$
Response message:
C1:INSP "TIMEBASE: 500 US/DIV"
The following instruction reads the entire contents of the waveform descriptor block:
CMD$="C1:INSP? 'WAVEDESC'"
Related Commands
COMM_FORMAT, TEMPLATE, WAVEFORM_SETUP
6-147