LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve following problem (web broswer)

I want to display the IP camera stream (MJpeg) in Labview through Web Broswer.

After I clicked "RUN", the message box was pop up. I don't know where something wrong.

Please find below picture for more information.

problem 1.jpg

0 Kudos
Message 1 of 6
(2,545 Views)

Your browser doesn't know what to do with the file it is getting.  What is the extension of the file?  Is it JPEG or something else?  Hit save and save it to  your harddrive and look at its name.  You may need to associate a program to open it.  If  you hit the "Find" button, it should allow it to be associated.  Or if you double click on the file after you saved it, it will ask you what program you want to open it with.  Usually, real JPEG files will already be associated with the MS Picture Viewer app, MS Paint, or even the browser.  Maybe your file associations are not for some reason.  Or it is some other file extension besides a JPEG.

0 Kudos
Message 2 of 6
(2,532 Views)

thanks for your reply. I could view Motion JPEG  through the firebox browser and IE browser. But i could not view it through the  Labview.

I have tried "Save", and the saving file process  is never end (infinitely saving).

Clicked "Find", MS did not show the exactly file type for me to install.

0 Kudos
Message 3 of 6
(2,502 Views)

I guess you are embedding the camera feed into a web browser control, right?

You could perhaps create a local html file that contains a <img src="url to image" /> tag and use the path to the local html file in your web browser control. I think this would work - the browser control uses IE under the hood so if IE can display it then you should be able to do it that way. By creating a local html file you're forcing it to understand how to display the picture with a html image tag.

I guess the other option would be to read the raw binary data for the file (http client VIs, TCP VIs) and use the image processing VIs in LabVIEW to try and convert the raw data to a picture control?


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 4 of 6
(2,499 Views)
Yes. It could also work at window xp. I am now using window 8. I guess that it might be relatedto os version.
0 Kudos
Message 5 of 6
(2,478 Views)
The url you are passing has no file extension so LabVIEW / the browser control doesn't know what to do with it - I'm pretty sure it'll be the same in any operating system.

LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 6 of 6
(2,471 Views)