beautypg.com

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

Page 113

background image

Remote Control Commands and Queries

WM-RCM-E Rev D

ISSUED: February 2005

107

COMMUNICATION

COMM_FORMAT, CFMT

Command/Query

DESCRIPTION

The COMM_FORMAT command selects the format the oscilloscope
uses to send waveform data. The available options allow the block

format, the data type and the encoding mode to be modified from the
default settings.

The COMM_FORMAT? query returns the currently selected
waveform data format.

COMMAND SYNTAX

Comm_ForMaT

,,

: = {DEF9}

: = {BYTE, WORD}

: = {BIN}

Initial settings (i.e. after power-on) are:

For GPIB and LAN: DEF9, WORD, BIN

QUERY SYNTAX

Comm_ForMaT?

RESPONSE FORMAT

Comm_ForMaT

,,

EXAMPLE (GPIB)

The following instruction redefines the transmission format of
waveform data. The data will be transmitted as a block of definite

length. Data will be coded in binary and represented as 8-bit integers.

CMD$=“CFMT DEF9,BYTE,BIN”: CALL
IBWRT(SCOPE%,CMD$)