LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web publishment of an exe file

Hi, Thomas,
My program is attached. Please take a look.
Thank you very much.
 
0 Kudos
Message 11 of 22
(1,353 Views)
Hi XG
 
Well, do you have a html-file in the www-directory, that contains the vi you want to display? I don't know if this really is the reason for this error, but you definitely have to have one.
 
To create such a file, you could use the Web Publishing Tool, which is located in the Tools-menu.
 
In addition (I also forgot this - sorry), you should set the property WebSrvr.TCPAccess.
 
Attached is a modified vi and the html-file. Copy the html-file to the www-directory you specify in your vi.
 
Hope this helps.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 12 of 22
(1,347 Views)

Hi, Thomas,

Thanks a lot for your help.

I think the reason is that: I run the LabView and Exe file in the same machine. Hence, there is a conflict of port number.

I have tried to move the Exe program to another machine and it worked very well

Smiley Happyhave a nice day.

 

 

 

0 Kudos
Message 13 of 22
(1,335 Views)
Hm - basically it shouldn't cause problems if you run it on the same machine - it just causes problems if you run it on the same machine at the same time.
 
But I assumed you already ensured, that this is not the case ;).
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 14 of 22
(1,331 Views)

Hello, Thomas

I can read Exe file in Lab view?

regards

Arif 

0 Kudos
Message 15 of 22
(1,263 Views)
Could you be a bit more precise?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 16 of 22
(1,260 Views)

Hello,

weather in Lab view 7.1 we can attach, Run an executable file.

0 Kudos
Message 17 of 22
(1,257 Views)
If you want to start a separate executable out of LV, you can use the "system exec.vi". Search the forum for examples on that topic. It has been discussed several times.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 18 of 22
(1,247 Views)
Hi


I had similar trouble of 'web server port conflict' but solevd it by just changing my 'web server port' in the ini file.

keeping that aside,

can anyone tell me how to transfer control of the exe over web?

let me explain:

when we develop the html of a vi using web publishing tool, we set 'embedded' to control the vi over web.

according to the knowledge base given in a previous post, we can only monitor the exe on the web.

I kept my vi running and opened it on the internet. i could seeo nly half of my front panel. i chanegd the 'refresh=300' to refresh=30.

i am able to see only the front panel (half of the actual panel) and no refreshed page after 30 seconds.

have i misunderstood the concept of 'refresh'?
is there any method of controlling the exe through web? i dont want to jsut monitor it. i want to control it as i cotnrol a normal vi on web.

thanks
0 Kudos
Message 19 of 22
(833 Views)
hi

i found the solution to my doubt.

my exe and vi are both running successfully.

thanks
0 Kudos
Message 20 of 22
(822 Views)