Campbell Scientific CR6 CR6 Measurement and Control System - Page 211
Field Calibration CAL Files, 9.12.2 Field Calibration Programming, 9.12.3 Field-Calibration
![]() |
View all Campbell Scientific CR6 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 211 highlights
Section 7. Installation 7.9.12.1 Field Calibration CAL Files Calibration data are stored automatically, usually on the CR6 CPU: drive, in CAL files. These data become the source for calibration factors when requested by the LoadFieldCal() instruction. A CAL file is created automatically on the same CR6 memory drive and given the same name (with .cal extension) as the program that creates and uses it. For example, the CRBasic program file CPU:MyProg.CR6 generates the CAL file CPU:MyProg.cal. CAL files are created if a program using FieldCal() or FieldCalStrain() does not find an existing, compatible CAL file. Files are updated with each successful calibration with new calibration factors factors. A calibration history be recorded only if the program creates a data-storage output table with the SampleFieldCal() instruction. Note CAL files created by FieldCal() and FieldCalStrain() differ from files created by the CalFile() instruction (File Management (p. 384) ). 7.9.12.2 Field Calibration Programming Field-calibration functionality is included in a CRBasic program through either of the following instructions: • FieldCal() - the principal instruction used for non-strain gage type sensors. For introductory purposes, use one FieldCal() instruction and a unique set of FieldCal() variables for each sensor. Use variable arrays for more advanced applications. • FieldCalStrain() - the principal instruction used for strain gages measuring microstrain. Use one FieldCalStrain() instruction and a unique set of FieldCalStrain() variables for each sensor. Use variable arrays for more advanced applications. FieldCal() and FieldCalStrain() use the following supporting instructions: • LoadFieldCal() - an optional instruction that evaluates the validity of, and loads values from a CAL file. • SampleFieldCal - an optional data-storage output instruction that writes the latest calibration values to a data table (not to the CAL file). FieldCal() and FieldCalStrain() use the following reserved Boolean variable: • NewFieldCal - a reserved Boolean variable under CR6 control used to optionally trigger a data storage output table one time after a calibration has succeeded. See CRBasic Editor Help for operational details on CRBasic instructions. 7.9.12.3 Field-Calibration Wizard Overview The LoggerNet and RTDAQ field calibration wizard steps you through the calibration process by performing the mode-variable changes and measurements automatically. You set the sensor to known values and input those values into the wizard. When a program with FieldCal() or FieldCalStrain() is running, select LoggerNet or RTDAQ | Datalogger | Calibration Wizard to start the wizard. A list of measurements used is shown. 211
![](/manual_guide/products/campbell-scientific-cr6-cr6-measurement-control-a476969/211.png)