09-04-2019 09:30 AM
I would like to build a Dashboard via Web VI using NXG for my cRIO. For the communication between the Labview programm and the Dashboard I think Systemlink is the weapon of choice.
My problem is, that this runs in a closed network, so for my understanding I need a NI Webserver. Is it possible to run this on the cRIO so that I have a standalone Machine with a nice HTML5 Dashboard?
Solved! Go to Solution.
09-05-2019
10:43 AM
- last edited on
02-01-2024
03:26 PM
by
migration-bot
Hello nikolaus33,
SystemLink is, indeed, a powerful tool for managing and monitoring distributed systems. I am unsure it is the best option for one single device though (as you've read, it requires the SystemLink server to be installed in a supported environment).
Perhaps the LabVIEW NXG Web Module can be a better option to have a professional looking panel for your system. I believe it would use something similar to: Hosting a LabVIEW Web Service and an NXG Web VI in a Remote System. I've actually never tried it, since when I controlled a cRIO from a website, I used SystemLink Cloud, which I can see is also not an option for your setup.
All the best,
09-11-2019 12:53 AM - edited 09-11-2019 12:54 AM
Hi Nikolaus,
I agree with Oscar here, LabVIEW NXG Web Module can be truly the answer to your questions. If you are using numbered version of LabVIEW (201x), you could use Web Services in LabVIEW and then develop HTML Website to run on your server (so basically your Dashboard).
Hope this helps.
Regards,
09-11-2019 02:15 AM
Thanks for your input,
actually that's, what I'd like to do. My problem is the communication between the Labview 201x programm and the WebModule HTML Page (Dashboard). As Systemlink doesnt work in my case, the only way I guess is to use HTTP GET, POST and Websocket to bring the data from the programm tho the Dashboard and vice versa.
Or is there any other possibility?
09-11-2019 10:43 AM
Using a LabVIEW Web Service and HTTP methods, as Patrik recommends, should help you accomplish this. You can find an example here: Call LabVIEW Web Service.
Regards,
09-16-2019 09:40 AM
Perfect, thank you!