05-04-2014 07:00 AM
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.
05-04-2014 09:38 AM
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.
05-05-2014 04:09 AM
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.
05-05-2014 04:41 AM - edited 05-05-2014 04:42 AM
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?
05-05-2014 07:46 AM
05-05-2014 09:09 AM