LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring from two IP cameras using IMAQdx

Hello All, I have what I thought was a simple task but it is proving to be troublesome.

 

I have two IP cameras I want to stream images from. I am doing no processing or saving of any kind, it is just so the operator can monitor equipment. I assumed it would be as simple as starting a grab acquisition on each camera and retrieving the images using the IMAQdx VIs, but when following that approach I frequently have timeouts or "unknown HTTP" errors on one of the cameras or, at best, they update unbelievably slooooooow. They are two Axis IP cameras and, when run alone, they provide extremely rapid refresh with almost no latency.

 

I've tried alternatives such as reading them in a sequence, using snap acquisitions in parallel and in series, and countless others and the best I've been able to achieve is the method above with a hit-or-miss read and a 2-3 second update period. Has anyone done anything like this before? Code snippet attached.

0 Kudos
Message 1 of 2
(2,505 Views)

I was able to resolve the issue by setting the cameras to feed in smaller packets using their own configuration utilities. For anyone that may have an issue such as this, I was able to stream reliably by reducing my maximum camera bit rate. It turns out the default settings for these IP cameras is simply too high for simultaneous acquisition using IMAQdx 

0 Kudos
Message 2 of 2
(2,471 Views)