6-7
IM WT310E-17EN
Commands
1
2
3
4
5
6
7
8
9
App
Index
6.3
COMMunicate group
The commands in this group deal with communications.
There are no front panel keys that correspond to the commands in this group.
:COMMunicate?
Function
Queries all communication settings.
Syntax
:COMMunicate?
:COMMunicate:HEADer
Function
Sets or queries whether headers are attached to
query responses.
Syntax
:COMMunicate:HEADer {<Boolean>}
:COMMunicate:HEADer?
Example
:COMMUNICATE:HEADER ON
:COMMUNICATE:HEADER?
-> :COMMUNICATE:HEADER 1
Description Example of a response with a header
:INPUT:VOLTAGE:RANGE 150.0E+00
Example of a response without a header
150.0E+00
:COMMunicate:LOCKout
Function
Sets/clears local lockout.
Syntax
:COMMunicate:LOCKout {<Boolean>}
:COMMunicate:LOCKout?
Example
:COMMUNICATE:LOCKOUT ON
:COMMUNICATE:LOCKOUT?
-> :COMMUNICATE:LOCKOUT 1
:COMMunicate:REMote
Function
Sets this instrument to remote or local mode. ON
is remote mode.
Syntax
:COMMunicate:REMote {<Boolean>}
:COMMunicate:REMote?
Example
:COMMUNICATE:REMOTE ON
:COMMUNICATE:REMOTE?
-> :COMMUNICATE:REMOTE 1
:COMMunicate:STATus?
Function
Queries the line-specific status.
Syntax
:COMMunicate:STATus?
Example
:COMMUNICATE:STATUS?
-> 0
Description The meaning of each status bit is as follows:
Bit
RS-232
0
Parity error
1
Framing error
2
Break character detection
3 and higher
Always zero
When an event occurs, the corresponding bit
is set in the status. When the bit is read, it is
cleared.
Zero is returned for interfaces other than RS-232.
:COMMunicate:VERBose
Function
Sets or queries whether the response to a query
is returned fully spelled out or in its abbreviated
form.
Syntax
:COMMunicate:VERBose {<Boolean>}
:COMMunicate:VERBose?
Example
:COMMUNICATE:VERBOSE ON
:COMMUNICATE:VERBOSE?
-> :COMMUNICATE:VERBOSE 1
Description Example of a response fully spelled out
:INPUT:VOLTAGE:RANGE 150.0E+00
Example of a response in abbreviated form
:VOLT:RANG 150.0E+00
:COMMunicate:WAIT
Function
Waits for a specified extended event to occur.
Syntax
:COMMunicate:WAIT <Register>
<Register> = 0 to 65535 (extended event register,
see page 7-5)
Example
:COMMUNICATE:WAIT 1
Description For information about how to synchronize a
program using COMMunicate:WAIT, see page
5-8.
:COMMunicate:WAIT?
Function
Creates the response that is returned when a
specified extended event occurs.
Syntax
:COMMunicate:WAIT? <Register>
<Register> = 0 to 65535
(extended event
register; see page 7-5.)
Example
:COMMUNICATE:WAIT? 65535 -> 1