LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change url field in web publishing tool

i m using web publishing tool to create a html page. in url field it shows my-PC:8000/filename.html but i want it to be saved on a website i have created . i want my website's url here not of my PC. how can i do it? i have searched alot on the net but haven't found anything yet which can solve my problem
0 Kudos
Message 1 of 10
(3,511 Views)

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.

Cheers!

TJ G
0 Kudos
Message 2 of 10
(3,502 Views)
no i just used the web publishing tool which asks for embedded or monitor .
0 Kudos
Message 3 of 10
(3,493 Views)
basically i want to run a design on my computer which is connected to internet 24 hours and then control it from anywhere using the internet. It means i want it to be controlled remotely
0 Kudos
Message 4 of 10
(3,490 Views)

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.

Cheers!

TJ G
0 Kudos
Message 5 of 10
(3,483 Views)
yeah i did copy the generated html file on the server. but when i access it, it gives me the error client does not have access to remote panel server.
0 Kudos
Message 6 of 10
(3,478 Views)

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?

 

Cheers!

TJ G
0 Kudos
Message 7 of 10
(3,468 Views)

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.

Cheers!

TJ G
0 Kudos
Message 8 of 10
(3,463 Views)
so what should i do? 😞 i have tried everything, searched on net but am unsuccessful so now i posted my problem here.
0 Kudos
Message 9 of 10
(3,457 Views)

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

 

Michael G.
Applications Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Self-realization: I was thinking of the immortal words of Socrates, who said, "... I drank what?"
0 Kudos
Message 10 of 10
(3,448 Views)