HP (Hewlett-Packard) B Network Router User Manual


 
Comments Executable when initiated: No
Coupled Command: No
Sending calibration constants with this command will cause the HP E1429 to
calibrate to these constants. A check is done on the values before usage and an
error (-222 "Data out of range") results if they are not within a valid range.
It is possible with this command for the user to have tables of calibration
constants which are downloaded for usage whenever the load characteristics of
what is connected to the front panel of the HP E1429 change. The storage to, and
retrieval from memory of these tables would be under the control of the host
controller, external to the HP E1429.
The query form of this command will return the calibration constants that the
digitizer is currently using; note that these may not be the same values which are
stored in non-volatile calibration memory unless the CALibration:STORe
command has been previously executed on these constants.
Related commands: CALibration[<chan>]:STORe
*RST Condition: none
Example 1 Sending an array of new cal constants (HP BASIC program)
ASSIGN @X TO 70905;FORMAT OFF
Turn format off for array data
OUTPUT 70905 USING "#,K";"CAL:DATA #3124"
Specify 124 bytes coming (62
constants)
OUTPUT @X;Array(*),CHR$(10),END Send the array of calibration constants
Example 2 Querying the calibration constants on channel 2 (HP BASIC program)
DIM Ndig$[1],Count$[9] Dimension parameters for header
ASSIGN @To TO 70905 I/O path to digitizer
ASSIGN @From TO 70905;FORMAT OFF I/O path from digitizer. Turn format off for
array data
OUTPUT @To;"FORM PACK" Set packed data format
OUTPUT @To;"CAL2:DATA?" Query for calibration data
ENTER @From USING "#,X,K,K";Ndig$;Count$[1;VAL(Ndig$)]
Strip the header preceeding the data
ALLOCATE INTEGER Cal_data(1:VAL(Count$)/2)
Allocate an array to hold the data
ENTER @From;Cal_data(*) Read in the calibration constants
ENTER @To USING "B";Junk Need to remove left over line feed
CALibration[<
chan
>]:DATA
200 Command Reference CALibration[<
chan
>] Subsystem