LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to A Remote Front Panel of a Real-Time Published Webservice.

Hello All

 

I have a real-time PXI target on which I have a webservice called "cgi-bin" . I publish the webservice using the LabVIEW project by selecting the webservice in the target and selecting "Publish". This webservice then runs on the system's application webserver - this all works fine.

 

Now I was wondering if I would be able to view the front panel of the Startup VI using remote panels.

 

If it is possible, how would I refer to the VI? would it be something like "cgi-bin/my-startup.Vi" or something far more complicated? Note: The webservice is directly under the target (not in any form of additional library).

 

In the past, any Real-Time applications that I have created have been deployed as startup executables which were realtively easy to connect to.

 

Any suggestions would be appreciated.

 

Cheers

 

John

0 Kudos
Message 1 of 3
(2,682 Views)

I'm sure someone will correct me if I'm wrong but I wouldn't have expected this to be possible. If for no other reason than because I can't imagine that the VIs used by the web service will still have a front panel when deployed to the web application server.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 3
(2,677 Views)

It Should be possible. You need to build the web page using the Web Publishing tool under the tools menu in your project. This file needs to be placed on the real time www directory and then set up the remote front panels settings. Lots of examples to search for. 

 

The URL needs to be something like HTTP://192.168.0.1:8000/Name.html

 

Change IP Address for your real time , 8000 is the port for remote front panels default and change name.html to the name you built with the web publishing tool. Also you need labview runtime engine installed and use Internet explorer as web browser or you must download the correct pluggin.

 

 

http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1 

0 Kudos
Message 3 of 3
(2,662 Views)