CogPMAlignPattern ImportFromCvlArchive Method Cognex VisionPro 9.8
Loads a ccPMAlignPattern class from the specified CVL archive file into this CogPMAlignPattern class. The archive should contain only a single ccPMAlignPattern class. Non-CVL parameters are set to their default VisionPro values.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 75.1.0.0
Syntax

public void ImportFromCvlArchive(
	string filename
)
Events

Event TypeReason
CogPMAlignPattern Changed

Fires after importing the archive.

The following state flags may be affected:

    CogPMAlignPattern Changed

    Fires if importing the CVL archive failed and the original pattern had to be retrained.

    The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    filename is NULL.

    CogFileOpenException

    filename could not be opened.

    CogPMAlignImportFromCVLErrorException

    filename could not be read.

    Remarks

    Loads a ccPMAlignPattern class from the specified CVL archive file into this CogPMAlignPattern class. Non-CVL parameters are set to their default VisionPro values.

    See Also