05-01-2011 06:05 AM
05-02-2011 12:00 PM
Hi ktq,
Are you using the WebUI builder? If so, this is definitely possible, but I wanted a little bit more clarification before we continue.
05-03-2011 07:33 AM
05-03-2011 08:09 AM
05-04-2011 11:05 AM
Hi ktq,
This is only possible if you are hosting the website on the computer that your VI is located on. Are you running an apache server or something similar to host the website yourself, or is the server owned and operated by some other company? If you have set-up and are running your own server, you should be able to simply move the "filename.html" file into the root directory of your webserver, and access it from there (so the location would now be www.MyWebsite.com/filename.html). The reason that you have to be running your own web server is that the VI that you are providing a remote front panel for must be loaded into memory on the web server.
05-04-2011 09:31 PM
05-05-2011 05:04 PM
ktq,
Ok, so the Remote Front Panel worked fine when referenced from the NI server, but now it does not? Could you check the page source from each to see if there are any differences? If it is the same, would you mind posting it here?
05-06-2011 12:35 PM
hello ktq,
I just found out from another engineer here at NI that this will not work, as our web server uses a proprietary plug-in to display the remote front panels. As far as we can tell, there is no way to export remote panel functionality to another web server.
05-06-2011 09:13 PM
05-10-2011 08:04 AM
Hi ktq.
Is the server that is hosting your website a system that you have complete control of? i.e. is it a system you own but separate from your development computer? Or is the website hosted by a commercial service like GoDaddy, etc?
Unfortunately, f you do not have full control of the server, what you are wanting to do is not directly possible. Copying the generated HTML document to the server alone will not work as it is looking for the VI it is meant to interact with on that same system. If that VI does not exist there (along with the necessary infrastructure to run the VI) it will not operate correctly. Your only option would be to create a page on the external server that redirects to a page hosted on your local system that runs the remote front panel and VI.
If you do have full control of the system, it may be possible but you will need to deploy the VI, run time engine, any/all additional needed files and drivers, and the HTML document to the server system. The VI will then need to be open on that system as the VI must be loaded in the system's memory for the remote front panel to work.
Regards,
-Michael G