Most functions in the Emergent SDK (eSDK) API return an error code of type EVT_ERROR
, indicating the success or failure of the operation. Error codes are documented alongside each function in eSDK API Functions.
Below is a summary of possible error codes for reference:
EVT_SUCCESS
: Function executed successfully.EVT_ERROR_SRCH
: Parameter not found; usually indicates an invalid or unsupported parameter.EVT_ERROR_INTR
: An interrupt signal was received, terminating the function.EVT_ERROR_IO
: Input/Output error, typically related to file operations.EVT_ERROR_AGAIN
: Timeout expired; consider increasing the timeout or reissuing the command.EVT_ERROR_NOMEM
: Out of memory; try freeing up memory or optimizing memory usage.EVT_ERROR_INVAL
: Invalid argument; check parameter values for correctness.EVT_ERROR_NOT_SUPPORTED
: Unsupported buffer type or feature.EVT_ERROR_DEVICE_CONNECTED_ALRD
: Device already opened; close the connection before reattempting.EVT_ERROR_DEVICE_NOT_CONNECTED
: Device not open; ensure the device is properly connected and initialized.EVT_ERROR_DEVICE_LOST_CONNECTION
: Lost connection to the device; verify network stability.EVT_ERROR_GENICAM_ERROR
: GenICam-specific error; may relate to camera-specific settings.EVT_ERROR_GENICAM_NOT_MATCH
: Parameter type mismatch with GenICam standards.EVT_ERROR_GENICAM_OUT_OF_RANGE
: Parameter value is outside the acceptable range.EVT_ERROR_SOCK
: Socket error, often indicating network or connection issues.EVT_ERROR_GVCP_ACK
: Error with GVCP (GigE Vision Control Protocol) acknowledgment.EVT_ERROR_GVSP_DATA_CORRUPT
: Frame data corruption in GVSP (GigE Vision Streaming Protocol).EVT_ERROR_NIC_LIB_INIT
: Failed to initialize Myricom NIC API.EVT_ERROR_OS_OBTAIN_ADAPTER
: Failed to retrieve host adapter information.EVT_ERROR_SDK
: An unexpected SDK-related error.EVT_GENERAL_ERROR
: General error; indicates an undefined issue, often resolved by reviewing function parameters or connection stability.