LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I send real-time Video by a DataSocket Connection, or how I can Make that with CVI?

Hi dudes!
I want to know if I can send real time video through a data socket connection, or insted how I can make that.
other: Can i implement a TCPserver from a thread, in a multithreaded application?
0 Kudos
Message 1 of 2
(3,179 Views)
Theoretically, you could probably do that with DataSocket since you can send byte streams through it, but the amount of programming involved would ultimately cost you more than just going with a prepackaged solution like Windows Media Player. To explain what I mean, in CVI 6.0 you can now embed ActiveX controls within your UIRs, including the Windows Media Player ActiveX control. If you were to establish a Microsoft streaming video server at a remote location to serve your videos, you could probably pretty easily have your custom app with the ActiveX control in it connect to this server to view the video. If you don't already have CVI 6.0, you can take a look at Measurement Studio 6.0 in our online catalog at http://www.ni.com/catalog.

As for your question abou
t the TCPServer in a separate thread, yes you can do that. You just have to spawn a new thread and register the server and its callback in that thread.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,179 Views)