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
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