LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use labview to access to Internet?

If i know the file link on the internet, i want to use labview to download this file not through IE exploer.
Can I? Where can i found this VI?
Thanks a lot.
0 Kudos
Message 1 of 15
(4,182 Views)
anything is possible, I am curious why you do not wish to use explorer?  There is an example of embedding an explorer window in labview, you can load ur url there and it should start the download.  Just a thought.  If you know the ftp site... if it is on ftp, you can look at those examples.  I have not tried to put web addresses in the file dialog and suspect that wouldn ot work.

Paul
0 Kudos
Message 2 of 15
(4,176 Views)
Easiest would be to use Datasocket reads. It supports a variety of protocols (file, http, ftp, opc, dstp, psp)
 
For an overview and tutorial see: http://zone.ni.com/devzone/cda/tut/p/id/3224
 
Good luck! 🙂
Message 3 of 15
(4,164 Views)
Thank you very much for the reply.

But can you give me a more detailed case? I can not find a vi that tells how to download file from http.

thanks again.
0 Kudos
Message 4 of 15
(4,116 Views)
Hi Johan,

have you read the link by Altenbach? Some of the paragraphs also describe (with pictures) how to download websites (http) or files (ftp)...

Message Edited by GerdW on 08-14-2007 02:59 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 15
(4,112 Views)
Data communications palette, data socket.  See attached example

I recall knowing this in the distant past... but thanks for the refresher information.... It actually is going to be integrated into a program that I am currently working on.

Message Edited by Stradis on 08-14-2007 09:02 AM


Paul
0 Kudos
Message 6 of 15
(4,107 Views)
i am using Labview7.1.
So can you send me a vi V7.1?
thanks very much.
0 Kudos
Message 7 of 15
(4,100 Views)
attached 7.1.. but since I do not have that version.. all I could do is verify it opens in 8.  So hopefully it still works.

Paul
0 Kudos
Message 8 of 15
(4,096 Views)
I can  open it now, thanks.
But actually, i 'd like to download file(xls) from http.
can i?
 
0 Kudos
Message 9 of 15
(4,092 Views)
plug in the url and try it.

Paul
0 Kudos
Message 10 of 15
(4,087 Views)