VCalPoints Statement

Applies To
Vision Calibration

Description
VCalPoints enables you to teach points for a vision calibration from a SPEL+ program.

Usage

VCalPoints  Calibration [, var]
Calibration
Name of the Calibration to be calibrated
.
var
Integer variable that will contain the return status.

Values
Returns status in var.

If the user clicks [OK] button, var will contain “1”.

If the user clicks [Cancel] button, var will contain “0”.

Remarks
When VCalPoints executes, a dialog is displayed that allows the user to teach the calibration points for the specified calibration definition.

After teaching calibration points with VCalPoints, you must call VSave to make the changes permanent.

Note:
When the camera to be used for the calibration is connected to Compact Vision, the Epson RC+ needs to be connected to the Robot Controller. Otherwise, the command will result in an execution error.

Example

Integer status

VCalPoints "mycal", status
If status = 1 Then
    VCal "mycal"
    VSave
EndIf

See Also
VCal, Vision Sequences, VSave