LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web browser control of RT VI front panel: Requested VI is not loaded into memory on the server computer

Hey folks,

 

I apologise for this somewhat recurring question, but I have been reading and trying a lot and still can't use a web browser to control my RT vi. 

 

Little intro:

I am using a compactRIO with a DO module. There is an FPGA vi that simply takes the Boolean value to send to each DO. The controlling VI is on the RT microcontroller, and since this is a test, it simply consists of 32 Boolean controls (one for each DO, that the user can set). Both RT and FPGA VIs are set to 100ms time period. 

 

The problem:

I have been trying to control the front panel of the RT vi unsuccessfully so far. I have followed the instructions given in Help:

http://zone.ni.com/reference/en-XX/help/370622E-01/lvrthowto/remotepanels_regaincontrol/ , and its internal explanations:

http://zone.ni.com/reference/en-XX/help/370622E-01/lvrthowto/remotepanels_remotebrowser/

http://zone.ni.com/reference/en-XX/help/370622E-01/lvrthowto/remotepanels_browseraccess/

http://zone.ni.com/reference/en-XX/help/370622E-01/lvrthowto/remotepanels_browseraccess/

 

However, when I try to control the vi from the web browser, I get the 'Requested VI is not loaded into memory on the server computer' notification:

web browser screenshot.png

 

I don't know what I am doing wrong. Here are some more screenshots to show how this is set up. 

 

Project:

project screenshot.png

 

And this is how the web server properties are set up:

 

web server properties 1.png

 

web server properties 2.png

 

In terms of visible VIs and Browser Access I have left it as it is, since, from what I understand, the single star means 'access to all'. I have also done 'deploy all' on the RT and rebooted it a few times, but I still get the same error in the browser. 

 

I would really appreciate some help. Thanks a lot,

 

Gabriel

0 Kudos
Message 1 of 6
(3,283 Views)

Hi,

In your case as the visible vi's and the browser access are left blank, your application ini file will be complied with no vi name and no browser ip address.

i suggest you to enter the Vi name in the visible vi's column and also the IP address of the client PC from where u are trying to access the application. And also try changing the port what you have set to 80 or 81 instead of 8000.

 

And also do change the permissions to both view and control.

 

I hope this will help you..

LV 8.0, 8.6, 2011,2012,2013 WinXP
0 Kudos
Message 2 of 6
(3,278 Views)

and aslo cross check the html file is in the application path and also in the www folder of labview in your system program files folder.

LV 8.0, 8.6, 2011,2012,2013 WinXP
0 Kudos
Message 3 of 6
(3,277 Views)

Hello, thanks a lot for the answers, but the problem still persists, and I don't know why.

 

I have added the IP address and VI name (by the way, do I need to state the whole directory path or can I just write the name.vi, like Host on Rt.vi in my case?). With respect to "cross check the html file is in the application path", do you mean the same directory?

 

I have also had a look at this thread:

http://forums.ni.com/t5/LabVIEW/Web-Server-on-cRIO-9012/td-p/588343

However, from what I understand from to the guide, you don't need to make a build and set a start-up application to control the front panel. 

 

Also, when creating the html using the web publishing tool, when I click 'browse' to select the VI, I choose the vi saved on a folder in my development PC. I don't know if this is because of this, or something else, but if I do it, when it produces the url, it gives the ip address of the development computer, like "http://laboratoriope03:8000/Host%20on%20RT.html", and not the one of the RT. 

 

I don't know if this is worth mentioning, but the crio is connected to the computer directly using a crossover cable and a dedicated network card. Then, the PC is also connected to the internet with a different ip and different network card. And in terms of software installed on the RT, I think I have it all, but just in case:

MAX.png

 

Thanks a lot again

 

 

0 Kudos
Message 4 of 6
(3,266 Views)

As a first thought by looking at your answer, once try with giving the exact IP address of the PC rather than the PC name. Also try with appending the port number what you have given for the browser like "http://100.100.100.100:80/RT.html"..

 

If still this will not work, then try making your development pc as server and your RT machine as client.

LV 8.0, 8.6, 2011,2012,2013 WinXP
0 Kudos
Message 5 of 6
(3,254 Views)

Hey gabrielcasano

 

I think I am having the same problem you were in this case.  Did you ever figure out how to fix it?

 

I can get it to work in a standalone problem, but not when I try to get it working in an exe.

 

I followed these directions:

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

0 Kudos
Message 6 of 6
(3,197 Views)