LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remote control for exe files

First of all, sorry for my English. Can I control remotly an .exe file made in lab view?. I know "Web Server" more or less, and I know how can I control a .vi file from another PC, but not an .exe file. Thank you very much
0 Kudos
Message 1 of 4
(3,163 Views)

You can control an EXE in exactly the same way you control a VI.

You need to copy the htm file you created in LabVIEW to the target machine (assuming it's a different computer) and you need to enable the server in the executable. To do this, go into the Tools>>Options menu after you run the EXE. If you chose not to have the menu bar visible, you will need to copy the appropiate lines from your LabVIEW.ini file to the exe's INI file.

I think the only line you really need is

WebServer.Enabled=True

But you may need some more. The safest thing is to enable the server from the EXE.


___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(3,160 Views)
Sorry, but I cant't do it. I tell you what I'm doing step by step, and if you can help me please.
1.- Create a .vi and enable Web Server with Tools>>Options>>Web server configuration
2.- Create the web page with Tools>>With Publishing Tool
3.- Create an .exe file with Toola>>Build Application
After that, I can enable the Web Server, but haven't the option Tools>>With Publishing Tool for creating the web page.
Thank you very much, I'm starting with lab view
0 Kudos
Message 3 of 4
(3,149 Views)

Look closely at what I posted - I said you need to copy the htm file you created in LV. You can't create a new htm file in the executable.

If you search for "remote front panels" and "executable" on this site, you will probably find more details.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(3,129 Views)