01-14-2010
07:11 PM
- last edited on
07-22-2025
04:33 PM
by
Content Cleaner
The method below can only publish vi on webpage with few clicks of buttons, not exe it seems. But the program would be on the client's machine, we don't want to show the vi source code and want to use exe instead.
Is there some way to publish the vi in exe in a web page without having to build the web page by scratch like the above method?
Solved! Go to Solution.
01-14-2010 07:58 PM
You can web publish .exe. I know because I've done it. I'm sure there is a KB article that I found to help with the process because that is what helped me. If I can find it again, I'll post the link. Meanwhile you can search the forums and the NI.com website yourself for the article.
01-14-2010
09:05 PM
- last edited on
07-22-2025
04:33 PM
by
Content Cleaner
01-15-2010 01:07 AM
01-16-2010
05:05 AM
- last edited on
07-22-2025
04:34 PM
by
Content Cleaner
Some further question, does the below mean that that for a normal license, I can distribute as many Run-Time Engine copies to my cients in order to view my web page, say 150 Run-Time engine copies to150 clients, and that only one client at a time can connect to my exe webpage?? Is this the same with vi web page also?
If yes, this sucks, because I want any user with the Run-Time Engine to connect to my web page without being blocked by another user is currently still viewing the web page. Is there some way to bypass this?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHvWCAW&l=en-US
"By default, LabVIEW includes one remote front panel license. This means that one connection at a time can be made to the remote front panel of your executable. If you have LabVIEW Professional Edition you are entitled to five licenses for remote panels. In order to have access to these additional licenses (or any others that you may have purchased), you need to build an installer that contains your executable along with the LabVIEW 8.x Deployable License under Additional Installers."
01-16-2010 05:35 AM - edited 01-16-2010 05:36 AM
Hi sunflower:
2 options:
- Talk to your NI representative and buy more RemotePanel licenses (or a different LabView package).
- Publish the RemotePanel at one URL and just a (PNG-)picture of the current FrontPanel on a different (but similar) URL. So one client may control the RemotePanel, while all others atleast can watch the current state of the FrontPanel...
01-17-2010
07:38 PM
- last edited on
07-22-2025
04:35 PM
by
Content Cleaner
"and just a (PNG-)picture of the current FrontPanel on a different (but similar) URL"
Sorry my web page programming knowledge is quite weak. Can you give me some hints on how to do the above?
Is it like: capturing an image evey interval https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YI7SCAW&l=en-US
and then write another program with visual basic with activeX or something that display the image every interval?
01-18-2010 11:12 AM - edited 01-18-2010 11:13 AM
Hi sunflower,
all you need is some very basic HTML code:
<html>
<head><title>Give a title here!</title></head>
<meta http-equiv="refresh" content="20">
<font face ="Arial, Garamond, Helvetica">
<body bgcolor=#cccccc>
</body>
</html>
Very basic, maybe not completely standard conform, but working for all tested browsers...
The PNG-file is located in the same folder as the html-file. The refresh rate is given in seconds, so in my example the page is refreshed every 20s.
01-20-2010
02:23 AM
- last edited on
07-22-2025
04:35 PM
by
Content Cleaner
Is the method like this? 🙂
1. Capture a front panel image with the vi code below, and store the png image into a folder https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YI7SCAW&l=en-US
2. Use the html code below and store it in the same folder as the png image:
<html>
<head><title>Give a title here!</title></head>
<meta http-equiv="refresh" content="20">
<font face ="Arial, Garamond, Helvetica">
<body bgcolor=#cccccc>
<IMG src="frontpanel.png" ALT="alternate description">
</body>
</html>
I tested with a png file and the html code above, but after I changed the png file manually by using a paint program and saving it, the html page doesn't update in Opera browser. Even if I shut down the html page and restart again, the png image doesn't update. Only after I shut down the whole Opera browser program and restart again, then the png image updates. Am I doing something wrong?
01-20-2010 01:37 PM