LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving a webpage from CVI...

I'm pretty sure there isn't any CVI function to retrieve a webpage from CVI
(the equivalent of the Unix wget command). I want only the text of a given
URL, don't care about links, images or even displaying it...

Anybody cares to tell me if there's a Windows function that can do that ?
--
Guillaume Dargaud
Colorado State University - Department of Atmospheric Science
http://rome.atmos.colostate.edu/Hack/LabWindows.html
"Our most reliable OS yet !"*
(*Based on total crashes since OS release) - Microsoft disclaimer about
WinXP.
0 Kudos
Message 1 of 3
(4,041 Views)
You can use ActiveX Automation in CVI to expose the functionality of the Microsoft Internet Controls type library to browse to a certain url and retrieve information about it. Microsoft also makes available the Microsoft HTML Object library for more robust handling of HTML documents, and you can find out more information about this and the Internet Controls type library at the Microsoft Developer Network, http://msdn.microsoft.com

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 3
(4,041 Views)
The best way to do this would be with our DataSocket technology. I attached an example of how you can easily read in a web pages with DataSocket.

Best Regards,

Chris Matthews
National Instruments
Message 3 of 3
(4,041 Views)