LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upload a file from remote front panel to web server

Is it possible to upload a file to a web server via the remote front panel browser interface?
0 Kudos
Message 1 of 5
(3,229 Views)
You cannot do this with the strict remote panel interface. The problem is that the remote panel does not have access to the resources on the client computer. You cannot access files on the client machine.

There are other web technologies that allow for uploading files. This is not my expertice so I cannot recommend one. You might see if you can combine that code in the web page for the remote panel.
0 Kudos
Message 2 of 5
(3,229 Views)

Hii..

 

     Remote front panel does not support uploading a file. You can use Client - Server Model for uploading files from client side.

 

Client Vi has same front panel as server VI and can control server VI from any place through TCP communication. Shared variable plays an important role in this model.

 

       But, I am not sure, how fast it is.  For LAN connection, it is very well suitable. When u try on internet, the speed may be low depending on your net connection and server bandwidth.

 

Thanks

Prashh 

0 Kudos
Message 3 of 5
(2,858 Views)

I think that the LabVIEW web server uses ESP as its server side scripting engine.  I'm not 100% sure this will work, but if you modify the .html file and include a file form (the kind with the browse button) that then posts back to an ESP page that processes the file you might be able to do it that way.

 

If this is a single use scenario (not a distributive one), have you considered setting up a shared folder (I'm assuming Windows) on your client machine and then accessing that file in your LabVIEW program via network Map Drive or \\clientcomputer\fileshare\myfileforlabviewprogram ?

 

There isn't a direct way of transfering files through a remote panel interface to the serving computer.  Only work-arounds.  Unless i've missed something...

0 Kudos
Message 4 of 5
(2,853 Views)

Hello Nicker

 

 

 how sharing folder in windows explorer helps.. Can u give details explanation.. and what is that driver

 

 

0 Kudos
Message 5 of 5
(2,839 Views)