Cognex.VisionPro.Exceptions NamespaceCognex VisionPro 9.23
 
Classes

  ClassDescription
Public classCogAcqAbnormalException
The exception that is thrown when the acquisition fails because of a fault in the acquisition hardware, or because of some other unusual problem. This failure should never happen in a properly functioning system. Some examples of abnormal failures are a blown camera fuse or a temperature alert that indicates that the frame grabber is overheating.
Public classCogAcqBadTicketException
The exception that is thrown when there is no outstanding StartAcquire  for the supplied ticket.
Public classCogAcqBadVideoFormatException
The exception that is thrown when the video format is not recognized, or no connected camera supports the video format.
Public classCogAcqCannotCreateFifoException
The exception that is thrown when a FIFO cannot be created (digital or linescan cameras onl
Public classCogAcqCannotSlaveException
The exception that is thrown when a FIFO cannot have a slave FIFO because of incompatible video formats or because there are no available ports for slave FIFOs.
Public classCogAcqEncoderOverrunException
The exception that is thrown when an encoder overrun occurs.
Public classCogAcqException
Public classCogAcqHardwareInUseException
The exception that is thrown when another process is using the hardware resource. Only a single process per computer can make use of Cognex hardware.
Public classCogAcqInvalidROIException
The exception that is thrown when the CogAcqROI is not valid.
Public classCogAcqMissedException
The exception that is thrown when the FIFO fills up. The size of the FIFO queue is 32 requests.
Public classCogAcqNoCamerasException
The exception that is thrown when no cameras are available with which to acquire an image.
Public classCogAcqNoFrameGrabberException
The exception that is thrown when a FIFO was not associated with a frame grabber.
Public classCogAcqNoOutstandingStartsException
The exception that is thrown when an acquisition ticket is -1, but there are no outstanding StartAcquire requests.
Public classCogAcqNotAllowedForSlaveException
The exception that is thrown when you attempt an illegal operation on a slave FIFO.
Public classCogAcqOldTicketException
The exception that is thrown when the ticked supplied corresponds to an image that has already been collected.
Public classCogAcqOtherFifoErrorException
The exception that is thrown when there was an error in another FIFO in the same master/slave group.
Public classCogAcqOverrunException
The exception that is thrown when a trigger could not be serviced.
Public classCogAcqRegisterAccessException
The exception that is thrown when a register read or write access has failed (digital cameras only.)
Public classCogAcqTimeoutException
The exception that is thrown when the Timeout period expires.
Public classCogAcqTimingException
The exception that is thrown when a timing error occurs.
Public classCogAcqTooManyStartsException
The exception that is thrown when no more acquisition requests can be made. The limit is 32 acquisition requests. You must call either CompleteAcquire or Flush to remove completed acquisition requests from the acquisition FIFO.
Public classCogAcqWrongTriggerModelException
The exception that is thrown when the acquisition trigger model selected is not compatible with the type of acquisition performed by an acquisition FIFO. For example, it is an error to call the Acquire method when the trigger model is 'Auto'. See TriggerModel for more information.
Public classCogBadFileFormatException
The exception that is thrown when the file format is not appropriate for the current use.
Public classCogBadFileModeException
The exception that is thrown when the current file mode does not permit the specified operation. For example, you may have opened a file in read mode, but tried to write to it.
Public classCogBlobDuplicateMeasureException
The exception that is thrown when the CogBlobMeasure you are adding to the collection of run-time measures has the same measure as an existing member of the collection. Only one object per measure is allowed.
Public classCogBlobDynamicThresholdNotComputedException
The exception that is thrown when the segmentation mode is HardDynamicThreshold but a dynamic threshold could not be computed, probably because you specified the same value for both the low and high tail percentages. Or because the input image contains only a very small range of grey levels.
Public classCogBlobEntireBlobExcludedException
The exception that is thrown when the entire blob has been excluded because you specified an extrema exclusion setting greater than or equal to the area of the blob.
Public classCogBlobInvalidMeasureException
The exception that is thrown when the connectivity mode is WholeImageGreyScale and you have requested one of the following measurements: BoundaryPixelLength, Acircularity, AcircularityRms, or Perimeter.
Public classCogBlobMeasureNotComputedException
The exception that is thrown when you attempt to access a measurement that was not computed because ComputeBlobRLE or ComputeInertia or ComputeTopology was false.
Public classCogBlobNoSubtractionImageException
The exception that is thrown when the segmentation mode is SubtractionImage and the subtraction image was null.
Public classCogBlobNoSubtractionImagePixelsException
The exception that is thrown when the segmentation mode is SubtractionImage and the subtraction image has no pixels.
Public classCogBlobSaveSegmentedImageBeforeMaskingErrorException
The exception that is thrown when SaveSegmentedImageBeforeMasking is set to False but the corresponding bit is set in the LastRunRecordDiagEnable property of the blob tool.
Public classCogBlobSaveSegmentedImageBeforeMorphologyErrorException
The exception that is thrown when SaveSegmentedImageBeforeMorphology is set to False but the corresponding bit is set in the LastRunRecordDiagEnable property of the blob tool.
Public classCogBlobSaveSegmentedImageErrorException
The exception that is thrown when SaveSegmentedImage is set to False but the corresponding bit is set in the LastRunRecordDiagEnable property of the blob tool.
Public classCogBlobSubtractionImageAlignmentErrorException
The exception that is thrown when the segmentation mode is SubtractionImage and the subtraction image does not completely overlap the processed region of the input image. This exception usually occurs because the subtraction image is too small or because incorrect offset values were supplied.
Public classCogCalibFixBadDestRectException
The exception that is thrown when the WarpDestinationRectangle does not intersect any filled pixels of the undistorted image.
Public classCogCalibFixCannotWarpException
The exception that is thrown during a nonlinear checkerboard calibration when either: (1) the input image does not contain all the pixels required by the nonlinear warper, or (2) the transform between the selected space of the input image and its pixels differs by more than a whole-pixel shift from the similar transformation object contained in the CalibrationImage.
Public classCogCalibFixCheckerboardMathUnstableException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the located tile vertices yield a numerically unstable result. If this occurs please verify that you have supplied a well-focused high-contrast image of the calibration plate. Use the diagnostic graphics to make sure that the tile vertices have been locate correctly, and make sure that you have specified correct values for the tile size.
Public classCogCalibFixDataMatrixDecodeErrorException
The exception that is thrown when a DataMatrix fiducial was expected, but no DataMatrix code that was successfully found could be successfully decoded.
Public classCogCalibFixDataMatrixNotFoundException
The exception that is thrown when a DataMatrix fiducial was expected but not found.
Public classCogCalibFixDataMatrixParseErrorException
The exception that is thrown when a DataMatrix fiducial was expected, but no DataMatrix code that was successfully decoded could be successfully parsed.
Public classCogCalibFixDotCorrespondenceFailedException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the dot correspondence has failed.
Public classCogCalibFixDotFeatureAnalysisFailedException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because dot feature analysis has failed.
Public classCogCalibFixDotGridMathUnstableException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the dots yield a numerically unstable result. Please verify that you are providing a well-focused, high-contrast image of a valid grid of dots calibration plate. Also verify that the dot centers were found correctly and that the physical tile size is accurate.
Public classCogCalibFixLinescanCalibrationImageRotatedException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the linescan calibration image is rotated.
Public classCogCalibFixLinescanNotLinearInYException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the computed transform is not linear in Y.
Public classCogCalibFixNoCalibrationImageException
The exception that is thrown when you attempt to calibrate using a null CalibrationImage.
Public classCogCalibFixNoDotSpacingMarkException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the axis-identifying spacing mark(s) appear to be missing from the fiducial.
Public classCogCalibFixNoFiducialException
The exception that is thrown when a fiducial mark was expected, but not found, during a call to Calibrate .
Public classCogCalibFixNotCalibratedException
The exception that is thrown when you attempt to perform a calibration using an object whose Calibrated property is False.
Public classCogCalibFixNPointTooFewPointsException
The exception that is thrown when you attempt to compute an N-Point calibration or N-Point fixture using too few points. The number of points required depends upon the value of DOFsToCompute.
Public classCogCalibFixNPointUnstableException
The exception that is thrown when you attempt to compute an N-Point calibration or N-Point fixture using points whose configuration is numerically unstable or ambiguous. For example, this exception will occur if all points lie along the x-axis and the requested value of DOFsToCompute asks to measure the amount of scaling along the y-axis.
Public classCogCalibFixTooFewDotsException
The exception that is thrown when a CogCalibCheckerboard cannot be calibrated because the CalibrationImage contains too few valid dots. At least 16 valid dots must be found. Please provide a well-focused, high-contrast CalibrationImage that contains a sufficient number of valid dots.
Public classCogCalibFixTooFewVerticesException
The exception that is thrown when you call Calibrate  and fewer than nine tile vertices are found.
Public classCogCalibFixWarperOutOfMemoryException
The exception that is thrown when a CogCalibCheckerboard nonlinear calibration fails because the warper could not allocate a sufficiently large destination image. This may be because the computed distortion is very large.
Public classCogCaliperBadScorerException
The exception that is thrown when a caliper's Execute method enounters an improper scoring object in either the SingleEdgeScorers collection or the TwoEdgeScorers collection. Single-edge scorers should not placed in the two-edge scorers collection and vice-versa.
Public classCogCaliperImageTooSmallException
The exception that is thrown when a caliper's Execute method finds that the supplied input image is too small to process.
Public classCogCaliperNoScorersException
The exception that is thrown when a caliper's Execute method finds no scoring objects in either the SingleEdgeScorers collection or the TwoEdgeScorers collection (whichever is relevant). This exception is also thrown if scoring objects are present but all disabled.
Public classCogCaliperUnknownScorerException
The exception that is thrown when a caliper's Execute method enounters an unrecognized scoring object in either the SingleEdgeScorers collection or the TwoEdgeScorers collection.
Public classCogCanceledException
The exception that is thrown when an operation has been canceled.
Public classCogCNLSearchAccuracyNotTrainedException
The exception that is thrown when a CogCNLSearchPattern has not been trained for the accuracy specified in Accuracy.
Public classCogCNLSearchAlgorithmNotTrainedException
The exception that is thrown when a CogCNLSearchPattern has not been trained for the algorithm specified in Algorithm.
Public classCogCNLSearchCanNotTrainException
The exception that is thrown when TrainImage does not contain a trainable image (not enough features).
Public classCogCNLSearchContrastNotComputedException
The exception that is thrown when attempting to read Contrast if the containing result was was not created using the 'LinearSearch' algorithm.
Public classCogCNLSearchEdgeScoreNotComputedException
The exception that is thrown when attempting to read EdgeScore if the containing result was was not created using the 'NonLinearCNLPAS' algorithm.
Public classCogCNLSearchImportFromCVLErrorException
The exception that is thrown when there was an error reading the contents of the file that contains the CVL search model.
Public classCogCNLSearchInvalidSearchPointException
The exception that is thrown when the supplied starting point for a point search would place the pattern outside of the input image. Note that this exception will properly consider any specified partial-match parameters.
Public classCogCNLSearchNoTrainedEdgeImageException
The exception that is thrown when a CogCNLSearchPattern was not trained using the 'NonLinearCNLPAS' algorithm (the only algorithm that generates an edge image).
Public classCogCNLSearchTooSmallToSearchException
The exception that is thrown when either the SearchRegion or InputImage of a CogCNLSearchTool is too small to contain the pattern. Note that this error condition may be thrown in cases where a partially matched pattern could fit within the image or region.
Public classCogCNLSearchTooSmallToTrainException
The exception that is thrown when either the TrainRegion or TrainImage of a CogCNLSearchPattern is too small to train. The minimum trainable image size is 8x8 pixels.
Public classCogCollectionDuplicateItemException
The exception that is thrown when the item already exists in the collection.
Public classCogCollectionDuplicateKeyException
The exception that is thrown when the key already exists in the collection. Key strings must be unique. Keys are case-sensitive.
Public classCogCollectionInvalidIndexException
The exception that is thrown when the specified index is not valid for the collection. The index value should be greater than zero and less than the collection item count.
Public classCogCollectionInvalidKeyException
The exception that is thrown when the specified key is not a valid key value. The key is a string that uniquely identifies an item in the collection.
Public classCogCollectionKeyNotFoundException
The exception that is thrown when the specified key string was not found in the collection. Keys are case-sensitive.
Public classCogCollectionNullItemException
The exception that is thrown when a collection item cannot be null or empty.
Public classCogCommCardDeviceConnectionException
Thrown by Comm Card interfaces to indicate the connection to the Comm Card from the host PC has been lost or corrupted.
Public classCogCouldNotStopException
CogCouldNotStopException
Public classCogDataAnalysisAllInvalidValuesException
The exception that is thrown when you attempt to access certain properties of CogStatistics while all of the buffered values within the supplied range are invalid.
Public classCogDataAnalysisNoSamplesException
The exception that is thrown when you attempt to access certain properties of CogStatistics while RunningNumSamples is 0.
Public classCogDimensioningCircleWouldBeEllipseException
The exception that is thrown when mapping the supplied input circle to the selected space of the input image would produce an ellipse.
Public classCogDisplayInvalidChildSpaceException
The exception that is thrown when a child graphic has a space name that is something other than '$'.
Public classCogDisplayInvalidColormapException
Public classCogDisplayNoAutoFifoSharingException
The exception that is thrown when live display tries to share a fifo that is configured in auto trigger mode.
Public classCogDisplayNoSlaveFifosException
The exception that is thrown when the user tries to run live display with a slave acquisition FIFO.
Public classCogDisplayStartStopNotReEntrantException
The exception that is thrown when an attempt was made to re-enter StartLiveDisplay or StopLiveDisplay, which these functions do not allow.
Public classCogDisplayUnknownGroupNameException
The exception that is thrown when the group name specified did not match any known group name.
Public classCogDisplayZoomOutOfRangeException
The exception that is thrown when the zoom value goes out of its range. The Zoom property must be between 2^-16 and 2^+16.
Public classCogException
This is the base class for all VisionPro exceptions.
Public classCogFfpAlreadyQueuedException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate failures caused by attempting to queue or buffer an item that has already been queued.
Public classCogFfpConnectionFaultedException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate an active connection has faulted.
Public classCogFfpConnectionRejectedException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate a connection request was rejected by the connection target.
Public classCogFfpInvalidOperationException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate that the current operation is invalid.
Public classCogFfpInvalidSlmpConfigException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate invalid SLMP parameters.
Public classCogFfpQueueFullException
Thrown by Comm Card Factory Floor Protocol interfaces to indicate that an attempt to queue or buffer an item has failed.
Public classCogFileOpenException
The exception that is thrown when there is an error opening a file.
Public classCogFileReadException
The exception that is thrown when there is an error reading a file.
Public classCogFileWriteException
The exception that is thrown when there is an error writing a file.
Public classCogFindAllCalipersFailedException
The exception that is thrown when all of the in a shape finding tool fail. This can happen when the the calipers are too small, or when all of the specified caliper regions fall completely outside of the input image.
Public classCogFindEdgeNotFoundException
The exception that is thrown when you attempt to access certain properties of a CogFindLineResult or a CogFindCircleResult or a CogFindEllipseResult while the Found property is false.
Public classCogFindInvalidExpectedShapeException
The exception that is thrown when the expected shape (ExpectedLineSegment or ExpectedCircularArc or ExpectedEllipticalArc of a shape finding tool suffers from any of the following: (1) The selected space of the expected shape is not a valid space of the input image; (2) The selected space is a nonqualified space name and more than one instance of it exists in the space tree of the input image; (3) The selected space is not a legal space name.
Public classCogFindShapeNotFoundException
The exception that is thrown when you attempt to access certain properties of a CogFindLineResults or a CogFindCircleResults or a CogFindEllipseResults object while the found shape is null.
Public classCogFitAmbiguousDataException
The exception that is thrown when a shape cannot be fit to the supplied set of points.
Public classCogFitInsufficientPointsException
The exception that is thrown when there are too few points to fit the chosen shape.
Public classCogFoundAcqFifoToolException
CogFoundAcqFifoToolException
Public classCogHardwareInUseException
Thrown by Comm Card interfaces to indicate attempted use of hardware that is already in use by another process.
Public classCogIDImageTooBigForMaxException
The exception that is thrown when the input image is too big to be run in ProcessingMode Max.
Public classCogIDInvalidCodePageException
The exception that is thrown when an invalid code page is specified.
Public classCogImageAllocatedException
The exception that is thrown when the memory for an image cannot be allocated.
Public classCogImageAllocateSizeException
The exception that is thrown when an image of the specified size cannot be allocated.
Public classCogImageBadCoordException
The exception that is thrown when the specified pixel coordinate does not exist in this image.
Public classCogImageBadSelectedSpaceNameException
The exception that is thrown when one of the following is true: (1) The selected space of the input image is not a valid space of the input image's coordinate space tree, (2) The input image's selected space is nonqualified and more than one instance of it exists in the input image's space tree, or (3) The input image's selected space is not a legal space name.
Public classCogImageBadTypeException
The exception that is thrown when an operation does not support the specified image's format.
Public classCogImageClippedException
The exception that is thrown when the image is clipped.
Public classCogImageFileMultipleImagesNotSupportedException
The exception that is thrown when the image provider does not support multiple images.
Public classCogImageFileUnknownImageFileExtensionException
The exception that is thrown when the specified image file's extension does not correspond to any of the registered image file providers.
Public classCogImageNoPixelsException
The exception that is thrown when the image has no pixels.
Public classCogImageNoTreeException
The exception that is thrown when no coordinate space tree was specified.
Public classCogIncompatibleFirmwareException
Thrown by Comm Card interfaces when the host system detects an incompatible version of firmware running on the card.
Public classCogInternalErrorException
The exception that is thrown when an internal error occurs.
Public classCogInvalidSetupException
CogInvalidSetupException
Public classCogInvalidTimeoutException
CogInvalidTimeoutException
Public classCogIOCloseFailureException
Public classCogIOHeartbeatAlreadyRunningException
Public classCogIOIllegalChangeException
Public classCogIOInvalidFrameGrabberTypeException
Public classCogIOInvalidLineTypeException
Public classCogIOLineCannotEnableException
The exception that is thrown when this I/O line cannot be enabled. It may be possible to enable it if other lines are first disabled.
Public classCogIOLineNotEnabledException
The exception that is thrown when the I/O line in use is not enabled. It must first be enabled before you can change its value.
Public classCogIOMissingFrameGrabberException
Public classCogIOOpenFailureException
Public classCogIOUndefinedIOConfigurationException
Public classCogIOUnmatchedIndexException
Public classCogIOWriteFailureException
Public classCogIPAffineTransformOverSizeException
The exception that is thrown when the output image calculated by CogAffineTransform's Execute method contains more than 32767 pixels in either direction.
Public classCogIPAffineTransformZeroSizeException
The exception that is thrown when the output image calculated by CogAffineTransform's Execute method contains less than 1 pixel in either direction.
Public classCogIPMissingPixelBoundDestRangeImageException
The CogIPOneImageMissingPixel bound destination image.
Public classCogIPMissingPixelFixedGlobalValueOutsideDstRangeException
The CogIPOneImageMissingPixel global value is outside destination image pixel.
Public classCogIPMissingPixelInvalidDirectionException
The CogIPOneImageMissingPixel invalid direction.
Public classCogIPMissingPixelInvalidGlobalValueModeException
The CogIPOneImageMissingPixel invalid global value mode.
Public classCogIPMissingPixelInvalidSmoothingException
The CogIPOneImageMissingPixel smoothing values must be between 1 and 64.
Public classCogIPMissingPixelInvalidValueComputationException
The CogIPOneImageMissingPixel invalid value computation.
Public classCogIPNoDataAvailableToProcessException
The exception that is thrown when the number of images to average is less than one.
Public classCogIPNoRegionOverlapException
The exception that is thrown when an image processing operation is attempted with two regions that do not overlap.
Public classCogIPNxMKernelSize
The NxM kernel dimensions must be positive odd integers (e.g. 1, 3, 5, 7, 9, 11, ...).
Public classCogIPNxMKernelValuesAllZero
The CogIPOneImageConvolveNxM kernel values may not all be zero.
Public classCogIPPolarUnwrapInvalidMapPointException
The exception that is thrown when attempting a polar mapping of the point at the center of an annular region.
Public classCogIPPolarUnwrapInvalidRegionException
The exception that is thrown when CogPolarUnwrap's Region is is neither a CogCircularAnnulusSection nor a CogEllipticalAnnulusSection.
Public classCogIPPolarUnwrapNullRegionException
The exception that is thrown when CogPolarUnwrap's Execute method is called with a null Region.
Public classCogIPPolarUnwrapRegionClippedException
The exception that is thrown when CogPolarUnwrap's Execute method discovers that some of the sampling points require data that lies outside the input image.
Public classCogIPPolarUnwrapSamplingXOverflowException
The exception that is thrown when CogPolarUnwrap's Execute method is called with with more than 32767 samples in the x-direction.
Public classCogIPPolarUnwrapSamplingYOverflowException
The exception that is thrown when CogPolarUnwrap's Execute method is called with with more than 32767 samples in the y-direction.
Public classCogIPRegionSizeMismatchException
The exception that is thrown if you call CogImageAverage's Add method and the resulting image does not have the same number of rows and columns as previous calls to this method.
Public classCogIteratorEndOfContainerException
The exception that is thrown when the iterator is at the end of the collection.
Public classCogIteratorInvalidIteratorException
The exception that is thrown when the iterator is not positioned at a valid item.
Public classCogIteratorInvalidPositionException
The exception that is thrown when the specified iterator position is out of range or not valid.
Public classCogJobManagerOnlineException
Used when the user tries to add or remove a job while CogJobManager is online.
Public classCogJobNoManagerException
CogJobNoManagerException
Public classCogLinescanDistortionCorrectionExtrapolatedPositionsDoNotFillXSpanException
The exception that is thrown when the X span is not filled by extrapolated positions.
Public classCogLinescanDistortionCorrectionInputImageDoesNotContainXSpanException
The exception that is thrown when the input image does not contain the train X span.
Public classCogLinescanDistortionCorrectionTooFewTrainPositionsException
The exception that is thrown during training when there are fewer than 4 defined train positions.
Public classCogLinescanDistortionCorrectionTrainImageHasTooFewFeaturesException
The exception that is thrown when the train image has too few featuers.
Public classCogLinescanDistortionCorrectionTrainImageNotStripedException
The exception that is thrown when the train image does not appear to have the required vertical stripes.
Public classCogLinescanDistortionCorrectionTrainPositionOutsideXSpanException
The exception that is thrown during training when a train position falls outside the train X span.
Public classCogLinescanDistortionCorrectionTrainPositionsNotInIncreasingOrderException
The exception that is thrown during training when TrainMode is Positions and the defined train positions are not in increasing order.
Public classCogMathUnsupportedGeometryException
The exception that is thrown when the mathematical operation is not supported with the specified coordinate transformations.
Public classCogMaximizerCancelledException
The exception that is thrown when the Evaluate event handler did not set ContinueRunning to true.
Public classCogMissingAcqFifoException
CogMissingAcqFifoException
Public classCogNoDataReadySignalException
Used when a data ready signal output is missing.
Public classCogNoFileOpenException
The exception that is thrown when you try to read from or write to a file, but no file is open.
Public classCogNotRunnableException
CogNotRunnableException
Public classCogNotStoppedException
CogNotStoppedException
Public classCogOCArrangerInvalidFontModelException
The exception that is thrown when one of the character positions has a font model name and instance that is not a member of the font.
Public classCogOCArrangerNoCharacterPositionsException
The exception that is thrown when the collection is empty.
Public classCogOCArrangerNoFontException
The exception that is thrown when the Font property is null.
Public classCogOCFontCVLArchiveErrorException
The exception that is thrown when an error occurs reading or writing a CVL font archive.
Public classCogOCFontDuplicateNameInstanceException
The exception that is thrown when more than one CogOCFontModel has the same Name and Instance properties.
Public classCogOCFontModelImageTooSmallException
The exception that is thrown when at least one of the nonblank font models has a height or a width less than 3 pixels.
Public classCogOCFontNoModelImageException
The exception that is thrown when a nonblank CogOCFontModel has a null Image property.
Public classCogOCFontNoModelsException
The exception that is thrown when FontModels is null or empty.
Public classCogOCFontNotCompiledException
The exception that is thrown when the character font is not compiled.
Public classCogOCRMaxClassifierCannotTrainException
Thrown by the CogOCRMaxClassifier if SaveTrainCharacters == false for algorithms that must train on all training characters at once.
Public classCogOCRMaxClassifierCannotTrainSpaceException
Thrown by the CogOCRMaxClassifier if one of the character is a the space character.
Public classCogOCRMaxClassifierNoSavedDataException
Thrown by the CogOCRMaxClassifier if the Retrain() is called and the classifier is has no saved training data.
Public classCogOCRMaxClassifierNotStartTrainedException
Thrown if the Classifier has not had start train called on it.
Public classCogOCRMaxClassifierNotTrainedException
Thrown by the CogOCRMaxClassifier if the Retrain() is called and the classifier is not trained.
Public classCogOCRMaxClassifierParamsException
Thrown by the CogOCRMaxClassifier if the classifier is configured with illegal parameters.
Public classCogOCRMaxFieldingParamsException
Thrown by the CogOCRMaxCFielding if the fielding is configured with illegal parameters.
Public classCogOCRMaxFontIllegalCharacterException
Thrown by the CogOCRMaxFont if a user attempts to add an illegal character.
Public classCogOCRMaxInvalidTuneParamsException
Raised if the OCRMax tune parameters are not configured correctly.
Public classCogOCRMaxInvalidTuneRecordException
Raised if an OCRMax tune record is not configured correctly.
Public classCogOCRMaxSegmenterParamsException
Thrown by CogOCRMaxSegmenter.Execute if the segmenter is configured with illegal parameters.
Public classCogOCRMaxSwapCharParamsException
Raised if the SwapChar params are not configured properly.
Public classCogOCRMaxUndocumentedCvlException
Thrown by OCRMax if the tool returns an unknown CVL exception.
Public classCogOCVInvalidFontModelException
The exception that is thrown when one of the character positions has a font model name and instance that is not a member of the font.
Public classCogOCVInvalidPatternPositionException
The exception that is thrown when the pattern position is not valid because of one of the following reasons: (1) Its selected space name is not a valid space of the input image's space tree, (2) Its selected space name is a nonqualified space name and more than one instance of it exists in the input image's space tree, or (3) Its selected space name is not a legal space name.
Public classCogOCVNoCharacterPositionsException
The exception that is thrown when the CharacterPositions collection is empty.
Public classCogOCVNoFontException
The exception that is thrown when the Font property is null.
Public classCogOCVNoFontModelFoundException
The exception that is thrown when no font model was found (i.e. the Status propert is set to 'Failed').
Public classCogOCVNoFontModelsException
The exception that is thrown when at least one of the character positions has no font models listed for verification.
Public classCogOCVNoNormalModelsException
The exception that is thrown when the OCV pattern does not contain any nonblank models.
Public classCogOperatingModeMismatchException
CogOperatingModeMismatchException
Public classCogOperatorInvalidRegionException
The exception that is thrown when the operator cannot use the supplied region because it is invalid.
Public classCogOperatorInvalidShapeException
The exception that is thrown when one of the following is true: (1) The selected space of the shape is not a valid space in the input image's coordinate space tree, (2) The selected space of the shape is nonqualified and more than one instance of the name is present in the input image's coordinate space tree, or (3) The selected space of the shape is not a legal space name.
Public classCogOperatorNoInputImageException
The exception that is thrown when the operator does not have an input image.
Public classCogOperatorNoRunParamsException
The exception that is thrown when no run parameters are specified for the operator.
Public classCogOperatorNoTrainImageException
The exception that is thrown when the operator does not have a train image.
Public classCogOperatorNotTrainedException
The exception that is thrown when the operator is not trained.
Public classCogParseAQNException
Public classCogPatInspectCorrelationScoreNotComputedException
The exception that is thrown when ComputeCorrelationScore is False.
Public classCogPatInspectImageTooSmallException
The exception that is thrown when the width or height of TrainImage is less than 3 pixels.
Public classCogPatInspectNormalizationFailedException
The exception that is thrown when the portion of TrainRegion mapped onto the input image does not contain enough data to perform normalization.
Public classCogPMAlignBadWeightsException
The exception that is thrown when none of the shape models in TrainShapeModels have effective weights greater than 0. This exception is only thrown if TrainMode is 'ShapeModelsWithImage' or 'ShapeModelsWithTransform'.
Public classCogPMAlignCanNotTrainException
The exception that is thrown when any of the following occur: (1) the TrainImageMask contains illegal values, (2) the training image has no features, or (3) no part of the supplied TrainShapeModels lie within the TrainRegion.
Public classCogPMAlignImageTypeNotSupported
The exception that is thrown when the image type is not supported.
Public classCogPMAlignImportFromCVLErrorException
The exception that is thrown when the ImportFromCvlArchive method of CogPMAlignPattern encounters an archive file that cannot be read.
Public classCogPMAlignInvalidAlgorithmForPatFlexXFormException
The exception that is thrown when the pattern was not trained for PatFlex and RunAlgorithm is not set to 'PatFlex' and the user tries to call methods [M:Cognex.VisionPro.PMAlign.CogPMAlignResult.MapPointRunTimeImageFromTrainTimeImage(System.Double, System.Double, System.Double@, System.Double@)] or [M:Cognex.VisionPro.PMAlign.CogPMAlignResult.MapPointTrainTimeImageFromRunTimeImage(System.Double, System.Double, System.Double@, System.Double@)].
Public classCogPMAlignInvalidCompositeTrainAlgorithm
The exception that is thrown when the pattern was trained for PatFlex or PatMaxPerspective and the pattern is a composite pattern.
Public classCogPMAlignInvalidCompositeTrainMode
The exception that is thrown when the pattern was trained with non-image train mode and the pattern is a composite pattern.
Public classCogPMAlignInvalidOutsideRegionThresholdException
The exception that is thrown when the pattern was trained for PatFlex or PatMaxPerspective and the OutsideRegionThreshold is not set to 0.
Public classCogPMAlignInvalidPCPException
The exception that is thrown when the PCPLoadFromFile method of CogPMAlignPattern encounters an invalid PCP string. If this error occurs, any existing PCP string is lost.
Public classCogPMAlignModelTooLargeException
The exception that is thrown when TrainShapeModels contains an infinite shape, such as a CogLine, and TrainRegion is null. This exception is only thrown if TrainMode is 'ShapeModelsWithImage' or 'ShapeModelsWithTransform'.
Public classCogPMAlignNoShapeModelsException
The exception that is thrown when TrainShapeModels is either null or empty. This exception is only thrown if TrainMode is 'ShapeModelsWithImage' or 'ShapeModelsWithTransform'.
Public classCogPMAlignPatFlexNotTrainedException
The exception that is thrown when the pattern was not trained for PatFlex and RunAlgorithm is set to 'PatFlex'.
Public classCogPMAlignPatMaxNotTrainedException
The exception that is thrown when the pattern was not trained for PatMax and RunAlgorithm is set to 'PatMax'.
Public classCogPMAlignPatMaxPerspectiveNotTrainedException
The exception that is thrown when the pattern was not trained for PatMaxPerspective and RunAlgorithm is set to 'PatMaxPerspective'.
Public classCogPMAlignPatQuickNotTrainedException
The exception that is thrown when the pattern was not trained for PatQuick and RunAlgorithm is set to 'PatQuick'.
Public classCogPMAlignPatternIgnorePolarityMustBeTrueException
The exception that is thrown when the composite pattern was trained with ignore polarity set to true and the pattern polarity is set to false.
Public classCogPMAlignSaveDeformationInfoErrorException
The exception that is thrown when the SaveDeformationInfo property of ICogPMAlignFlexRunParams does not agree with the FlexDeformationGrid bit of LastRunRecordDiagEnable.
Public classCogPMAlignSaveMatchInfoErrorException
The exception that is thrown when the SaveMatchInfo property of CogPMAlignRunParams does not agree with the ResultsMatchFeatures bit of LastRunRecordDiagEnable.
Public classCogPMAlignUndefinedPolarityException
The exception that is thrown when TrainShapeModels contains at least one shape model with an indeterminate polarity and the IgnorePolarity property is false. This exception is only thrown if TrainMode is 'ShapeModelsWithImage' or 'ShapeModelsWithTransform'.
Public classCogPMAlignWrongTrainModeException
The exception that is thrown when TrainMode is incompatible with the requested PatMax operation.
Public classCogPrioInvalidBankException
Thrown by Comm Card Precision I/O interfaces to indicate attempted use of and invalid I/O bank.
Public classCogPrioInvalidLineException
Thrown by Comm Card Precision I/O interfaces to indicate attempted use of and invalid I/O line.
Public classCogQueueEmptyException
CogQueueEmptyException
Public classCogResultsAnalysisCircularDependencyException
Exception indicating that an expression, either directly or indirectly, depends on itself. Circularities in the expression object graph are not solvable.
Public classCogResultsAnalysisDependencyEvaluationException
Exception indicating that the expression named in ExpressionName could not be evaluated because a dependent expression failed to evaluate successfully.
Public classCogResultsAnalysisExpressionException
Base class for all results analysis exceptions.
Public classCogRLEBufferCombineFailedException
The exception that is thrown when a CogRLEBuffer cannot combine two images. Typically, this error means that the subimage exceeds the primary image's bounds.
Public classCogRLEBufferCombineSubImageExtentException
The exception that is thrown when the subimage extends beyond the size of the RLE buffer.
Public classCogRLEBufferCombineSubImageOffsetException
The exception that is thrown when the subimage's x- or y-position is less than the RLE buffer's (x, y) position. The subimage must fit entirely in the RLE buffer.
Public classCogRLEBufferCombineSubImageSizeException
The exception that is thrown when the subimage size is greater than the RLE buffer. The subimage must fit entirely in the RLE buffer.
Public classCogRLEBufferNotInitializedException
The exception that is thrown when the RLE buffer is not initialized.
Public classCogScheduledEventOverflowException
Thrown by Comm Card Precision I/O to indicate the maximum number of scheduled events has been reached.
Public classCogScheduledEventTooLateException
Thrown by Comm Card Precision I/O to indicate an event could not be scheduled because it would have occurred in the past.
Public classCogSearchMaxImageTooSmallException
Thrown if the TrainImage is too small to train.
Public classCogSearchMaxImproperMaskException
Thrown if a SearchMax ImageMask is not allocated or contains pixels that have values other than 0 and 255.
Public classCogSearchMaxRegionContainsNoFeaturesException
Thrown if the TrainRegion contains no trainable features at the current grainularity settings.
Public classCogSearchMaxTrainedTemplatesMissingRuntimeDOFsException
Thrown if the pattern was trained using TrainMode CreateDOFTemplates and the trained templates do not allow the tool to search the full range of runtime DOFs enabled in the runparams zones. The traintime templates must incorporate all possible poses in the runtime search.
Public classCogSecurityViolationException
The exception that is thrown when security is not enabled for the vision tool being used. See the topic titled 'Resolving Security-Related Error Messages' in the online help for more information.
Public classCogShapeAddWontBreakContourException
The exception that is thrown when the contour vertex connection flags are incompatible. (See CogGeneralContourVertexConstants).
Public classCogShapeAlreadyAShapeModelException
The exception that is thrown when this shape is a CogGeneralContour and is already referenced by an existing shape model.
Public classCogShapeBadContourChainClosureException
The exception that is thrown when the contour vertex connection flags are incompatible. (See CogGeneralContourVertexConstants).
Public classCogShapeBadContourSegConnException
The exception that is thrown when the contour vertex connection flags are incompatible. (See CogGeneralContourVertexConstants).
Public classCogShapeBadContourSegmentSetException
The exception that is thrown when the starting segment is positioned after the ending segment.
Public classCogShapeBadContourSegTypeException
The exception that is thrown when the type of the contour segment is not appropriate for the operation you requested.
Public classCogShapeCannotConvertException
The exception that is thrown when the specified shape type cannot be used because its internal representation cannot be converted.
Public classCogShapeCannotEncloseException
The exception that is thrown when the shape cannot be enclosed by a rectangle.
Public classCogShapeCantParentShapeException
The exception that is thrown when the shape cannot be added as a child because it already has a parent.
Public classCogShapeComplexPolygonException
The exception that is thrown when the polygon is complex.
Public classCogShapeCoordinatesMustDifferException
The exception that is thrown when the start point and endpoint coordinates must differ.
Public classCogShapeDegenerateContourException
The exception that is thrown when the contour contains no segments.
Public classCogShapeDegenerateEllipticalArcSegException
The exception that is thrown when points on the elliptical arc segment are colinear.
Public classCogShapeDegeneratePolygonException
The exception that is thrown when the polygon does not have enough vertices for the operation you requested.
Public classCogShapeDegenerateShapeException
The exception that is thrown when the shape is degenerate.
Public classCogShapeExtractNoOpenShapesException
The exception that is thrown when Closure is set to either 'Open' or 'DontCare' but Vocabulary specifies no open shapes.
Public classCogShapeExtractNoProximityShapeException
The exception that is thrown when RankMode is set to 'Proximity' but ProximityShape is null.
Public classCogShapeNoCompositeChildrenException
The exception that is thrown when the composite shape has no children.
Public classCogShapeNotAffineRectException
The exception that is thrown when the specified region must be an affine rectangle, but is not.
Public classCogShapeNotRectangleException
The exception that is thrown when the specified points do not describe a rectangle.
Public classCogShapePenKeyInUseException
The exception that is thrown when the pen with the specified key is in use.
Public classCogSpaceTreeDuplicateChildNameException
The exception that is thrown when you attempt to add a duplicate nonqualified coordinate space name to a single node in a CogCoordinateSpaceTree or Cog3DCoordinateSpaceTree. All nonqualified space names that share the same parent node must be unique. For more information, see the topic titled 'Coordinate Space Names' in the online User's Guide.
Public classCogSpaceTreeFixturedSpaceNameCollisionException
The exception that is thrown when a fixture tool attempts to add a space to a coordinate space tree that already has a space by that name. This exception is only generated by CogFixture or CogFixtureNPointToNPoint.
Public classCogSpaceTreeInvalidNameSyntaxException
The exception that is thrown when the syntax of the supplied coordinate space name is invalid. For more information, see the topic titled 'Coordinate Space Names' in the online User's Guide.
Public classCogSpaceTreeNameNotInTreeException
The exception that is thrown when the specified coordinate space name was not found in the CogCoordinateSpaceTree or Cog3DCoordinateSpaceTree.
Public classCogSpaceTreeNameNotUniqueException
The exception that is thrown when a nonqualified coordinate space name is expected to be unique within a CogCoordinateSpaceTree or Cog3DCoordinateSpaceTree, but is not unique.
Public classCogTimeoutExpiredException
The exception that is thrown when the specified timeout period has elapsed.
Public classCogToolNoOperatorException
The exception that is thrown when an operator object was not found for this tool.
Public classCogToolNoResultException
The exception that is thrown when the result is not available.
Public classCogToolSpaceNameMismatchException
The exception that is thrown when the selected space name of the image and all shapes must be equivalent, but are not.
Public classCogTransformCantPopEmptyComposedException
The exception that is thrown when the Count of a Cognex.VisionPro.CogTransform2DComposed is zero and you attempt to call either the PopFromRight or PopFromLeft methods of that object.
Public classCogTransformNotLinearException
The exception that is thrown when a nonlinear transform is used in an operation that requires only linear transforms.
Public classCogTransformSingularException
The exception that is thrown when a transform is singular.
Public classCogTransformSingularPointException
The exception that is thrown when the transform is singular at the given point.
Public classCogTransformTooFewPointsLinFitException
The exception that is thrown when too few points were provided to compute a best fit linear transform.
Public classCogUnsupportedHardwareException
The exception that is thrown when VisionPro does not support this hardware.