ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

publish compiled vi on the web

Hi, I guess it's a simple question but could'nt find a straight answer yet.

What is the procedure to publish a compiled vi to the web (using Labview's embedded web server, or any other server for that matter!)

Long story:

I have a simple vi which basically controls an RF generator through a serial (RS422) line: I used to run it under LabVIEW and enable it to be viewed on the web using LabVIEW's embedded server. Bad thing is that due to a harsh industrial environment, this doesn't work anymore. Communication and hardware is still OK, as I have the compiled version of the same vi working flawlessly as an .exe file, and doing its thing (basically setting the RF power to the same level 10-20 times a second, to stabilize an older RF generator..).

Is there a way to publish this .exe program on the web instead of using the original vi? I believe this could be a simple CGI question, right? Just to know what support libs you need (run-time engine?) ?

I'm at a loss, as I tried to bring a fresh backup copy of the original vi to the machine with the serial inteface and it still doesn't work (as I said, the older compiled version works, so this rules out a communication problem, right ?)

Sincerely,

Lary Tobos
0 Kudos
Message 1 of 3
(2,512 Views)
You should digest the following document first, try its advice, and then follow up with details of any problem you still have:

How Do I Use Remote Panels with an Application (EXE) Built in LabVIEW 6.1?

Your post was a little confusing because you didn't mention any LabVIEW version, any error codes, or other info that helps to explain what the actual problem might be with the non-compiled version of the code. It may be that there is a simple explanation that can solve that problem as well.

Regards,
John
0 Kudos
Message 2 of 3
(2,499 Views)
Thank you,

I knew only about the version 5.1 docs and your link really helped. It seems though what they do is recompile the app so it is able to launch the web server. I could launch it manually, and since I already have an html file that launches the vi, I think I could reuse that, if only I knew how to point that to the .exe app instead of the vi app. I do NOT intend to use Labview for other than its purpose (ie create web pages from within LV...)

Once again, thanks, if I make any progress, I'll post !
0 Kudos
Message 3 of 3
(2,486 Views)