LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file download???

Hello. I run a VI and use the Labview webserver. If someone connect to my server and work with the application, how can he download a file(txt), which was generated by the graph of the application and save on his computer? Thanks for your help.
0 Kudos
Message 1 of 2
(2,534 Views)
Dan,

This is a guess on how to this as I have not tested this idea.

I would think the text file would need to be saved into the same directory that the webserver runs from. By default, this is 'www' under your LabVIEW directory. With the file saved there, or to a directory under that, you should be able to use the TCI/IP functions to point to it using a relative path and have a button to download the file.

This might at least give you a place to start if it doesn't quite do it.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 2
(2,534 Views)