Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote view/control of cRIO VI on a general web browser

Hello,

Thanks in advance for reading this and any advise offered. 

 

I'm a novice at LabVIEW/cRIO, so please forgive me if this is straight forward.

Having read several of the tutorials, etc, I'm having some bother with the following and

would greathly appreciate, an answer as to whether or not this is possible and

if so some simple example code would be fantastic.

 

Platform:    cRIO 9022

Application: Serve a VI from the embedded webserver on the cRIO (I've enabled the server) such

that the web page/VI is visible on a general web browser (e.g. Internet explorer), on a PC which is not

on the same network and without having to install a Labview web client or any other 

additional software on the PC viewing the web page.

The web page will display a graph of a continuously updating data, and have some

control inputs. 

  

 

Thanks for any advise and direction,

G

 

0 Kudos
Message 1 of 4
(4,988 Views)

This is possible. The PC WILL have to be on the same network such that you should be able to ping the cRIO from it. Also, in order to view the front panel in the web browser, the LabVIEW run time engine needs to be installed on the PC.

 

Search for 'web publishing tool' on NIs website. If you additional questions, don't hesitate to post back.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 2 of 4
(4,980 Views)

Hi Jer Hello,

 

Adnan has provided you with the easiest implementation to expose your cRIO application to the web, but as he notes you will need the LabVIEW run-time engine. To accomplish what you want without the run-time engine you will need to create a Web Service application.

 

Your best resources for how to go about doing this are contained in the following tutorials.

 

Web Services in LabVIEW and LabVIEW Web Services FAQ

 

The links at the end of the FAQ pages are very useful and also include an example.

 

Regards
JamesC
NIUK and Ireland

It only takes a second to rate an answer 🙂

 

0 Kudos
Message 3 of 4
(4,963 Views)
Thank you Adnan and JamesC,Your advice and assistance are genuinely appreciated! Over the next few days I'll work thought the 'web publishing tool' and the tutorials: Web Services in LabVIEW and LabVIEW Web Services FAQ  Fingers crossed - this will solve the dilemma. I'll get back to you both to let you know how it goes - if I can/could help youwith anything I will. Thanks again for your help, its great to have your professional advice.Jer

 

0 Kudos
Message 4 of 4
(4,956 Views)