LoadFieldCal (Load Calibration Values from FieldCal)

The LoadFieldCal function is used to load values from the FieldCal file into variables in the datalogger.

Syntax

LoadFieldCal ( CheckSig )

Remarks

Before loading the FieldCal values, the datalogger will check the program signature of the currently running program and the program signature stored in the FieldCal file. The CheckSig parameter is a ClosedBoolean Data type used to represent conditions or hardware that have only two states (true or false) such as flags and control ports. variable that determines whether or not the datalogger will load the FieldCal values if the program signatures do not match. If CheckSig is True, the program signature must match the signature in the .cal file for the values to load. If CheckSig is False, only the fields in the .cal field need to match for the values to load. The LoadFieldCal function returns True if the .cal found was successfully loaded or false if it is not.

If there is a fairly insignificant program change made that does not affect the calibrated values in the program, it may be desirable to load the FieldCal values even though the program signature has changed. Setting CheckSig to False will allow this. However, if the datalogger detects any changes in the structure of the FieldCal file, the LoadFieldCal function will fail. LoadFieldCal can be used to monitor whether or not the loading of values is successful.