LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Remote panel server failed to send requested VI"

We are using the G-Web Server to embed VITs into an html webpage. We are able to view the VITs perfectly in development code, but once we build the VITs into libraries, we get the error:

"Remote panel server failed to send requested VI"

We believe that our server is setup correctly, and we have checked to make sure that the VI is in memory on the server machine. If anyone has any ideas, we would be very grateful.

Thank you in advance,
Chris Bauer
0 Kudos
Message 1 of 3
(2,225 Views)
I thought I would let you know we are using a combination of G Web Server for CGI scripting, and LV Remote Panel Server to serve up the VIT's (VI clones). Here's some more detail about what's going on...

The order of events:

1) Server Application runs on port 80. This is both G web server (set to share port with LabVIEW), and the LabVIEW built-in web server.

TCP Access is enabled for all connections for both servers, and VI access is enabled for all VI's for the LV Web server. We have ensured this is also true for the built application using the appropriate settings in the application.ini file and the [application] section.

2) Client requests a CGI page. G web server catches the CGI request, runs a small CGI VI. The CGI VI (a) opens and runs a VIT (vi clone), and (b) creates and returns to the client a small HTML document which embeds the cloned VI's front panel. This method follows the structure of the NI example in "Creating Simultaneous Instances Remote Panels LabVIEW Applications".

The VI clone is running properly at the CGI request. We've added code to open the clone's panel on the server at the time of request to ensure this.

3) We *think* we understand the licensing issues surrounding the Remote Panel server. Further, we enable logging on the server (WebServer.LogEnabled=True), and we can see the license granted to client connection at time of request (timestamps/user/ip removed for clarity):

localhost - - FPP ConnAllowed - - Total licenses checked out = 1 localhost - - FPP VIReqAllowed - "Spartan Home 1.vi"
localhost - - FPP ConnClosed - -
0 Kudos
Message 2 of 3
(2,215 Views)
Please refer to other thread, thanks!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 3 of 3
(2,210 Views)