Lightwave Communications LDX-3232 manual MESsage?, RADix

Models: LDX-3232

1 118
Download 118 pages 53.85 Kb
Page 95
Image 95

COMMAND REFERENCE

LDX-3232 Device-Dependent Command Reference

C H A P T E R 4

MESsage?

FRONT PANEL

 

 

REMOTE

The MESsage? query returns the previously stored message. This message will always be 16 bytes long and enclosed in quotes. The message is entered via the MESsage command.

 

:

MES

?

 

- where the response is a 16-byte long character string.

Notes

The response data will be a 16-byte long string. If there is no previously stored message,

 

the response will be "

", all spaces.

Examples

"MES?"

-response: "Test 3

", means the previously stored message was "Test 3".

"Message?" -response: "This is a test. ", means the previously stored message was "This is a test."

RADix

FRONT PANEL

REMOTE

The RADix command allows the programmer to select the radix type for status, condition, and event query response data. Decimal, binary, hexadecimal, and octal are allowed.

:RAD

<white

space>

DEC HEX BIN OCT

Parameters

As shown above, character program data is expected.

Notes

DECimal is the default type. Only the first three letters of the words decimal,

 

hexadecimal, binary, or octal are required.

 

When the RADIX is selected, all status, condition, and event queries will return values in

 

the new radix.

 

In the cases where the radix is not DECimal, the flexible numeric type <nrf value> (as

 

shown in the Command Reference diagrams) will be replaced by HEX, BIN, or OCT

 

representation.

 

All of the above radixes may be used to enter program data at any time, without the need

 

for issuing the RADix command. The proper prefix must also be used with Hex (#H),

 

binary (#B), or octal (#Q).

 

This command may be useful for setting up status reporting blocks. The bit-wise status

 

representation may be more easily read in BIN, HEX, or OCT.

Examples

"RAD dec" -action: the decimal radix is selected.

04_06

LDX-3232

79

Page 95
Image 95
Lightwave Communications LDX-3232 manual MESsage?, RADix