F_VN_GenerateCalibrationPatternReferencePoints
Generate reference points for common calibration patterns.
Syntax
Definition:
FUNCTION F_VN_GenerateCalibrationPatternReferencePoints : HRESULT
VAR_INPUT
ipReferencePoints : Reference To ITcVnContainer;
ePattern : ETcVnCalibrationPattern;
eOrigin : ETcVnCalibrationPatternOrigin;
nWidth : UDINT;
nHeight : UDINT;
fDistX : REAL;
fDistY : REAL;
hrPrev : HRESULT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
ipReferencePoints |
Reference To ITcVnContainer |
Returns the generated reference points (ContainerType_Vector_TcVnPoint3_REAL) |
ePattern |
Calibration pattern type | |
eOrigin |
Calibration pattern origin | |
nWidth |
UDINT |
Pattern width, i.e. number of pattern points in x direction |
nHeight |
UDINT |
Pattern height, i.e. number of pattern points in y direction |
fDistX |
REAL |
Distance between pattern points in x direction |
fDistY |
REAL |
Distance between pattern points in y direction |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
Required License
TC3 Vision Metrology 2D
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |