LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Live video transmission from Ni MyRIO to a website

Hello everyone, I am trying to transmit live video generated by a BASLER camera (acA640 - 90uc) connected to my NI MyRIO to a web page by means of some communication protocol, but I cannot find one that works for me, any idea how this could be achieved ? Thanks a lot

Message 1 of 5
(2,067 Views)

Hi, can you explain a little more about your problem, remember that labVIEW has HTTP protocol that maybe can solve your problem.

Message 2 of 5
(2,053 Views)

Of course, yes, I have tried to use the http protocol, however this protocol when working by data pack does not allow me to transmit live video, I thought about segmenting the video and changing the data flow to binaries to be able to send them via http, However, I don't know how an idea could work?

0 Kudos
Message 3 of 5
(2,037 Views)

I'm assuming (because you failed to attach your VI/Project so that we could see what you were doing) that you have a simple myRIO project that uses IMAQdx to acquire video from a connected USB camera and display it via the connection to a Host PC on the PC's display.

 

Just for the moment, let us forget about Video and about myRIO and ask, "Can LabVIEW be used to send data to a Website?"  A quick search of the Web seems to say that the answer is "Yes", and methods have been available for over a decade.  However, at the present time, it appears to be quite difficult, particularly image data (such as something called "Remote Front Panel", where you can view the Front Panel of a running LabVIEW program over the Web).  

 

My understanding is that LabVIEW NXG has, or is promising, this ability.  I've tried to do this with "Classic" LabVIEW, and in very limited cases (e.g. my home network), I've had some partial success, but it is very challenging, and clearly "not ready for Prime Time".

 

Bob Schor

 

 

0 Kudos
Message 4 of 5
(1,991 Views)

Not a simple thing to do. When you say your MyRIO is connected to a webpage what do you mean. Have you got a webserver running which has a webpage that you want your video feed to be visible on or are you trying to do something else.

 

I probably wouldn't try and do the encoding with LabView. I know you can use VLC as a streaming server, and you can do this from the command line within LabView using System Exec.

 

https://wiki.videolan.org/Documentation:Advanced_Use_of_VLC/#Stream_Output

0 Kudos
Message 5 of 5
(1,977 Views)