LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run VI on web

Hi
 
I would run my application on a Web page. Someone can suggest any tutorial to realize it?
Thanks
 
Vincenzo 
0 Kudos
Message 1 of 10
(3,588 Views)

Hi,

This link should help you.

0 Kudos
Message 2 of 10
(3,577 Views)

Hi

I have used your link...but it don`t work, and on the browser it gives this message.

Forbidden

Access to the image of VI '.Electrolyser Monitoring System 1.2.1.vi' is forbidden.



Message Edited by enzo78 on 07-11-2008 07:06 AM
0 Kudos
Message 3 of 10
(3,561 Views)
Could you please be more specific? Did you follow the instructions and where did it go wrong? It would be easier to help that way.
0 Kudos
Message 4 of 10
(3,551 Views)

Yes,

I follow the instruction...

  • I enabled the Web Server Configuration (see the attached)
  • I created my executable
  • I Make a copy of the labview.ini file in the labview directory, and rename it "Electrolyser Monitoring System 1.2.1.ini"
  • I open <Electrolyser Monitoring System 1.2.1.ini> and change the first line, [LabVIEW], to [Electrolyser Monitoring System 1.2.1].(see the file attached)
  • I Make sure the file has the following entries in it:
    postScriptLevel2=False (I fill this line, because wasn`t in it)
    WebServer.Enabled=True (It was in it)
  • I Move <Electrolyser Monitoring System 1.2.1.ini>  to the same directory as the executable.
  • I Run the executable
  • I open the Web browser 
    http://192.168.0.222:86/.monitor?Electrolyser%20Monitoring%20System%201.2.1.vi&refresh=300>

and it give me that message.

 

Download All
0 Kudos
Message 5 of 10
(3,541 Views)
Ok,
 
Maybe you should use Tools->Web Publishing Tool instead. Just follow the procedure and you should have a html and an URL to test with. This way you shouldn't have to do any modifications to your *.ini file either. Remember to check that the Web server is still enabled and the port is free.
 
When trying to connect to your *.exe, first close Labview and after that run the executable. You should see <W> Server: localhost or something similar in the lower left corner in your executables window if the Web server started. Now try to connect to the given URL. Should work fine.
0 Kudos
Message 6 of 10
(3,520 Views)

Hi

Thanks for the help, finaly my web page works. But I see on it a Grey background  on it as you can see in the attached image.

My application is smaller than the higher square. How can I fit the application with this square?

thanks

Vincenzo 

0 Kudos
Message 7 of 10
(3,493 Views)
Hi,
 
You're welcome. Open your VI and select File -> VI Properties -> Windows Size -> Set to Current Panel Size and try again.
0 Kudos
Message 8 of 10
(3,484 Views)
Already done.
When I run my application on my computer it works well see the attached, but when I realize a web control I have that problem.
 
0 Kudos
Message 9 of 10
(3,481 Views)

Hmm, you could try to narrow down your window. Decrease the current width in the window size menu by the width of the vertical scroll bar and your screen will show as it should in your browser. In LabVIEW the window won't be fullsized.

Does anyone have a better solution to this?

0 Kudos
Message 10 of 10
(3,459 Views)