From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Systemlink Server on a cRIO Plattform

Solved!
Go to solution

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?

0 Kudos
Message 1 of 6
(2,283 Views)

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,

0 Kudos
Message 2 of 6
(2,226 Views)

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,

Patrik
CTA, CLA
Helping (sharing) is caring!

If the post was helpful - Kudo it.
If the post answered your question - Mark it as Solution.
Message 3 of 6
(2,197 Views)

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?

0 Kudos
Message 4 of 6
(2,179 Views)
Solution
Accepted by nikolaus33

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,

Message 5 of 6
(2,167 Views)

Perfect, thank you!

0 Kudos
Message 6 of 6
(2,150 Views)