A GigE Vision camera is an ordinary network device. It must have an IP address in the same subnet as the network adapter it is connected to.
The camera sends the image data to the PC as UDP packets. The Windows firewall blocks these packets by default, which looks like a camera that is
found (discovery works) but never delivers frames, or "missing packets" errors. Allow the inbound UDP traffic from the camera subnet. Run
PowerShell as Administrator:
| Message | Cause | What to do |
GenICamDriver: Stream '<name>' Failed to load <lib> (fatal) | The API library (GenICamGeneralUSBAPI / GenICamUSBAPI / GenICamGigEAPI) was not found, or one of its dependencies is missing (Aravis / GenApi runtime). | Check that the library is next to the executable and was built (CMake options INCLUDE_GENICAM, INCLUDE_GENICAM_GENERALUSB, INCLUDE_GENICAM_USB, INCLUDE_GENICAM_GIGE). Check the spelling of interfaceAPILib. The USB library through Aravis was called GenICamUSBAPI before; that name is now the GenTL USB library. |
Must specify Device name (cameraName) | cameraName is missing. | Copy an ID / serial from the printed device list. |
Must specify format. Available formats for device ... | format is missing. | Copy a pixel format from the printed list. |
Failed to open camera '<name>' followed by the list of devices, or No Device found | The name does not match any camera, the camera is not reachable (see IP and firewall above), or it is open in another program. | Use the exact ID, serial, user name or model from the list. For GigE raise apiOptions.discoveryTimeoutMs (e.g. 3000). |
No GenTL producer (.cti) found. Set driver apiOptions "producer" or the GENICAM_GENTL64_PATH ... | GenICamGigEAPI / GenICamUSBAPI: no producer file was found. | Install the camera vendor's GenTL producer and set apiOptions.producer to the .cti file (or its folder), or set the environment variable GENICAM_GENTL64_PATH to its folder. Use a 64-bit producer for a 64-bit application. |
No GigE Vision GenTL producer. + ... is a 'U3V' producer | The producers found are USB3 Vision only. | Point producer to a GigE Vision (or mixed) producer. |
No USB3 Vision GenTL producer. + ... is a 'GEV' producer | GenICamUSBAPI: the producers found are GigE Vision only. | Point producer to a USB3 Vision (or mixed) producer, or use GenICamGeneralUSBAPI (Aravis, no producer needed). |
USB3 Vision device '<name>' not found / GigE Vision device '<name>' not found | No camera of the library's transport matches cameraName. A GenTL library only lists cameras of its own transport, also with a mixed producer. | Run with "cameraName": "?"; check that interfaceAPILib matches the camera (USB or GigE). |
GenTL producer '...' not found | The path in producer is wrong. | Check the path and the JSON escaping (use / or \\\\). |
Unknown option, GenICamGigEAPI options: producer, discoveryTimeoutMs (or GenICamUSBAPI options) / GenICamGeneralUSBAPI has no API options | An unknown key in apiOptions; the Aravis USB library has no options. | Remove or correct the key. |
IFOpenDevice failed | The camera cannot be opened: already open elsewhere, or not reachable. | Close other applications; check IP and subnet. |
Failed to read the GenICam XML from the device, Device has no GenICam XML URL, Failed to connect the GenApi node map ... | The camera description could not be loaded: connection lost, packet loss on the register channel. | Check cable and power; power-cycle the camera; use a lower packet size. |
Failed to set feature '<name>' = '<value>' / Feature not found | The feature name or value is wrong for this camera, or the feature is not writable now (for example Width while acquiring). | Use the exact GenICam name and an allowed value from the camera's documentation. Features are set in file order after the size/format/fps setup; put dependent features after the ones they depend on. |
Feature PixelFormat = '<format>' failed | The format is not supported by the camera. | Use a format from the printed list. |
Feature Width = '2592' failed: ... (indented lines: access, current value, Min / Max / Inc) | The value is outside the camera's range NOW: the maximum depends on the pixel format, binning / decimation and the offset; or it is not Min + n * Inc. | Use a value from the printed range, set the pixel format / binning first, or write null to keep the camera's width / height (each independent). |
| The driver lists the camera's pixel formats and does not start | No format key. | Copy a format from the list, or write "format": null to keep the camera's. |
Failed to set region WxH | width/height larger than the sensor, or not a multiple of the camera's increment. | Use values within the camera range (check WidthMax/HeightMax). |
Device has no data stream, DevOpenDataStream failed, Failed to allocate stream buffers | GigE: the stream channel could not be opened (another host is receiving, or low memory). | Close other viewers; reduce numOfPreAllocatedBuffers or the image size. |
Failed to set external trigger on '<line>' / Feature TriggerSource failed | The line name or the activation is not valid for this camera. | Use the camera's names (Line1, Line4...; RisingEdge, FallingEdge). |
Failed to start, AcquisitionStart failed, DSStartAcquisition failed, Failed to start acquisition | The camera refused to start streaming. | Check the settings above; lower the frame rate or size; check the bandwidth. |
Incomplete frame (missing packets) / Buffer missing packets / wrong packet Id | GigE: UDP packets were lost on the way. | Firewall rule (section 3); jumbo frames and larger NIC receive buffers (section 2); a lower GevSCPSPacketSize or lower GevSCPD (inter-packet delay) or frame rate; a direct cable; no other traffic on the NIC. |
Incomplete frame (buffer timeout) / Buffer timeout | The frame did not complete in time. | Same as above; check cable; with a trigger check that triggers arrive. |
Buffer size mismatch / Requested buffer size smaller then frame size N / Frame size ... | The input block in the ICD is smaller than the frame (width × height × bytes per pixel). | Make the block size at least N bytes. Changing format or width/height changes the frame size. |
Acquisition not started / Stream not initialized | A read happened while the camera was not streaming (init failed). | Read the earlier init error. |
| Symptom | Cause | Fix |
| Camera is listed, but no frames | Firewall (GigE); or externalSync is set and no trigger edge arrives; or framePerMS is 0. | Section 3; check the trigger wiring and the line name; set the input block to framePerMS: -1. |
Frames arrive slower than fps | Exposure time longer than the frame period; bandwidth; trigger rate; framePerMS number lower than the camera rate. | Reduce ExposureTime in features; use framePerMS: -1; check bandwidth. |
Camera free-runs although externalSync is configured | fps is set; the manual notes that fps overrides the external sync properties. | Remove fps (and any AcquisitionFrameRate feature) when the camera is triggered by a line. |
| Dropped frames / "latest frame" only | waitForFrameTimeout_us: 0 returns the latest frame; if the engine reads slower than the camera, older frames are overwritten. | Read every minor frame (framePerMS: -1) and keep the minor frame shorter than the camera period; or use a timeout > 0 to wait for each frame (blocks the read). |
| Random camera disappearance (USB) | USB cable/hub power, USB selective suspend, shared host controller bandwidth. | Use a USB 3 port directly on the machine, a short certified cable, disable USB power saving; use separate controllers for several cameras. |
| USB camera not found on Linux | No permission for the USB device. | Add a udev rule for the camera's vendor ID, or run once as root to test. |
The simD GigE camera emulator (UVCGadgetGigEAPI, e.g. BlackKite) is not found | The emulating program is not running yet or its stream did not start (its log has no discoverable now); another subnet; cameraName does not match its user name. | Start it first and check its start report; board and PC in one subnet; "cameraName": "?" lists the cameras (the emulator's name, model and serial are matched). The emulator's name is its GigE Vision user name (DeviceUserID): a GenICam tool that wrote another name renames it until the emulating program restarts. |
| Balluff logo box with "unsupported third party device ... evaluation period has ended" in the frames | The Balluff mvGenTLProducer draws it into images of cameras of other makers (also the simD emulator) after the evaluation period, from about frame 200. | Balluff licence for third-party cameras, or another GenTL producer in apiOptions.producer. |
| Colors wrong / image looks scrambled | The consumer interprets the bytes differently than the camera format (Bayer, YUV422, Mono16 byte order). | Match the viewer or algorithm to format; a Mono16 frame is 2 bytes per pixel. |