02-24-2014 02:00 PM
Hello,
A couple of weekends ago I finally sat down and wrote some code to stream the video from the Foscam IP camera to LabVIEW and display it on the front panel. The cool thing about it: no ActiveX, the solution is cross-platform (tested on Mac and Windows) and does not use any extra LabVIEW toolkits.
I am handling TCP communication directly, and I'm reading the MJPEG stream and breaking it up in individual frames prior to displaying it.
The code is by no means perfect nor ready for production, but I would like to eventually clean it up a little more and post it. One of the biggest issues it has is that LabVIEW has no way that I can find to display a JPEG from memory inot a picture control. So I need to save the data to a file, then read it back just to display it; and the performance is attrocious.
If anyone wants to give it a spin, let me know.
08-02-2018 12:41 PM
Can I have the code please?
08-12-2018 09:45 PM
Sorry it took me so long to reply.
I went back and looked for the code. It's pretty rough but I suppose good enough to post somewhere for others to try out. There's lots of room for improvement. I've posted it on GitHub so whatever modifications you make please send a PR!
https://github.com/marcoskirsch/LabVIEWFoscam