| MikroCAD SDK Library

- Home
- All Types
- Files

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Enums
MeasurementErrorCodes.h File Reference

## Description

MikroCAD SDK Error codes.

Author
  LMI Technologies

Go to the source code of this file.

## Enums
enum | MeasurementErrorCode { MeasurementErrorCode_None = 0, MeasurementErrorCode_NotInitialized = -1, MeasurementErrorCode_Initializing = -2, MeasurementErrorCode_FunctionNotImplemented = -3, MeasurementErrorCode_InvalidVersion = -4, MeasurementErrorCode_InvalidFileFormat = -5, MeasurementErrorCode_FileSaveError = -6, MeasurementErrorCode_SensorLibrary = -11, MeasurementErrorCode_SensorLibraryFunc = -12, MeasurementErrorCode_BufferLocked = -21, MeasurementErrorCode_CheckSumError = -22, MeasurementErrorCode_DirectoryNotExists = -31, MeasurementErrorCode_FileNotExists = -32, MeasurementErrorCode_FileAlreadyExists = -33, MeasurementErrorCode_ConnectionToSensor = -100, MeasurementErrorCode_DeviceID = -101, MeasurementErrorCode_Pointer = -102, MeasurementErrorCode_Unknown = -103, MeasurementErrorCode_InvalidDataSize = -104, MeasurementErrorCode_DataArrayFormat = -151, MeasurementErrorCode_NoParameterSet = -161, MeasurementErrorCode_SetParameter = -162, MeasurementErrorCode_ReadCameraImg = -163, MeasurementErrorCode_WriteParameter = -164, MeasurementErrorCode_ReadParameter = -165, MeasurementErrorCode_ReadParameterLimits = -166, MeasurementErrorCode_ParameterNotAvailable = -167, MeasurementErrorCode_ParameterOutsideOfLimits = -168, MeasurementErrorCode_ParameterExists = -169, MeasurementErrorCode_ParameterNotExists = -170, MeasurementErrorCode_InitParameter = -171, MeasurementErrorCode_ArrayIndex = -172, MeasurementErrorCode_DataConversion = -173, MeasurementErrorCode_InvalidSensorType = -174, MeasurementErrorCode_InvalidParameterType = -175, MeasurementErrorCode_ReadTextureImg = -176, MeasurementErrorCode_WrongMeasMode = -181, MeasurementErrorCode_MeasParamSet = -201, MeasurementErrorCode_FilterParamSet = -202, MeasurementErrorCode_Filter = -203, MeasurementErrorCode_MeasProgNameExists = -204, MeasurementErrorCode_MeasProgNotExists = -205, MeasurementErrorCode_NoDataTransfer = -300, MeasurementErrorCode_InvalidDataTransferID = -301, MeasurementErrorCode_DataTransfer = -302, MeasurementErrorCode_ReadDataFromSensor = -303, MeasurementErrorCode_WriteDataToSensor = -304, MeasurementErrorCode_SequenceTooMuchImages = -1001, MeasurementErrorCode_SequenceFormat = -1002, MeasurementErrorCode_SequenceItem = -1003, MeasurementErrorCode_SequenceIndex = -1004, MeasurementErrorCode_SequenceAlloc = -1005, MeasurementErrorCode_SequenceImageToSensor = -1006, MeasurementErrorCode_SequenceProjectImage = -1007, MeasurementErrorCode_SequenceStart = -1008, MeasurementErrorCode_SequenceStop = -1009, MeasurementErrorCode_SequenceAdd = -1010, MeasurementErrorCode_MeasSequenceItem = -1021, MeasurementErrorCode_SequenceTiming = -1022, MeasurementErrorCode_SequenceNoImage = -1023, MeasurementErrorCode_SequenceTexture = -1024, MeasurementErrorCode_NumBufferItems = -1101, MeasurementErrorCode_NotEnoughValidData = -1201, MeasurementErrorCode_CalcXYZ = -1202, MeasurementErrorCode_OutData = -1203, MeasurementErrorCode_GetCameraImage = -1204, MeasurementErrorCode_ProjectImage = -1205, MeasurementErrorCode_PreFilter = -1221, MeasurementErrorCode_NotCalib = -1301, MeasurementErrorCode_CalibData = -1302, MeasurementErrorCode_CalibHeightImg = -1303, MeasurementErrorCode_InvalidCalibMode = -1304, MeasurementErrorCode_CalibCalcPlane = -1305, MeasurementErrorCode_CalibCalcGroove = -1306, MeasurementErrorCode_CalibReadParameter = -1307, MeasurementErrorCode_CalibWriteParameter = -1308, MeasurementErrorCode_CalibAOI = -1309, MeasurementErrorCode_WrongCalibMode = -1310, MeasurementErrorCode_CalibPowerSpectrum = -1311, MeasurementErrorCode_Calculation = -1401, MeasurementErrorCode_TooLittleValues = -1421, MeasurementErrorCode_CameraDriver = -1491, MeasurementErrorCode_ProjectorDriver = -1492, MeasurementErrorCode_Camera = -1501, MeasurementErrorCode_GrabTimeout = -1502, MeasurementErrorCode_InvalidPixelFormat = -1503, MeasurementErrorCode_InvalidFrameNumber = -1504, MeasurementErrorCode_InvalidFrameSize = -1505, MeasurementErrorCode_Projector = -1541, MeasurementErrorCode_DeviceNotRegistered = -1581, MeasurementErrorCode_DeviceNotFound = -1582, MeasurementErrorCode_OpenDevice = -1583, MeasurementErrorCode_ProjectorCameraSync = -1584, MeasurementErrorCode_ListDevices = -1585, MeasurementErrorCode_ConfigReadMeasProg = -9001, MeasurementErrorCode_ConfigWriteMeasProg = -9002, MeasurementErrorCode_ConfigMeasProgTransferToSensor = -9003, MeasurementErrorCode_ConfigMeasProgTransferFromSensor = -9004, MeasurementErrorCode_ConfigReadAdjustments = -9021, MeasurementErrorCode_ConfigWriteAdjustments = -9022, MeasurementErrorCode_ConfigAdjustmentsTransferToSensor = -9023, MeasurementErrorCode_ConfigAdjustmentsTransferFromSensor = -9024, MeasurementErrorCode_ConfigReadBasisConfig = -9025, MeasurementErrorCode_ConfigWriteBasisConfig = -9026, MeasurementErrorCode_ConfigReadCalibData = -9027, MeasurementErrorCode_ConfigWriteCalibData = -9028, MeasurementErrorCode_ConfigReadData = -9029, MeasurementErrorCode_ConfigWriteData = -9030, MeasurementErrorCode_ConfigWrongSensorType = -9031, MeasurementErrorCode_ConfigReadHeaderData = -9032, MeasurementErrorCode_ConfigWriteHeaderData = -9033 }
| Error codes. More...

