beautypg.com

String data block data response messages – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 16

background image

P

A R T

O

N E

:

A B O U T

R E M O T E

C O N T R O L

10

ISSUED: February 2005

WM-RCM-E Rev D

You can follow numeric values with multipliers and units to modify the value of the numerical expression. The
following mnemonics are recognized:

Multiplier

Exp. Note.

Suffix

Multiplier

Exp. Note.

Suffix

EX 1E18 Exa- PE 1E15 Peta-

T 1E12

Tera- G 1E9 Giga-

MA 1E6 Mega- K 1E3 kilo-

M

1E−3

milli- U 1E−6

micro-

N

1E−9

nano- P 1E−12

pico-

F

1E−15

femto- A 1E−18

atto-

STRING DATA

This data type enables you to transfer a (long) string of characters as a single parameter. Simply enclose any

sequence of ASCII characters between single or double quotation marks:

MESSAGE ‘Connect probe to point J3’

The oscilloscope displays this message in the message line at the bottom of the screen.

BLOCK DATA

These are binary data values coded in hexadecimal ASCII: four-bit nibbles translated into the digits 0 through 9
or A through F, and transmitted as ASCII characters. They are used only for the transfer of waveforms from the

oscilloscope to the controller (WAVEFORM) and for instrument panel setups (PANEL_SETUP).

RESPONSE MESSAGES

The oscilloscope sends a response message to the controller in answer to a query. The format of such messages

is the same as that of program messages: individual responses in the format of commands, separated by
semicolons ; and ending in terminators. These messages can be sent back to the oscilloscope in the form in

which they were received, to be accepted as valid commands. In GPIB response messages, the
terminator is always used.

Example: The controller sends the program message:
TIME_DIV?;TRIG_MODE NORM;C1:COUPLING? (terminator not shown).

The oscilloscope might respond to this with:
TIME_DIV 50 NS;C1:COUPLING D50 (terminator not shown).

The response message refers only to the queries: TRIG_MODE is left out. If this response is sent back to the
oscilloscope, it is a valid program message for setting its timebase to 50 ns/div and the input coupling of
Channel 1 to 50 Ω.