Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 85.1.0.0
Parameters
- filename
- Type: System String
| Event Type | Reason |
|---|---|
| CogPMAlignPattern Changed | Fires when the string changes. The following state flag may be affected: |
| CogPMAlignPattern Changed | Fires when the string changes and the pattern was untrained. The following state flags may be affected: |
| CogPMAlignPattern Changed | Fires when the string was not changed successfully (CogPMAlignInvalidPCPException), but the pattern was untrained. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | filename is an empty string. |
| CogFileOpenException | filename could not be opened. |
| CogPMAlignInvalidPCPException | filename contains an invalid PCP string. If this error occurs, any existing PCP string is lost and the contents of the PCPString are undefined. |
Customizes this PMAlign pattern using the customization string (PCP) in the file specified by Filename.
Note: Calling this function causes this CogPMAlignPattern to become untrained.