LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect a WiFi camera with LabVIEW?

I'm going to use LabVIEW for image processing, but I'm baffled by the first step. It used to be a USB camera, but now the camera I bought is wireless WiFi communication. What I want to ask is, how can I make LabVIEW control the opening and closing of the camera, as well as video transmission and acquisition? Thank you and ask you for help

0 Kudos
Message 1 of 3
(2,397 Views)

Find a driver for your camera for your OS. If you are on Windows you want a driver that can make the camera work as a DirectX compatible device. Once that is working you can access the camera through IMAQdx like a (built in) USB Webcam.

 

IMAQdx only directly supports network cameras that follow the Genicam standard. Anything else would be a complete disaster as there is not a single standard such cameras support. Rather each camera has its own method of how it provides its image data to prospective clients. Many are simply providing rather infrequent JPG images over a standard HTTP connection, which allows them to be viewed in a web browser but even that has many variations that may or may not work with specific browsers.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(2,340 Views)

I've connected to a couple of WIFI cameras in LabVIEW by leveraging VLC.  Here is some code that might be helpful.

 

https://forums.ni.com/t5/Example-Code/VLC-scripting-in-LabVIEW/ta-p/3515450

 

It also can work for USB cameras but can be a bit more difficult to configure, and various models of cameras will have different settings that might be needed.  But if you can get it working in VLC, then you should be able to get it in a PictureBox in LabVIEW.  From there you should be able to take snaps or save video.

0 Kudos
Message 3 of 3
(2,311 Views)