Troubleshooting (most common problems)
Most common problems are related to the camera cable, connection, USB extender etc.
This article aims to help you either solve the issue or narrow down the cause of the issue.
Insufficient Data Received / Device is not synchronized (clock is drifting)
1. Insufficient Data Received (Swing / Motion Catalyst doesn't have enough acquired video data to capture)
- Causes for this may be dropped frames., (please see our our see dropped frames below for troubleshooting steps).
- Hardware limitations or resource limitations, check if any other heavy applications are running.
- If using a laptop on battery, try to connect the charger, does the error go away? If so changing your power plan could help (to high performance).
2. The software has not received enough data to means the video data received is not in sync with the computer clock.
- Depending on your camera type there are different things to try. Many times "Device is not synchronized" is an error that follows "Insufficient data received', however if you only receive the "Device is not synchronized (clock is drifting)" try restarting capture mode, or restarting the computer.
- Leaving the system in capture mode for longer periods can cause this. We reset the clock once capture mode is started (restarted) but left in capture long enough the clock time of the camera and the computer clock will begin to drift apart.
- Last resort workaround for web camera users: Try to enable "timestamp manually" from the Advanced Camera settings --> Options tab.
Dropped frames
Q: What are dropped frames?
A: Dropped frames means video frames received from the camera(s) are lost to a varying degree.
Depending on the amount of dropped frames it may have a severe impact on the recorded video. In environments with multiple cameras this is not good as it will appear out of sync and key moments of the recorded activity could be missing.
Causes of dropped frames
- USB3 camera connected to a USB 2.0 port.
- Using poorly designed cables or extender cables.
- Exceeding the recommended cable length (5 meters for USB3).
- USB3 camera connected to a USB hub with other devices sharing the same hub, lack of bandwidth.
- Camera uses too much bandwidth vs what is available on the system.
- Not enough available system resources due to other running applications.
How to fix dropped frames
For USB cameras our recommendation is to try to lower the frame rate (and or device link throughput - for FLIR cameras) to reduce the bandwidth consumption.
Troubleshooting steps:
- If using multiple cameras, try to unplug or disable some cameras, does the system still report drop frames?
- If this helps it could be an indication of a performance problem, or a bandwidth resource issue. Try to lower the frame rate of both cameras and see if the stability improves.
- Close other software that can be CPU & Graphics intensive to free up resources.
- Try to lower the frame rate: (example for FLIR Blackfly S)
- Try to reduce "Device Link throughput", see "reducing camera bandwidth" below.
- Examine cabling, are the cameras connected to a USB hub or extender? Is the cable heavily bent or have visible damage? Try connecting them directly to the computer.
- Does the computer meet the recommended specifications? If not perhaps you using more cameras than the system can handle.
Some USB cables work better than others, and certain built-in USB 3.0 controllers can cause problems.
As USB3 can be quite tricky we recommend sticking to the recommendations the large reputable Machine Vision camera manufacturers recommend. Please see our recommended USB components article for details: https://support.swingcatalyst.com/hc/en-us/articles/204239738-Recommended-USB-3-0-Components
Reducing camera bandwidth consumption
Reducing the framerate alone or in combination with Region Of Interest (ROI) can have an impact on how much bandwidth a camera consumes and effectively reduce or stop dropped frames.
For example USB 3.0 is advertised to be capable of 5Gb/s, which is 625 MB/s.
One USB 3.0 camera with a resolution of: 1920 x 1200 resolution at 150 FPS will use roughly 345MB/s per camera. - It is therefor important to have a dedicated USB 3.0 controller card per our recommendations for multiple camera setups (in most cases). In may cases a laptop won't be able to drive two full HD high FPS USB3 cameras.
Another approach, often good in combination with reducing throughput is utilizing region of interest, often called ROI.
Region Of Interest (ROI)
Note: Supported cameras: Swing Catalyst Fox, FLIR Blackfly S
Using region of interest (or area of interest) can help reduce how much bandwidth a camera consumes and and boost the FPS. It can also be used to help reduce the amount of dropped frames.
Please see our article on how to use Region Of Interest.