07-05-2011 02:45 AM
Dear Ladies and Gentleman
We like to access our front panel by web (to be able to see what is happening) which works fine. We need also password protection in order to assure only some people have access. For this case we installed LabView 2009 SP1 32bit together with the Internet Toolkit. After following How to Setup Security for the G Server? we are forced to enter a password when opening the URL in firefox. If the correct password is entered the web site opens BUT the plugin which is needed to open/show the embedded LabView panel applet does not work!! There is a grey box indicating that something is actually going on, but nothing appears...
If we do not use password protection (i.e. G Server but the default LabView Server) everything works fine.
We are using an evaluation version of the Internet Toolkit but if this issue can be solved we would like to buy it.
Thanks a lot for your help and time
Greetings
Ursin Solèr
(ETH Zürich)
07-06-2011 02:51 AM
Hi Ursin,
do you see the same problem if you use internet explorer?
Regards,
Joseph Tagg
07-07-2011 03:01 AM
Sio the point is: It is NOT working with 'Share LabVIEW Web Server Port' it works with 'Independent G Web Server' only. Then after entering the password in firefox the panel stays empty, in Internet Explorer a message appears that the Server does not support panels. This makes sence since I'm connecting through another port to the G Server an NOT to the LabVIEW Web Server.
So my question should be: "How to get the 'Share LabVIEW Web Server Port' with Panel and Password working?"
Thanks so far!
07-07-2011 04:03 AM
Hi,
please note from this document:
http://zone.ni.com/devzone/cda/tut/p/id/7503
that you cannot in LabVIEW 8.6+ share a port with the web server.
Note: In LabVIEW 8.6 and later, the G Web Server cannot share a port with the LabVIEW Web Server. If you have applications that include both Internet Toolkit CGI VIs and LabVIEW remote panels, the VIs and the remote panels cannot be on the same port. You must reimplement the CGI VIs using the LabVIEW Import Web Service wizard.
Regards,
Joseph Tagg
07-12-2011 02:20 AM
Hello Joseph
Thanks for your reply - actually I remember to have read the document you mentioned. I read the note also... but I have to admit that I did not understand what's the point;
- I do not want to 'Import' something but to 'share' / 'publish' / ...
- I do not understand what a Web Services are and what I do they need for
- I do NOT have any CGI code (just a simple VI)
- I JUST WANT TO PROTECT A WORKING REMOTE VI WITH A PASSWORD (e.g. instead of showing the VI to me, ask first for a password and THEN show it)
Sorry but as I can see this should be easy since it should be a quite common task, doesn't it? In early LV versions (before v8 or may be v6) this was simple and
described in several documents:
- http://digital.ni.com/public.nsf/allkb/8D8A18E0348920A48625703B00789A41
- http://digital.ni.com/public.nsf/allkb/427FE409FB11575686256DFF0008BBE4
PLEASE HELP ME! In about 1 week the evaluation period of the Internet Toolkit is over... Do I really have to write my own code for this? Is there no simple
built-in solution?
Greetings
07-13-2011 08:55 AM
Hello!
I tried out the steps described in this KB
Can I Enable G Web Server Authentication for My LabVIEW Remote Front Panel?
http://digital.ni.com/public.nsf/allkb/C70EF64F0B259C2F8625740000705673?OpenDocument
and I got the same error: Server does not support panels
I am afraid that there is no easy way to implement a password protection for Remote
Front Panels by configuring the LabVIEW Web Server nor the G Web Server.
However, the following Knowledgebase shows howto implement a password protection in the
VI itself:
Password Protecting a Remote Front Panel in LabVIEW
http://digital.ni.com/public.nsf/allkb/427FE409FB11575686256DFF0008BBE4?OpenDocument
Regards,
Georg
01-16-2013 01:06 PM
I went to the link for Password Protecting a Remote Front Panel in LabVIEW and downloaded the example.
But I guess I do not fully understand how to use the attached files. I can remote in to the remote panel login.vi and it will add the main vi to the visible vi section like it should. But my question is how do you then get to the main.vi after you log in?
I was guessing that the main.vi would show up in the web browser as soon as you log on successfully. Or do I then have to enter the web address for the main.vi? If so how to automate that?
Also as soon as someone logs on the remote panel login.vi stops. It is possible to detect when the user leaves the main.vi and restart the login vi automatically? I was figuring this would have all been taken care of in the example.
02-26-2013 02:38 PM
I followed all the steps from the tutorials
http://digital.ni.com/public.nsf/allkb/C70EF64F0B259C2F8625740000705673?OpenDocument
http://digital.ni.com/public.nsf/websearch/26AB8FA9274E6B8C86256F5600784909?OpenDocument
http://digital.ni.com/public.nsf/websearch/8D8A18E0348920A48625703B00789A41?OpenDocument
But after making all the procedure that these tutorials ask, I AM NOT GETTING PROMPTED at all, for username and password. The vi opens and its controllable like I didn't none of these configurations.
Anyone has a hint for me?
02-27-2013 02:33 AM