beautypg.com

Remote control commands and queries – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 203

background image

Remote Control Commands and Queries

WM-RCM-E Rev D

ISSUED: February 2005

197

EXAMPLE (GPIB) A

The following instruction reads the average values for all the
columns individually:

CMD$ = “PAST? CUST, AVG”
CALL IBWRT (SCOPE%,CMD$)
CALL IBRD(SCOPE%,RD$)

EXAMPLE (GPIB) B

The following instruction reads all the statistical values for
parameter P2:

CMD$ = “PAST? CUST, P2”
CALL IBWRT (SCOPE%,CMD$)
CALL IBRD(SCOPE%,RD$)

RESPONSE FORMAT A

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

RESPONSE FORMAT B

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