This example project uses LabVIEW Web Services to publish and stream images over internet.
Project content



Thanks: https://stackoverflow.com/questions/20877813/auto-refresh-images-in-html
Ref1: https://en.wikipedia.org/wiki/Motion_JPEG#M-JPEG_over_HTTP
Ref2: http://www.ietf.org/rfc/rfc2616.txt

OBS: MJPEG over HTTP is not supported by Internet Explorer natively, it is required to install an add-on, at least when I tested it. I didn’t investigate much though.
How to run
1. Open the project
2. Right-click on “myWebService” and select “Start”
3. Right-click in on of methods, e.g. MJPEG.vi and select “Show URL Method…”
4. Copy this URL in an Internet Browser
Final considerations
Dependencies: NI Vision Acquisition Software
Hardware tested: Laptop with Webcam, cRIO-9068 with Basler USB3.0 camera and sbRIO-9651 + Dev Kit with Basler USB3.0 camera
Hi.
Thank you so much for sharing this. It has been extremelly useful for me, and also really easy to use. It works like a charm.
How difficult would it be to deploy this as a source distribution instead of using it as a LabView project? For my needs, I would need to be able to use the startup.vi outside the project.