Calibration Property

Applies To
Vision Sequence

Description
Sets / returns the calibration name used with the vision sequence.

Usage

VGet  Sequence.Calibration, var
VSet  Sequence.Calibration, value
Sequence
Name of a sequence or string variable containing a sequence name.
var
String variable that will contain the value of the property.
value
Name of a calibration or string expression containing a calibration name
.

Values
String value of up to 16 characters containing the name of the calibration

Defalut: None

Remarks
Calibration is required for most vision applications to calculate the proper results for the robot coordinate system and camera coordinate system. The Calibration property associates a previously defined calibration with the specified vision sequence. All calibrations which have been registered will appear in the Calibration property of the property list which allows the user to select which calibration to use for this sequence.

Each vision sequence may have only 1 calibration defined at a time. However, if you want to use a sequence with some different calibration data, you can set the Calibration property for the sequence at runtime prior to initiating the vision sequence. For example, you can run the sequence test with calibration calib1 and then run the sequence test with calibration calib2 as follows:

VSet test.Calibration, calib1
VRun test
VSet test.Calibration, calib2
VRun test

See Also
Vision Calibration, Vision Sequences