LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with webcam in remote VI

Hello,

 

I'm trying to get a remote VI controlling some lab equipment at my university working.

 

The VI wasn't built by me (the person who built it no longer works here) and I'm a bit of a Labview rookie.

 

I've managed to get most of it working remotely, except for a webcam. The webcam works perfectly when run from the computer hosting the VI (even if I run it using the VI's web address of http:// xxx.xxx.xxx.xxx:8000/VI_name.html) but when I try to run the same VI from any other computer, I only get a black screen where the webcam image should be.

 

I don't even know where to start on this issue. Anyone can help?

 

 

0 Kudos
Message 1 of 4
(2,706 Views)

Hello,

 

The computers that are trying to connect to the VI remotely need to have NI Vision Common Resources installed in order for the Image Viewer to display correctly on the remote front panel.  It is free to download and install in the link provided.

Regards,
Isaac S.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,667 Views)

That did the trick, it works nowSmiley Happy

 

Thanks a lot!

0 Kudos
Message 3 of 4
(2,653 Views)

 

Although there are other methods of interfacing with IP Cameras, one very simple method is to leverage Virtual Webcam software which emulates the functionality of a USB webcam. One such piece of software is the IP Camera Adapter. Once this software is installed, it will be capable of emulating your MJPEG stream as a DirectShow device. This will allow the IMAQdx drivers to use the camera and, therefore, allow you to interface the camera with LabVIEW and NI Vision. You can review the information:

 

Connecting to an Arbitrary MJPEG IP Camera with IMAQdx Using Third Party Virtual Camera Emulator

http://digital.ni.com/public.nsf/allkb/9446A8C25CC99F7586257A56004D513D

0 Kudos
Message 4 of 4
(2,579 Views)