162
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Queries the message unit separator for response messages.
Syntax
TRANsmit:SEParator?
Function
・ The message unit separator for response messages is returned as 0 or 1.
・ The returned numerical value corresponds to the setting state of the data
separator as follows:
① If <NR1> = 0, the separator is a semicolon ";".
② If <NR1> = 1, the separator is a comma ",".
Note
With this query, if any error occurs, no response message is produced.
Response
syntax
Headers: ON
Headers: OFF
":TRANSMIT:SEPARATOR_<0/1>"
"<0/1>"
Errors
・ Query error/ If the response message is longer than 1000 bytes.
・ System error/ This query is not executed. A device dependent error occurs.
Example
Transmission
Response
Headers: ON
Headers: OFF
":TRAN:SEP?"
":TRANSMIT:SEPARATOR 1"
"1"
■ Sets the data terminator for response messages.
Syntax
TRANsmit:TERMinator_<NR1>
<NR1>
0, 1
Function
・ The data terminator for response messages is set as follows:
① If <NR1> = 0, the terminator is set to LF + EOI (GP-IB) or LF (RS-232C).
② If <NR1> = 1, the terminator is set to CR and LF + EOI (GP-IB) or
CR and LF (RS-232C).
・ <NR1> can be accepted in NRf format, but the decimal fraction is rounded
(rounding up a final 5).
Notes
・ After <NR1> has been rounded as explained above, if it becomes a numerical
value other than 0, the data terminator is set to CR and LF + EOI.
・ Even in the event of a system error, this command is executed.
Error
Command error/ If the setting data is not in NRf format
Example
Transmission
":TRAN:TERM 0"
Sets the data terminator to "LF + EOI".
TRANsmit:SEParator?
TRANsmit:TERMinator