LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remote panel error "vi name required" ???

I installed a LabView Web Server, which includes a start html site. If I open this startsite in a browser of a remote PC I can use different links to different VIs. Every VI is opened in a new browser window. Everything works, but if I open a VI by clicking on a link, close it and want to open it again by clicking on the same link, a new window is openend with the vi border, but a error message appears: "Vi name required".

What does it mean?

Afterwards if I close all browser windows and start again, I can open the VI one time without problems.

Does anybody have an idea?

I'd be glad for every answer!
0 Kudos
Message 1 of 3
(2,732 Views)
Wolfe,
This issue is related to the way that Internet Explorer loads the LabVIEW Run-time Engine (LV RTE). Whenever a remote front panel is called, your browser loads the LV RTE to allow the remote front panel to work. If you are using Internet Explorer, and are opening remote front panels into new browser windows (i.e. "pop-up" windows), the first time you open a remote front panel in a new window, everything will work fine. If you close this window, and then try to open a second new browser window, instead of a remote front panel, you will receive a "VI Name Required" error in its place. Note that this error only occurs if the LV RTE is called for the first time in a new window, and only if using Internet Explorer.

There are some possible ways to avoid
getting this error. Possible workarounds include:

1. Use a different internet browser, such as Netscape Navigator, to access the website. Netscape Navigator can be downloaded from Netscape's website.

2. Access the remote front panels in the same window, instead of accessing them into new browser windows. This will allow Internet Explorer to handle the LV RTE properly.

3. If you would like to continue to use both Internet Explorer and pop-up windows, you can do the following. Use the LabVIEW Web Publishing Tool to publish an extremely simple VI with a very small front panel. On the webpage that contains the links for your pop-up windows, include the html code for your simple VI near the bottom of the page. This will allow Internet Explorer to properly load the LV RTE before popping up new windows.

LabVIEW
Remote Front Panels Tutorial


Zvezdana S.
Message 2 of 3
(2,732 Views)
Hi Zvezdana,
thank you so much for the information!
I included a small front panel in my html code of the first browser window. I defined the height and width as zero, so nobody can see the additional front panel. It works fine.

I have one more problem. Maybe you can help me over again. When I control a front panel in a browser and don't use the 'close' - button in my program, but instead of this I use the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?

Thanks for your help!

Wolfe
0 Kudos
Message 3 of 3
(2,732 Views)