14-33
IM 253421-01E
Communication Commands 2 (System of Commands Complying to the IEEE 488.2-1987 Standard)
14
14.3 Commands
14.3.11 RELay Group
The commands in the RELay group are used to make settings relating to, and inquiries about the comparator
function. This allows you to make the same settings and inquiries as when using the lower menus of [OUTPUT]-
“rELAY”. This group is only useful in case your instrument is equipped with the /CMP option.
:RELay
:
STAT e
<Space>
OFF
ON
<NRf>
?
MODE
<Space>
SINGle
DUAL
?
NCHannel
<x>
:
FUNCtion
<Space>
,
<NRf>
ELEMent
<x>
OFF
?
THReshold
<Space>
<NRf>
?
?
HCHannel
<x>
:
FUNCtion
<Space>
,
<NRf>
,
<NRf>
ORDer
<x>
ELEMent
<x>
OFF
?
THReshold
<Space>
<NRf>
?
?
DISPlay
<Space>
<NRf>
CHANnel
<x>
OFF
?
?
<Normal meas. function>
<Harmonic analysis
function>
;
;
;
RELay?
Function
Queries all settings relating to the comparator
function.
Syntax
RELay?
Example
RELAY?
→
:RELAY:STATE 0;MODE SINGLE;
NCHANNEL1:FUNCTION V,1;
THRESHOLD 600.0E+00;:RELAY:NCHANNEL2:
FUNCTION A,1;THRESHOLD 20.00E+00;:RELAY:
NCHANNEL3:FUNCTION W,1;
THRESHOLD 1.200E+03;:RELAY:NCHANNEL4:
FUNCTION PF,1;THRESHOLD1.000E+00;:RELAY:
HCHANNEL1:FUNCTION V,1,1;
THRESHOLD 600.0E+00;:RELAY:HCHANNEL2:
FUNCTION A,1,1;THRESHOLD 20.00E+00;:
RELAY:HCHANNEL3:FUNCTION W,1,1;
THRESHOLD 1.200E+03;:RELAY:HCHANNEL4:
FUNCTION PF,1;THRESHOLD 1.000E+00;:
RELAY:DISPLAY OFF
RELay:DISPlay
Function
Sets the comparator display OFF, or, in case of
ON, the channel to be displayed/queries the
current setting.
Syntax
RELay:DISPlay {<NRf>|CHANnel<1-4>|OFF}
RELay:DISPlay?
{<NRf>}=1 to 4:channel
Example
RELAY:DISPLAY 1
RELAY:DISPLAY?
→
:RELAY:DISPLAY 1
RELay:HCHannel<x>?
Function
Queries all settings related to relay output items
in case of harmonic analysis.
Syntax
RELay:HCHannel<x>?
<x>= 1 to 4
Example
RELAY:HCHANNEL1?
→
:RELAY:HCHANNEL1:
FUNCTION V,1,1;THRESHOLD 600.0E+00