CVB.Net 14.0
ErrorCodes Class Reference

Native CVB error codes. More...

Static Public Attributes

const int Ok = 0
 No error occurred.
 
const int Error = unchecked((int)(0x80000000 | 1))
 Generic unspecified error.
 
const int Parameter = unchecked((int)(0x80000000 | 2))
 Parameter error.
 
const int FileIO = unchecked((int)(0x80000000 | 3))
 file I/O error
 
const int Timeout = unchecked((int)(0x80000000 | 4))
 timeout in function
 
const int Memory = unchecked((int)(0x80000000 | 5))
 memory allocation
 
const int InvalidPlane = unchecked((int)(0x80000000 | 6))
 invalid plane
 
const int UnsupportedDatatype = unchecked((int)(0x80000000 | 7))
 unsupported data type
 
const int InvalidCameraPort = unchecked((int)(0x80000000 | 8))
 invalid camera port
 
const int BoardSelect = unchecked((int)(0x80000000 | 9))
 board select failed
 
const int InvalidTriggerMode = unchecked((int)(0x80000000 | 10))
 invalid trigger mode
 
const int PropertyRead = unchecked((int)(0x80000000 | 11))
 property read error
 
const int PropertyWrite = unchecked((int)(0x80000000 | 12))
 property write error
 
const int InvalidPort = unchecked((int)(0x80000000 | 13))
 invalid port
 
const int PortRead = unchecked((int)(0x80000000 | 14))
 could not read port
 
const int PortWrite = unchecked((int)(0x80000000 | 15))
 could not write port
 
const int NoImage = unchecked((int)(0x80000000 | 16))
 no image at all
 
const int NoInterface = unchecked((int)(0x80000000 | 17))
 Interface not available
 
const int Busy = unchecked((int)(0x80000000 | 18))
 Hardware busy
 
const int NotSupported = unchecked((int)(0x80000000 | 19))
 A certain feature is not supported
 
const int GrabAborted = unchecked((int)(0x80000000 | 20))
 failure because grab was aborted
 
const int NoPixelList = unchecked((int)(0x80000000 | 21))
 pointer was not pointing to a pixel list
 
const int NotEnoughData = unchecked((int)(0x80000000 | 22))
 too few data available for a calculation
 
const int NoTransformation = unchecked((int)(0x80000000 | 23))
 the object passed to the function was not a NL-transformation object
 
const int LinearOnly = unchecked((int)(0x80000000 | 24))
 the function only works on linear images
 
const int DivisionByZero = unchecked((int)(0x80000000 | 25))
 division by zero was attempted
 
const int InvalidDimension = unchecked((int)(0x80000000 | 26))
 invalid number of infos
 
const int InvalidColorModel = unchecked((int)(0x80000000 | 27))
 invalid color model
 
const int InvalidDatatype = unchecked((int)(0x80000000 | 28))
 invalid data type
 
const int WrongObject = unchecked((int)(0x80000000 | 29))
 wrong object
 
const int NotReady = unchecked((int)(0x80000000 | 30))
 not ready for the requested operation
 
const int NoAngle = unchecked((int)(0x80000000 | 31))
 not an angle object
 
const int NoVector2D = unchecked((int)(0x80000000 | 32))
 not a 2D vector object
 
const int NoLine2D = unchecked((int)(0x80000000 | 33))
 not a 2D line object
 
const int Vector2DZeroLength = unchecked((int)(0x80000000 | 34))
 vector has zero length
 
const int VectorsIdentical = unchecked((int)(0x80000000 | 35))
 identical vectors
 
const int Line2DVertical = unchecked((int)(0x80000000 | 36))
 vertical line
 
const int Line2DHorizontal = unchecked((int)(0x80000000 | 37))
 horizontal line
 
const int NoArgument = unchecked((int)(0x80000000 | 38))
 argument cannot be calculated for x = y = 0
 
const int Line2DUndefined = unchecked((int)(0x80000000 | 39))
 line 2D object has not yet been defined
 
const int NoIntersection = unchecked((int)(0x80000000 | 40))
 the lines provided to the function do not intersect
 
const int NoClipping = unchecked((int)(0x80000000 | 41))
 no clipping points available
 
const int NotEnoughLines = unchecked((int)(0x80000000 | 42))
 not enough lines to perform intersection
 
const int Overflow = unchecked((int)(0x80000000 | 43))
 input value was too big or did lead to a too big result
 
const int NoCircle = unchecked((int)(0x80000000 | 44))
 object is not a 2D circle
 
const int Access = unchecked((int)(0x80000000 | 45))
 access error
 
const int NotPresent = unchecked((int)(0x80000000 | 46))
 not present
 
const int UnsupportedFeature = unchecked((int)(0x80000000 | 47))
 the requested feature is not supported (may happen if a specific interface implementation cannot implement all functionality)
 
const int InvalidIndex = unchecked((int)(0x80000000 | 48))
 index in an indexed access exceeded limits
 
const int NoOverlay = unchecked((int)(0x80000000 | 49))
 image that is expected to have overlay bits does not have overlay bits
 
const int InvalidState = unchecked((int)(0x80000000 | 50))
 the state of an object is invalid and prevents a successful function call
 
const int EmptyResult = unchecked((int)(0x80000000 | 51))
 the operation basically would have succeeded but delivered an empty and therefore invalid result
 
const int NoLicenseSerialNumber = unchecked((int)0x80010000 | 4)
 No serial number > 0 is available on the system.
 
const int InvalidLicenseSerialNumber = unchecked((int)0x80010000 | 5)
 No serial number > 0 is available on the system.
 
const int WrongLicenseSerialNumber = unchecked((int)0x80010000 | 6)
 No serial number > 0 is available on the system.
 
const int FormatError = unchecked((int)0x80010000 | 11)
 No serial number > 0 is available on the system.
 
const int InvalidAoi = unchecked((int)0x80010000 | 104)
 No serial number > 0 is available on the system.
 

Detailed Description

Native CVB error codes.