08-27-2011 10:21 PM
How do i open the calculator.exe executable file remotely using webpublishing tool in labview from another computer. We can open this file in our server computer but cannot open it in a remote computer.
Solved! Go to Solution.
08-29-2011 12:20 AM
Hi,
To access your EXE remotely on WEB, you have to publish you application on web using web publishing tools. Follow below mention steps.
1. Enable your web Server (Tools-Options-Web Server)
2. Publish your VI on web using Web Publishing Tools. (Tool-Web Publishing tool...)
Your URL to open the application is
Http://web publish system IP:Port/application.html
08-29-2011 04:22 AM
I have already published it using web publishing tool. Now i am having trouble to open the given exe file remotely from another computer where it can be opend on the server computer only .
08-29-2011 04:32 AM
What kind of trouble you are facing on other computers. You are getting any errors or message?
08-29-2011 07:16 AM
What you are trying to accomplish seems rather strange to me.
Simple fact: running the calculator on another machine via web does not give you any access/display of/to it. So you will have no gain of this.
What would you have to do?
Create a webpage which embeds the calculator into it's panel. This task is not connected to LV in any way. This is "simple" webdesign.
hope this helps,
Norbert
08-29-2011 06:17 PM
Hi,
One option, if you have LabVIEW on the remote machine, is to place your Open Calculator.VI on that computer. You would then use a second VI on your server to make the Open Calculator.VI run on your remote machine. I've attached an example, Call Open Calculator.VI You will have to change the IP address and file path in the block diagram to correspond to your remote machine. You will also have to make sure that TCP/IP is enabled on your remote machine, that your server's IP is added to the Machine Access list, and "Open Calculator.VI" is added to the Exported VIs list.
The following help document should help guide you through the settings I mentioned above.
http://zone.ni.com/reference/en-XX/help/371361D-01/lvdialog/options_dialog_box/
I hope this is what you were looking for,
Regards,
Luke B.
08-29-2011 07:53 PM
No no error masg but just that file is not opening.
08-29-2011 10:15 PM
Sorry for the misunderstanding now i am explaining the whole problem in details.
I am currently working on a remote laboratory project and i have an instrument which doesnt have a driver in labview and also doesnt have a command file from which we could have make a driver. So we have integrated the exe file of that instrument which is visual basic based using system.exe.vi. Now i want to acess this exe file on a remote computer. This exe file can be opend in the server computer but for some reason cannot be opend in the remote computer.
Below i have attached a copy of the integrated vi of the integration between the LabVIEW and the instrument software. Just in place of the instrument soft ware i have placed the exe file of the calculator.
Is there any possible way of publishing the vi on web instead of using the web publishing tool? If there is do let me know .
Thanks for your help
08-30-2011 02:38 AM
I am not sure if i was clear enough:
If the exe displays some kind of UI/dialog in order for control, you will never see this UI/dialog from the remote PC. So even if the exe is started up properly, you will have no gain of this.
If the exe is a "stand alone running application" with no user interaction, it should work out with remote panel access.....
hope this helps,
Norbert
09-01-2011 01:36 AM
Is there any way that i can convert an exe file to a html file??