LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 8.6 web services stream image/video

Hi there

 

I would like to control the instrument through the internet by using camera

and I have found out that LabVIEW 8.6 has done a lot on this matter since the last version 8.5.

 

The problem I have is related to image (or video) sending (streaming) to the client browser.

Does anybody know how to handle this thing?

I use Web services and I was thinking of using 'Write response.vi' together

with 'Set HTTP Response MIME Type.vi' but I don't know how to set it up.

 

Any help or experience would be most appreciated.

 

Thanks in advance,

Domen 

0 Kudos
Message 1 of 11
(10,159 Views)

Hi Domen,

 

I apologize for this post falling through the cracks.  To make it up to you, I've attached a simple example that should accomplish what you want.  Please let me know if you have any other questions!

 

 

 

Message Edited by Pakman on 09-18-2008 06:23 PM
Download All
0 Kudos
Message 2 of 11
(10,035 Views)

Dear Peter

 

Based on the advice of some of your colleagues I have managed to send still jpeg images.

However, sending a video is like shifting to a higher gear,

so therefore I thank you very much for the solution. This will come handy.

 

LV 8.6. is really a step forward in web design.

 

Domen

0 Kudos
Message 3 of 11
(10,018 Views)

Hi,

is there a way to extend the MIME types for web service, like mp4?

0 Kudos
Message 4 of 11
(9,619 Views)

Hey cosmin,

 

It sounds sounds like someone had a similar question. Check out this Thread.

 

Hope this helps.

 

-Ben

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 5 of 11
(9,604 Views)

Hi,

already done that, but the new type does not apear in the  Set Response MIME type.vi

0 Kudos
Message 6 of 11
(9,590 Views)

Hey cosmin,

 

You can edit the combo box items to include the mp4 option. To do this, create a MIME type control on you front panel. Then right click on the control and select Advanced»Customize. Once the control edit window pops up, you can then right click on the control and select Edit Items. Then, simply add your mp4 entry to the list and you will be able to so mp4 as an option. While this will allow you to see the mp4 on the list of the available options, this step wouldn't give you the ability to use that particular data type, it would simply allow you to see it in the available options on your front panel.

 

I hope this helps,

-Ben

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 7 of 11
(9,568 Views)

Hello!

 

Thank you for the example.

 

I wonder how to complete this project by embedding it in a web page.

 

How about connecting a camera to stream live to web page as well?

 

Regards,

 

Yehia A.

 

yehia@cloudypedia.com 

0 Kudos
Message 8 of 11
(8,747 Views)

Hello Yehia,

 

 

You might want to look at this KnowledgeBase talking about How Do I Use a Remote Front Panel with IMAQ?

 

Thanks and have a great day. 

 

 

0 Kudos
Message 9 of 11
(8,690 Views)

Hello Again,

 

Thank youvery much for your respond,

Now i have a problem with the HttpIdRequest.I have gone through the knowledge base and help.it says that it is an unsigned 32 bits integer.I have tried  so many, It never works.What should do, what httprequest id did you use to run this example.

 

Best Regards,

 

Yehia Ahmed

 

yehia@cloudypedia.com 

0 Kudos
Message 10 of 11
(8,631 Views)