User manual

Table Of Contents
Part 6: IEEE 488.2 Command Reference
Example A (GPIB)
The following instruction reads the average values for all custom parameters:
CMD$ = "PAST? CUST,AVG" CALL IBWRT (SCOPE%,CMD$) CALL IBRD(SCOPE%,RD$)
The oscilloscope responds with:
PAST CUST,AVG,290.718E-3 V,389.25E-12 V.S,-144.589E-3 V,93.76604E-9 S,
290.725E-3 V,389.25E-12 V.S,-144.589E-3 V,229E-9 V
Example B (GPIB)
The following instruction reads all statistical values for parameter P2:
CMD$ = "PAST? CUST,P2" CALL IBWRT (SCOPE%,CMD$) CALL IBRD(SCOPE%,RD$)
The oscilloscope responds with:
PAST CUST,P1,AMPL,C1,AVG,290.718E-3 V,HIGH,297.5E-3 V,LAST,294.2E-3 V,
LOW,278.2E-3 V,SIGMA,3.047E-3 V,SWEEPS,182
6-69