117
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Queries the setting of comparator function for channel 1.
Syntax
COMParator1?
Function
・ Returns the current setting of the comparator function for channel 1, as a
character data (ON/OFF).
・ The channel number need not be specified, as 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
":COMPARATOR1_<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
":COMP1?"
":COMPARATOR1 ON"
"ON"
■ Sets the items for comparator measurement on channel 1 of the comparator.
Syntax
COMParator1:ITEM_<A>
<A>
See Section 8.4.
Function
・ Sets the items for comparator measurement on channel 1 of the comparator.
・ The channel number need not be specified, as 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
":COMP1:ITEM W"
Sets the item for comparator measurement to W on channel 1 of the
comparator.
COMParator1?
(Short form: COMP1?)
COMParator1:ITEM
(Short form: COMP1:ITEM)