Enter calibration mode – Measurement Computing TempScan/1100 User Manual
Page 236

A-40 API Command Reference
889897
TempScan / MultiScan User’s Manual
K
- Enter Calibration Mode
TYPE
Calibration
EXECUTION
Immediate
SYNTAX
Kkey
Enter Calibration Mode if the keyword (or password) is correct, where
key
is
the keyword in the form of a 5-digit number
nnnnn
. Therefore the
password can be no longer than 5 characters.
K?
Query
Kkey
as defined above.
DESCRIPTION
Note: This command is only for advanced users who perform their own calibration. It is not necessary
for normal, everyday operation.
The Enter Calibration Mode (
K
) command places the unit into Calibration Mode. While in Calibration Mode the
unit may be calibrated using any of the defined calibration commands. In addition, all other commands are valid
during Calibration Mode. However, if the unit is not in Calibration Mode, none of the defined calibration
commands are valid, and an error condition will be generated if any of these commands are issued.
The
K
command requires a pre-defined keyword as a parameter. This keyword must match the existing keyword
definition in order to enter Calibration Mode. If the keyword is not correct, Calibration Mode will not be entered
and no calibration commands will be processed.
For more information on manual calibration, see chapter System Calibration.
Note: If the keyword becomes lost or forgotten a new keyword can be issued with the Change Calibration
Keyword (
*K
) command.
EXAMPLE
PRINT#1, “OUTPUT07;K12345X”
‘ Enter Calibration Mode with the keyword
12345
PRINT#1, “OUTPUT07;U2X”
‘ Check for keyword error
PRINT#1, “ENTER07"
INPUT#2, C%
‘ Get the Calibration Status Register (
CSR
)
IF (C% AND 16) THEN
‘ Check for a keyword error
PRINT,"ERROR - INVALID KEYWORD”
HALT
‘ If there is an error, stop execution
ENDIF
‘ Connect short across desired channel
PRINT#1, “OUTPUT10;H524X”
‘ Calculate offset for slave card 16 (TempScan/1100)
‘ Wait for command to complete
‘
Wait
until
TRIGGER LED indicator stops flashing
‘ Apply negative precision voltage
PRINT#1, “OUTPUT10;G524,1X”
‘ Calculate negative gain for slave card 16
(TempScan/1100)
‘ Wait for command to complete
‘ Apply positive precision voltage
PRINT#1, “OUTPUT10;G524,1X”
‘ Calculate positive gain for slave card 16
(TempScan/1100)
‘ Wait for command to complete
‘ Remove precision voltage
PRINT#1, “EX”
‘ End Calibration Mode