NI-IMAQdx Function Reference

Error Codes

The following table describes the error codes used in NI-IMAQdx.

Error Code Status Name Description
-1074360320 IMAQdxErrorSystemMemoryFull Not enough memory
-1074360319 IMAQdxErrorInternal Internal error
-1074360318 IMAQdxErrorInvalidParameter Invalid parameter
-1074360317 IMAQdxErrorInvalidPointer Invalid pointer
-1074360316 IMAQdxErrorInvalidInterface Invalid camera session
-1074360315 IMAQdxErrorInvalidRegistryKey Invalid registry key
-1074360314 IMAQdxErrorInvalidAddress Invalid address
-1074360313 IMAQdxErrorInvalidDeviceType Invalid device type
-1074360312 IMAQdxErrorNotImplemented Not implemented yet
-1074360311 IMAQdxErrorCameraNotFound Camera not found
-1074360310 IMAQdxErrorCameraInUse Camera is already in use.
-1074360309 IMAQdxErrorCameraNotInitialized Camera is not initialized.
-1074360308 IMAQdxErrorCameraRemoved Camera has been removed.
-1074360307 IMAQdxErrorCameraRunning Acquisition in progress.
-1074360306 IMAQdxErrorCameraNotRunning No acquisition in progress.
-1074360305 IMAQdxErrorAttributeNotSupported Attribute not supported by the camera.
-1074360304 IMAQdxErrorAttributeNotSettable Unable to set attribute.
-1074360303 IMAQdxErrorAttributeNotReadable Unable to get attribute.
-1074360302 IMAQdxErrorAttributeOutOfRange Attribute value is out of range.
-1074360301 IMAQdxErrorBufferNotAvailable Requested buffer is unavailable.
-1074360300 IMAQdxErrorBufferListEmpty Buffer list is empty. Add one or more buffers.
-1074360299 IMAQdxErrorBufferListLocked Buffer list is already locked. Reconfigure acquisition and try again.
-1074360298 IMAQdxErrorBufferListNotLocked No buffer list. Reconfigure acquisition and try again.
-1074360297 IMAQdxErrorResourcesAllocated Transfer engine resources already allocated. Reconfigure acquisition and try again.
-1074360296 IMAQdxErrorResourcesUnavailable Insufficient transfer engine resources.
-1074360295 IMAQdxErrorAsyncWrite Unable to perform asynchronous register write.
-1074360294 IMAQdxErrorAsyncRead Unable to perform asynchronous register read.
-1074360293 IMAQdxErrorTimeout Timeout
-1074360292 IMAQdxErrorBusReset Bus reset occurred during a transaction.
-1074360291 IMAQdxErrorInvalidXML Unable to load camera's XML file.
-1074360290 IMAQdxErrorFileAccess Unable to read/write to file.
-1074360289 IMAQdxErrorInvalidCameraURLString Camera has malformed URL string.
-1074360288 IMAQdxErrorInvalidCameraFile Invalid camera file.
-1074360287 IMAQdxErrorGenICamError Unknown Genicam error.
-1074360286 IMAQdxErrorFormat7Parameters For format 7: The combination of speed, image position, image size, and color coding is incorrect.
-1074360285 IMAQdxErrorInvalidAttributeType The attribute type is not compatible with the passed variable type.
-1074360284 IMAQdxErrorDLLNotFound The DLL could not be found.
-1074360283 IMAQdxErrorFunctionNotFound The function could not be found.
-1074360282 IMAQdxErrorLicenseNotActivated License not activated.
-1074360281 IMAQdxErrorCameraNotConfiguredForListener The camera is not configured properly to support a listener.
-1074360280 IMAQdxErrorCameraMulticastNotAvailable Unable to configure the system for multicast support.
-1074360279 IMAQdxErrorBufferHasLostPackets The requested buffer has lost packets and the user requested an error to be generated.
-1074360278 IMAQdxErrorGiGEVisionError Unknown GiGE Vision error.
-1074360277 IMAQdxErrorNetworkError Unknown network error.
-1074360276 IMAQdxErrorCameraUnreachable Unable to connect to the camera
-1074360275 IMAQdxErrorHighPerformanceNotSupported High performance acquisition is not supported on the specified network interface. Connect the camera to a network interface running the high performance driver.
-1074360274 IMAQdxErrorInterfaceNotRenamed Unable to rename interface. Invalid or duplicate name specified.
-1074360273 IMAQdxErrorNoSupportedVideoModes The camera does not have any video modes which are supported.
-1074360272 IMAQdxErrorSoftwareTriggerOverrun Software trigger overrun.
-1074360271 IMAQdxErrorTestPacketNotReceived The system cannot acquire images. The packet size may be too large for the network setup or a firewall may be blocking the network traffic from the camera. For more information, visit ni.com/info and enter 'GigEVisionNetworkConnectivity'.
-1074360270 IMAQdxErrorCorruptedImageReceived The camera returned a corrupted image.
-1074360269 IMAQdxErrorCameraConfigurationHasChanged The camera did not return an image of the correct type it was configured for previously.
-1074360268 IMAQdxErrorCameraInvalidAuthentication The camera is configured with password authentication and either the user name and password were not configured or they are incorrect.
-1074360267 IMAQdxErrorUnknownHTTPError The camera returned an unknown HTTP error.
-1074360266 IMAQdxErrorKernelDriverUnavailable Unable to attach to the kernel mode driver.
-1074360265 IMAQdxErrorPixelFormatDecoderUnavailable No decoder available for selected pixel format.
-1074360264 IMAQdxErrorFirmwareUpdateNeeded The acquisition hardware needs a firmware update before it can be used.
-1074360263 IMAQdxErrorFirmwareUpdateRebootNeeded The firmware on the acquisition hardware has been updated and the system must be rebooted before use.
-1074360262 IMAQdxErrorLightingCurrentOutOfRange The requested current level from the lighting controller is not possible.
-1074360261 IMAQdxErrorUSB3VisionError Unknown USB3 Vision error.
-1074360260 IMAQdxErrorInvalidU3VUSBDescriptor The camera has a USB descriptor that is incompatible with the USB3 Vision specification.
-1074360259 IMAQdxErrorU3VInvalidControlInterface The USB3 Vision control interface is not implemented or is invalid on this camera.
-1074360258 IMAQdxErrorU3VControlInterfaceError There was an error from the control interface of the USB3 Vision camera.
-1074360257 IMAQdxErrorU3VInvalidEventInterface The USB3 Vision event interface is not implemented or is invalid on this camera.
-1074360256 IMAQdxErrorU3VEventInterfaceError There was an error from the event interface of the USB3 Vision camera.
-1074360255 IMAQdxErrorU3VInvalidStreamInterface The USB3 Vision stream interface is not implemented or is invalid on this camera.
-1074360254 IMAQdxErrorU3VStreamInterfaceError There was an error from the stream interface of the USB3 Vision camera.
-1074360253 IMAQdxErrorU3VUnsupportedConnectionSpeed The USB connection speed is not supported by the camera. Check whether the camera is plugged into a USB 2.0 port instead of a USB 3.0 port. If so, verify that the camera supports this use case.
-1074360252 IMAQdxErrorU3VInsufficientPower The USB3 Vision camera requires more current than can be supplied by the USB port in use.
-1074360251 IMAQdxErrorU3VInvalidMaxCurrent The U3V_MaximumCurrentUSB20_mA registry value is not valid for the connected USB3 Vision camera.
-1074360250 IMAQdxErrorBufferIncompleteData The requested buffer has incomplete data and the user requested an error to be generated.
-1074360249 IMAQdxErrorCameraAcquisitionConfigFailed The camera returned an error starting the acquisition.
-1074360248 IMAQdxErrorCameraClosePending The camera still has outstanding references and will be closed when these operations complete.
-1074360247 IMAQdxErrorSoftwareFault An unexpected software error occurred.
-1074360246 IMAQdxErrorCameraPropertyInvalid The value for an invalid camera property was requested.
-1074360245 IMAQdxErrorJumboFramesNotEnabled Jumbo frames are not enabled on the host. Maximum packet size is 1500 bytes.
-1074360244 IMAQdxErrorBayerPixelFormatNotSelected This operation requires that the camera has a Bayer pixel format selected.
-1074360243 IMAQdxErrorRingAcqImageSizeNotAligned For a ring acquisition with both image and chunk data, the total image size in bytes must be a multiple of the size alignment specified by the Required Payload Size Alignment attribute.
-1074360242 IMAQdxErrorRingAcqChunkDataSizeTooBig For a ring acquisition, the chunk data size must be less than the maximum payload transfer size specified by the Actual Maximum Payload Transfer Size attribute.
-1074360241 IMAQdxErrorBufferNotExtracted The requested buffer to release is not currently extracted.
-1074360240 IMAQdxErrorDuplicateImageInRing Duplicate images were found in the ring acquisition configuration.
-1074360239 IMAQdxErrorImageNotConfiguredInRing The image passed is not currently configured in the ring.
-1074360238 IMAQdxErrorMismatchedBorders The ring acquisition is configured to use images with different border sizes. All images in a ring acquisition must have the same border size.
-1074360237 IMAQdxErrorRingAcqDecodeRequired For ring acquisitions, manipulating the image data prior to extraction is not allowed. The combination of the Pixel Format, Output Image Type, Pixel Signedness, Swap Pixel Bytes, and Shift Pixel Bits attributes requires the image data to be altered.
-1074360236 IMAQdxErrorRingAcqNonZeroBorder For a ring acquisition with this camera, the images must have a border size of 0 pixels.
-1074360235 IMAQdxErrorRingAcqWidthNotAligned For a ring acquisition with this camera, the image width must be a multiple of the image's required line alignment.
-1074360234 IMAQdxErrorRingAcqOnly This function can only be called within the context of a ring acquisition.
-1074360233 IMAQdxErrorRingAcqNotEnoughImages The ring acquisition was not configured with enough images to meet the minimum requirements for a continuous acquisition.
-1074360232 IMAQdxErrorImageDisposed The requested image has been disposed and is no longer valid.
-1074360231 IMAQdxErrorRingAcqPaddingCapabilityExceeded The padding necessary to transfer the configured image using a ring acquisition is more than the camera can provide. Reduce the amount of padding required by reducing the image border size or changing the image width.
-1074360230 IMAQdxErrorNIGEVUpdateRequired The NI-GEV driver is too old to support this functionality. Please update it to a newer version.
-1074360229 IMAQdxErrorPacketSizeOver9000 The desired packet size is larger than the maximum value of 9000 supported by the network interface.
-1074360228 IMAQdxErrorAttributeSetFailure There was a failure when trying to set the value of a writeable camera attribute.
-1074360227 IMAQdxErrorFirmwareUpdatePowerCycleNeeded The firmware on the acquisition hardware has been updated. Shutdown the system, disconnect power, and then reconnect power before use.
-1074360226 IMAQdxErrorLensCommunicationFailure An error occurred while communicating with the lens.
-1074360225 IMAQdxErrorBIOSIncompatible The BIOS version is incompatible with the installed version of NI-IMAQdx.
-1074360224 IMAQdxErrorAdministrativePrivilegesRequired The requested operation requires administrative privileges.
-1074360223 IMAQdxErrorNIIMAQUpdateRequired The NI-IMAQ driver is too old to support the NI-IMAQdx API. Please update it to a newer version.
-1074360222 IMAQdxErrorCannotRenameBoardWhileSessionOpen The board cannot be renamed while there are open sessions to any of its acquisition units.
-1074360221 IMAQdxErrorRingAcqInvalidPacketSize For a ring acquisition with this camera, the Payload Size must be a multiple of the Packet Size. Adjust the Packet Size attribute accordingly.
-1074360220 IMAQdxErrorBufferNumberOutOfRange The requested buffer number is outside of the range of acquirable buffer numbers for this one-shot acquisition.
-1074360219 IMAQdxErrorUnknownTapGeometry The DeviceTapGeometry attribute setting does not match the expected format.
-1074360218 IMAQdxErrorCLGenICamProbeTimeout Cannot communicate with the camera. Ensure the Camera Link cables are connected properly. If using PoCL to power the camera, it is possible that the camera did not fully power on before the timeout expired. Retry opening a session to the camera.
-1074360217 IMAQdxErrorAcquisitionTerminated An error occurred while acquiring from the camera so the acquisition has been terminated.
-1074360216 IMAQdxErrorInvalidDynamicImageChange The camera returned an image that was incompatible with the acquisition configuration. Dynamic changes to the image dimensions are not supported.
-1074360215 IMAQdxErrorIncompatibleImageDataRing The camera returned an image that was incompatible with the buffer that was allocated for it. With these settings, a Grab acquisition must be used instead of a Ring.
-1074360214 IMAQdxErrorGenICamPersistence An error occurred while persisting camera attributes with GenICam software. Change the PersistenceAlgorithm attribute to Auto or NI-IMAQdx to see whether the internal algorithm provides better results.
-1074360213 IMAQdxErrorAcquisitionNotSupported Acquisition is not supported on this device.
-1074360212 IMAQdxErrorFirmwareVersionMismatch The version of the firmware is not compatible with this version of NI-IMAQdx.