A color preview that freezes while another stream continues does not immediately identify a failed camera. Acquisition, transfer, conversion, recording and display can fail independently, even when they share one device. This troubleshooting procedure is for multi-stream inspection systems that start correctly but lose color images during extended operation. You will separate missing frames from a stalled consumer, measure the shared workload, isolate the connection and verify recovery without hiding the original fault.
First establish what actually stopped
Start with three independent observations: whether the device remains connected, whether color frames still arrive, and whether the displayed image changes. A frozen preview proves only that the display stopped updating. A recorder, conversion task or application queue may have stopped consuming otherwise valid frames.
Record a frame counter and host arrival timestamp immediately after acquisition, before conversion or display. Also record the latest frame consumed by each downstream task. If acquisition counters advance but display counters do not, investigate the application rather than replacing the camera cable.
A continuing depth or secondary stream shows that part of the system remains active. It does not prove that the color endpoint, its buffers or its software path are healthy. Different streams can use different endpoints, transfer arrangements and processing queues.
Use these distinctions to choose the next test:
| Observation | First area to investigate |
|---|---|
| Color acquisition advances, but preview freezes | Display, conversion or consumer queue |
| Both streams arrive, but recording stops | Writer throughput, storage or recording queue |
| Color acquisition stops without device removal | Stream endpoint, acquisition state or stream-specific software |
| Device disconnects and reconnects | Power, cable, connector or host-controller reset |
| Failure follows rising memory usage | Retained buffers, queue growth or resource leakage |
If the immediate symptom is a timeout, the closest companion procedure is color-stream timeout diagnosis across host ports. Use this article to investigate why that timeout appears only after sustained operation.
Build a timeline before changing settings
Capture enough information to reconstruct the final working period and the first failure. Use a monotonic host clock for elapsed-time comparisons; wall-clock corrections can otherwise distort event ordering.
A useful diagnostic record includes:
- Device identity, firmware, driver, acquisition-library and application versions.
- Requested and negotiated stream dimensions, frame rate and pixel format.
- Per-stream frame identifiers, when available, and host arrival times.
- Device timestamps, retaining their original units and clock domain.
- Acquisition errors, incomplete frames and operating-system connection events.
- Queue depth, memory usage, CPU load, storage activity and consumer processing time.
- Recovery actions and whether they restored each stream.
Device exposure timestamps and host arrival timestamps describe different events. Do not subtract them unless their clocks have a documented relationship. The guide to interpreting camera buffer timestamps explains this distinction in more detail.
Aggregate routine statistics once per second rather than synchronously writing a large log for every frame. Preserve individual error events and a short recent history. The logger itself must not become the acquisition bottleneck.
On Linux, error values such as -71 and -32 correspond to EPROTO and EPIPE. They describe error categories, not a conclusive cable or power diagnosis. A control request that fails after streaming has already stopped may be a consequence rather than the initiating event.
Estimate bandwidth and buffer growth
Calculate the payload for every active stream using its negotiated transport format. A displayed RGB image may have been converted from a different on-wire format, so distinguish USB traffic from host-memory traffic.
Consider a hypothetical uncompressed color stream with 1600 × 1200 pixels, running at 25 frames per second and carrying 3 bytes per pixel:
These are decimal payload rates, not guaranteed bus requirements. Protocol overhead, transfer scheduling and other devices also consume capacity. Compression changes the calculation, and its rate can vary with scene content.
At the example color rate, accumulating five seconds of unconsumed images requires approximately 144 × 5 = 720 MB. An apparently time-dependent camera failure can therefore be a queue that eventually exhausts available memory.
Check the negotiated USB connection speed and host-controller topology. Different external sockets can share the same controller and upstream bandwidth. A hub adds ports; it does not automatically add upstream capacity.
Lower the color frame rate first, then its dimensions, while keeping other settings unchanged. If failure becomes less frequent, you have demonstrated load sensitivity—not yet proven whether transfer capacity, memory traffic or processing is responsible. For larger installations, isolating multi-camera system bottlenecks provides additional shared-resource checks.
Test likely causes in a controlled order
For a system that starts successfully, investigate workload accumulation and shared resources early. Change that order when the timeline provides stronger evidence, such as an explicit disconnect before any application slowdown.
| Likely cause | Discriminating test | Corrective direction |
|---|---|---|
| Slow consumer or retained buffers | Acquire with conversion, preview and recording disabled | Bound queues, release buffers and separate acquisition from processing |
| Shared bandwidth or controller load | Reduce payload and remove unrelated USB devices | Reduce traffic or separate devices across verified controllers |
| Cable or connector integrity | Substitute a documented-compatible cable on the same port | Correct cable selection, connector retention and routing |
| Power instability | Compare documented power demand with the complete port or hub budget | Use the device's approved power arrangement |
| Driver, firmware or library incompatibility | Reproduce in the manufacturer's supported acquisition application | Use a documented compatible software combination |
| Device-specific hardware fault | Compare equivalent devices using the same known-good setup | Escalate with reproducible evidence |
Avoid interpreting a successful port change as proof of a damaged socket. Moving ports can simultaneously change the controller, negotiated speed, available power and cable geometry.
For repeatable disconnects, follow the separate procedure for isolating cable and hardware faults. If the failure follows one physical unit through controlled substitutions, use repeatable unit-specific camera fault isolation.
Run the stream-isolation sequence
Use one written configuration for every trial. Record what changed, the elapsed runtime and the first failure event. Do not combine a cable swap, software update and frame-rate reduction into one experiment.
-
Run color acquisition alone with a minimal consumer. Disable the other stream, recording and preview where the supported software permits. Count received frames and release buffers promptly. This establishes whether color acquisition can fail independently.
-
Run the secondary stream alone. Use the same host workload and connection. A stable result narrows the investigation but does not validate the color path.
-
Run both streams without heavy processing. Keep logging active, but remove conversion, inference and recording. Failure only in this trial points toward shared resources, multi-stream configuration or synchronization handling.
-
Restore consumers individually. Add preview, conversion, processing and recording one at a time. Measure queue depth and processing latency after each change. The guide to acquisition stalls under load covers ownership and recovery problems that appear at this stage.
-
Substitute the data cable. Use a compatible cable with appropriate connectors, retention and application rating. Keep the port and stream configuration unchanged. An arbitrary extension or adapter introduces another variable.
-
Test a verified alternative controller path. Confirm the topology rather than assuming adjacent sockets are independent. Repeat the original workload before drawing a conclusion.
-
Check the documented power arrangement. Include all devices sharing the hub or port budget and any startup demand specified by the manufacturer. A powered hub can help isolate a host-power limitation, but it also changes the topology and must be treated as a separate experiment.
-
Compare supported software. Try the manufacturer's acquisition application with equivalent stream settings. Obtain software and firmware only from the manufacturer or its authorized distributors, and follow documented compatibility and update procedures.
Do not inject external power through an improvised USB arrangement or substitute an arbitrary supply. Browse power supplies only after identifying an explicitly supported external-power input and its electrical requirements.
If the device has never exposed the required color stream reliably, start with missing color-stream connection checks instead. Initial format availability is a different problem from acquisition that fails after extended operation.
Verify recovery without concealing the fault
Recovery is part of the diagnosis. Record whether restarting the color stream, reopening the device, restarting the application or reconnecting the device restores operation. Follow the documented acquisition lifecycle rather than repeatedly issuing controls to an unresponsive endpoint.
A stream restart that works does not prove the problem was entirely software-related. Likewise, a required power cycle does not establish which component failed. Recovery behavior is evidence to combine with the earlier timeline.
For continuous inspection, use a bounded, logged recovery policy. Release outstanding frame references, close handles in the documented order and avoid unlimited reconnect loops. Reset stale queues and match new frames to the correct acquisition session.
A frozen preview can also leave an old inspection decision visible. Mark the affected inspection unavailable, identify uninspected parts and follow the machine's validated fault-handling procedure. A camera-stream watchdog is not a substitute for a safety-rated function.
Where processing completes asynchronously, matching results to frames with timestamps helps prevent a recovered stream from being associated with stale decisions.
Choose replacement parts only after isolation
Select camera cables by interface, connector arrangement and mechanical duty, not appearance alone. The accessories finder helps narrow the available connection options.
The LS-CBL-0219 is a USB3.0 camera cable intended for high-flex drag-chain use. Confirm its connectors and compatibility with your device before treating it as a substitution candidate.
A cable suitable for motion is not automatically the correct cable for every USB camera. Confirm the complete connection, including any adapter, before ordering.
If the investigation instead leads to a redesigned inspection station, browse area scan cameras through the camera finder. A separate color camera can be an architectural option, but it does not directly replace a combined color-and-depth device.
The MV-CH120-11UC is a USB3 color area scan camera. Verify its available acquisition modes, software compatibility, synchronization requirements and lens coverage against the application.
- Sensor format
- 1.1"
- Lens mount
- C-mount
- Interface
- USB3
- Resolution
- 12 MP
For a new station, use the camera configuration step after establishing the required image format and sustained throughput. Do not select a replacement solely because its headline resolution exceeds the current requirement.
Accept the fix against the original workload
Validate the final configuration, not just the reduced-load diagnostic setup. If failure previously appeared around 90 minutes, a five-minute preview is weak evidence. A three-hour run provides a useful longer observation window, but does not prove indefinite reliability.
Use this acceptance checklist:
- Restore every required stream, processing stage and recording destination.
- Reproduce the expected background workload and normal machine operating cycle.
- Confirm that frame counters advance and queue depths remain bounded.
- Track incomplete frames, drop events and the longest inter-frame gap.
- Repeat comparable runs rather than relying on one successful session.
- Exercise documented restart and recovery behavior in a controlled test.
- Retain the configuration and logs that distinguish the failed and corrected setups.
If the fault remains unresolved, send the configuration, topology, first-error timeline and substitution results through technical support. That evidence supports a targeted compatibility or hardware review without replacing unrelated components.
Questions
Why can depth keep working when the color stream stops?
Streams from the same device can use separate endpoints, buffers and processing paths. Continued depth output shows partial operation, not complete device health. Check color-frame arrival before conversion or display, then compare operating-system events and queue behavior to distinguish a transfer failure from a stalled consumer.
Does lowering the frame rate prove USB bandwidth was the problem?
No. Reduced traffic can also relieve CPU load, memory copying, conversion time and storage pressure. Treat improvement as evidence of load sensitivity. Compare minimal acquisition with the complete application, verify the negotiated connection speed and inspect which devices share the same host controller.
Will a powered USB hub prevent the stream from stopping?
A powered hub may help when the device's documented demand exceeds the available shared power budget. It cannot create additional upstream bandwidth, and it introduces another connection and topology change. Test it separately using an approved power arrangement rather than treating it as a universal repair.
What information should a useful failure log contain?
Record stream settings, software versions, elapsed runtime, frame identifiers, host arrival times and the earliest transport or application error. Include queue depth and memory trends where possible. Preserve device timestamps separately unless you have established their relationship to the host clock.
How long should the corrected system run before acceptance?
Use repeated tests that exceed the previously observed failure window while reproducing the full workload. Choose the duration and repetition count according to operational risk. Passing an extended test improves confidence, but continued monitoring is still needed because intermittent faults may depend on conditions absent during testing.

