5-16
Ratio and Delta
SCPI programming - ratio and delta
Programming examples
Ratio programming example — The following program fragment enables Ratio and
displays the result on the computer CRT.
CALL SEND (7, “:sens:volt:func ‘volt’”, status%) ‘ Select voltage function.
CALL SEND (7, “:sens:volt:chan 1”, status%) ‘ Select Channel 1 (DCV1) for
‘ range control.
CALL SEND (7, “:sens:volt:ratio”, status%) ‘ Enable Ratio.
CALL SEND (7, “:sens:data:fresh?”, status%) ‘ Request a fresh reading.
reading$ = SPACE$(80)
CALL ENTER(reading$, length%, 7, status%) ‘ Address 2182 to talk.
PRINT reading$ ‘ Display Ratio reading on CRT.
Table 5-1
SCPI commands - r
atio and delta
Commands Description Default
:SENSe[1] SENSe Subsystem:
:FUNCtion <name> Select voltage function; ‘VOLTage’. VOLT
:CHANnel <chan> Select range control channel; 1 or 2.
:VOLTage[:DC] Path to configure DC volts:
:RATio <b> Enable or disable Ratio (V1/V2). OFF
:DELTa <b> Enable or disable Delta. Not valid with
TEMP1 or TEMP2 selected.
OFF
:SYSTem:FAZero[:STATe] <b> Enable or disable Front Autozero. To double
the speed of Delta, disable Front Autozero.
ON
Note: Enabling Ratio disables Delta and conversely, enabling Delta disables Ratio.