VCal Method

Description
This command allows you to execute a vision calibration cycle.

Syntax
Sub VCal (CalibName As String)
Sub VCal (CalibName As String, ByRef Status As Integer)
Sub VCal (CalibName As String, Parent As Form)
Sub VCal (CalibName As String, Parent As Form, ByRef Status As Integer)

Parameters

  • CalibName
    A string expression indicating the calibration scheme name for the current project.
  • Status
    Optional. An integer variable for which to return the calibration status. 0: Unsuccessful, 1: Successful
  • Parent
    Optional. A .NET form that is the parent of the window.

Remarks
When you execute the VCal method, the robot will move. You should verify that the operator is ready before executing VCal.

VCal only executes the calibration cycle. It does not allow you to teach points. Use VCalPoints to teach points. Also, you must first set up a calibration in Epson RC+ 8.0. See your Vision Guide manuals for details.

Use the Status parameter to check if the calibration was successful. If the calibration property ShowConfirmation is True, the confirmation dialog box is displayed. When the operator clicks the [OK] button, Status returns 1: Successful.

See Also
VCalPoints Method

VCal Example
VB Example:

Dim status As Integer  
m_spel.VCal("CAMCAL1", status)  

C# Example:

int status;  
m_spel.VCal("CAMCAL1", status);