124
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Queries the limit value of the comparator for channel 2.
Syntax
COMParator2:LIMit?
Function
・ Returns the comparator setting of the the limit value of the comparator for
channel 2.
・ The table number is the number that is currently set.
・ 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:LIMIT_<NR3,NR3>"
"<NR3,NR3>"
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:LIM?"
":COMPARATOR2:LIMIT 1.0000E+3,2.0000E+3?"
"1.0000E+3,2.0000E+3"
■ Enables or disables the comparator table for channel 2.
Syntax
COMParator2:SET_<ON/OFF>
Function
・ Enables or disables the comparator table when this command is received.
・ The channel number must be specified, as otherwise channel 1 is presumed by
default.
Errors
・
Execution error/ If the setting data is other than ON or OFF.
・
Command error/ If the setting data is not character data.
・ Device dependent error/ In the event of a system error.
Example
Transmission
":COMP2:SET ON"
Enables the comparator table.
COMParator2:LIMit?
(Short form: COMP2:LIM?)
COMParator2:SET
(Short form: COMP2:SET)