07-24-2009 07:39 PM
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
07-25-2009 12:23 PM
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.
07-27-2009
11:48 AM
- last edited on
10-01-2025
08:35 AM
by
Content Cleaner
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 🙂
07-27-2009
03:39 PM
- last edited on
10-01-2025
08:35 AM
by
Content Cleaner
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