## Enum Fields

enum MeasurementErrorCode

Error codes.

Enumerator
MeasurementErrorCode_None | No error.
MeasurementErrorCode_NotInitialized | Not or incorrect initialized.
MeasurementErrorCode_Initializing | Error on initializing.
MeasurementErrorCode_FunctionNotImplemented | Function is not implemented.
MeasurementErrorCode_InvalidVersion | Invalid version of a software component.
MeasurementErrorCode_InvalidFileFormat | Invalid file format.
MeasurementErrorCode_FileSaveError | Cannot save file.
MeasurementErrorCode_SensorLibrary | Error on loading sensor library.
MeasurementErrorCode_SensorLibraryFunc | Error on loading sensor library function.
MeasurementErrorCode_BufferLocked | A buffer is locked.
MeasurementErrorCode_CheckSumError | Check sum error.
MeasurementErrorCode_DirectoryNotExists | Directory not exists.
MeasurementErrorCode_FileNotExists | File not exists.
MeasurementErrorCode_FileAlreadyExists | File already exists.
MeasurementErrorCode_ConnectionToSensor | No connection to sensor.
MeasurementErrorCode_DeviceID | Invalid device ID.
MeasurementErrorCode_Pointer | Invalid pointer.
MeasurementErrorCode_Unknown | Unknown error.
MeasurementErrorCode_InvalidDataSize | Invalid data size.
MeasurementErrorCode_DataArrayFormat | Invalid data array format.
MeasurementErrorCode_NoParameterSet | No parameter set present.
MeasurementErrorCode_SetParameter | Error on setting the parameters.
MeasurementErrorCode_ReadCameraImg | Error on reading a camera image.
MeasurementErrorCode_WriteParameter | Error on writing a parameter.
MeasurementErrorCode_ReadParameter | Error on reading a parameter.
MeasurementErrorCode_ReadParameterLimits | Error on reading parameter limits.
MeasurementErrorCode_ParameterNotAvailable | Parameter not available for this functionality.
MeasurementErrorCode_ParameterOutsideOfLimits | Parameter outside of limits.
MeasurementErrorCode_ParameterExists | Parameter already exists.
MeasurementErrorCode_ParameterNotExists | Parameter not exists.
MeasurementErrorCode_InitParameter | Error on initializing a parameter.
MeasurementErrorCode_ArrayIndex | Invalid array index.
MeasurementErrorCode_DataConversion | Error on data conversion.
MeasurementErrorCode_InvalidSensorType | Invalid sensor type.
MeasurementErrorCode_InvalidParameterType | Invalid parameter type.
MeasurementErrorCode_ReadTextureImg | Error on reading a texture image.
MeasurementErrorCode_WrongMeasMode | Wrong measurement mode.
MeasurementErrorCode_MeasParamSet | Invalid measurement parameter set.
MeasurementErrorCode_FilterParamSet | Invalid filter parameter set.
MeasurementErrorCode_Filter | Error on filter.
MeasurementErrorCode_MeasProgNameExists | Measurement program name already exists.
MeasurementErrorCode_MeasProgNotExists | Measurement program name not exists.
MeasurementErrorCode_NoDataTransfer | Error no data transfer available.
MeasurementErrorCode_InvalidDataTransferID | Error invalid data transfer ID.
MeasurementErrorCode_DataTransfer | Error on data transfer.
MeasurementErrorCode_ReadDataFromSensor | Error on reading measurement data from sensor.
MeasurementErrorCode_WriteDataToSensor | Error on writing measurement data to sensor.
MeasurementErrorCode_SequenceTooMuchImages | Too much images.
MeasurementErrorCode_SequenceFormat | Invalid sequence format.
MeasurementErrorCode_SequenceItem | Invalid sequence item.
MeasurementErrorCode_SequenceIndex | Invalid sequence index.
MeasurementErrorCode_SequenceAlloc | Error on sequence allocation on sensor.
MeasurementErrorCode_SequenceImageToSensor | Error on putting an image to a sequence on sensor.
MeasurementErrorCode_SequenceProjectImage | Error on project a sequence image.
MeasurementErrorCode_SequenceStart | Error on starting a sequence.
MeasurementErrorCode_SequenceStop | Error on stopping a sequence.
MeasurementErrorCode_SequenceAdd | Error on adding a sequence.
MeasurementErrorCode_MeasSequenceItem | Invalid measurement sequence item (Gray code line, phase shift line ...)
MeasurementErrorCode_SequenceTiming | Error on setting the sequence timing parameters.
MeasurementErrorCode_SequenceNoImage | No image in the sequence.
MeasurementErrorCode_SequenceTexture | Error on loading the texture sequence to the sensor.
MeasurementErrorCode_NumBufferItems | Invalid number of buffer items.
MeasurementErrorCode_NotEnoughValidData | Not enough valid data.
MeasurementErrorCode_CalcXYZ | Error on calculating XYZ coordinates.
MeasurementErrorCode_OutData | Error on calculating output data.
MeasurementErrorCode_GetCameraImage | Error on getting a camera image.
MeasurementErrorCode_ProjectImage | Error on projecting a image.
MeasurementErrorCode_PreFilter | Error on pre-filtering.
MeasurementErrorCode_NotCalib | System not calibrated.
MeasurementErrorCode_CalibData | Missing or wrong calibration data.
MeasurementErrorCode_CalibHeightImg | Error on height image calibration.
MeasurementErrorCode_InvalidCalibMode | Invalid calibration mode.
MeasurementErrorCode_CalibCalcPlane | Error on calculation of plane calibration.
MeasurementErrorCode_CalibCalcGroove | Error on calculation of groove calibration.
MeasurementErrorCode_CalibReadParameter | Error on reading calibration parameters.
MeasurementErrorCode_CalibWriteParameter | Error on writing calibration parameters.
MeasurementErrorCode_CalibAOI | Calibration AOI different to measurement AOI.
MeasurementErrorCode_WrongCalibMode | Wrong calibration mode.
MeasurementErrorCode_CalibPowerSpectrum | Error on using power spectrum (after calibration)
MeasurementErrorCode_Calculation | Error on calculation.
MeasurementErrorCode_TooLittleValues | Too little (valid) values.
MeasurementErrorCode_CameraDriver | Invalid or missing camera driver.
MeasurementErrorCode_ProjectorDriver | Invalid or missing projector driver.
MeasurementErrorCode_Camera | General camera error.
MeasurementErrorCode_GrabTimeout | Camera grab timeout.
MeasurementErrorCode_InvalidPixelFormat | Invalid pixel format.
MeasurementErrorCode_InvalidFrameNumber | Invalid camera frame number.
MeasurementErrorCode_InvalidFrameSize | Invalid camera frame size.
MeasurementErrorCode_Projector | General projector error.
MeasurementErrorCode_DeviceNotRegistered | Device (projector, camera...) not registered.
MeasurementErrorCode_DeviceNotFound | Device with a specific ID (projector, camera...) not found.
MeasurementErrorCode_OpenDevice | Error on opening a device.
MeasurementErrorCode_ProjectorCameraSync | Error on synchronizing projector - camera.
MeasurementErrorCode_ListDevices | Error on listing devices (cameras, projectors ...)
MeasurementErrorCode_ConfigReadMeasProg | Error on reading measurement program parameters.
MeasurementErrorCode_ConfigWriteMeasProg | Error on writing measurement program parameters.
MeasurementErrorCode_ConfigMeasProgTransferToSensor | Error on transfer of the program parameters to the sensor.
MeasurementErrorCode_ConfigMeasProgTransferFromSensor | Error on transfer of the program parameters from the sensor.
MeasurementErrorCode_ConfigReadAdjustments | Error on reading adjustments.
MeasurementErrorCode_ConfigWriteAdjustments | Error on writing adjustments.
MeasurementErrorCode_ConfigAdjustmentsTransferToSensor | Error on transfer of the adjustments to the sensor.
MeasurementErrorCode_ConfigAdjustmentsTransferFromSensor | Error on transfer of the adjustments from the sensor.
MeasurementErrorCode_ConfigReadBasisConfig | Error on reading the basis configuration.
MeasurementErrorCode_ConfigWriteBasisConfig | Error on writing the basis configuration.
MeasurementErrorCode_ConfigReadCalibData | Error on reading the calibration data.
MeasurementErrorCode_ConfigWriteCalibData | Error on writing the calibration data.
MeasurementErrorCode_ConfigReadData | Error on reading general data.
MeasurementErrorCode_ConfigWriteData | Error on writing general data.
MeasurementErrorCode_ConfigWrongSensorType | Configuration for wrong sensor type.
MeasurementErrorCode_ConfigReadHeaderData | Error on reading the header data.
MeasurementErrorCode_ConfigWriteHeaderData | Error on writing the header data.