TRANsmit Commands (Set and query data transfer)


Set or query the message delimiter

8860, 8861


Syntax


(Command)
(Query)


:TRANsmit:DELImiter A$
:TRANsmit:DELImiter?

(Response)

A$
A$ = CR, LF, CR_LF


Details


Sets the end-of-message delimiter (terminator).
Returns the current end-of-message delimiter.

CR  (ANSI code: 0Dh)
LF  (ANSI code: 0Ah)
CR_LF  (ANSI code: 0Dh and 0Ah)


Example


:TRANsmit:DELImiter CR_LF
:TRANsmit:DELImiter?
(Response)  :TRANSMIT:DELIMITER CR_LF  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Enable/disable or query error notification

8860, 8861


Syntax


(Command)
(Query)


:TRANsmit:ERRor A$
:TRANsmit:ERRor?

(Response)

A$
A$ = OFF, ON


Details


Enables and disables error notification when errors occur.
Returns the current on/off setting of error notification.

The error notifications are as follows:

?C   (Command error)
?E   (Execution error)
?Q   (Query error)


Example


:TRANsmit:ERRor ON
:TRANsmit:ERRor?
(Response)  :TRANSMIT:ERROR ON  (when headers are enabled)


Note


Error notification is available only when the instrument is being controlled over a LAN.
The instrument cannot return messages if its output buffer is full.
The error notifications correspond to the contents of bits 2, 4 and 5 of the standard event status register (SESR).
The errors are cleared by the *ESR? and *CLS commands.


Usage
Conditions


All functions
when the instrument is controlled via LAN