122
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Queries the setting of comparator function for channel 2.
Syntax
COMParator2?
Function
・ Returns the current setting of the comparator function for channel 2, as a
character data (ON/OFF).
・ The channel number must be specified, as otherwise channel 1 is presumed by
default.
Note
With this query, if any error occurs, no response message is produced.
Response
syntax
Headers: ON
Headers: OFF
":COMPARATOR2_<ON/OFF>"
"<ON/OFF>"
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
":COMP2?"
":COMPARATOR2 ON"
"ON"
■ Sets the items for comparator measurement on channel 2 of the comparator.
Syntax
COMParator2:ITEM_<A>
<A>
See Section 8.4.
Function
・ Sets the items for comparator measurement on channel 2 of the comparator.
・ The channel number must be specified, as otherwise channel 1 is presumed by
default.
Errors
・
Execution error/ If the setting data is other than <A>.
・
Command error/ If the setting data is not character data.
・ Device dependent error/ In the event of a system error
Example
Transmission
":COMP2:ITEM W"
Sets the item for comparator measurement to W on channel 2 of the
comparator.
COMParator2?
(Short form: COMP2?)
COMParator2:ITEM
(Short form: COMP2:ITEM)