Voltage and Temperature Measurements 2-11
Programming examples - ACAL, Autozero, and LSYNC
Program Example 1 — This program fragment performs low-level ACAL:
NOTE: After sending the following commands, the :DONE and :INIT commands will not
execute until calibration is completed.
CALL SEND(7,”:cal:unpr:acal:init”,status%) ‘ Prepares 2182 for ACAL.
CALL SEND(7,”:cal:unpr:acal:step2”,status%) ’ Performs low-level ACAL.
CALL SEND(7,”:cal:unpr:acal:done”,status%) ‘ Exits ACAL mode.
CALL SEND(7, “:init:cont on”, status%) ‘ Starts continuous
‘ triggering.
Program Example 2 - This program fragment disables autozero:
CALL SEND(7,“:syst:azer off”,status%) ‘ Disables autozero.
Program Example 3 - This program fragment enables line cycle synchronization:
CALL SEND(7,“:syst:lsync on”,status%) ‘ Enables LSYNC.
Program Example 4 - This program fragment enables low charge injection for Channel 2:
CALL SEND(7,“:sens:volt:chan2:lqm on”,status%) ‘ Enables low charge
‘ injection.