03-20-2009 07:28 AM
03-20-2009 09:30 AM
Hi Dan_,
you can use DataSocket to read the content of a website. Parse the result for the information you need. Another solution would be to use the ActiveX control and load the website there.
Mike
03-20-2009 09:41 AM
03-20-2009 10:19 AM
03-18-2013 06:18 PM
Can you send the code for LabVIEW 7.0?
Awesome_Larry escreveu:
Here is a program I use to get local weather data off the web, it is an example of the Data Socket method Mike spoke about. VI's are in LV8.0
03-18-2013 06:52 PM
@yklys wrote:
Can you send the code for LabVIEW 7.0?
To save you some time, because not that many people have access to LV 8.0 and 7.1 anymore, the code to retrieve the HTML is very simple. You call Datasocket Read and in the URL input you feed "URL[text]" (for example "http://www.google.com[text]"). You also wire the URL to the second input, which determines the data type. This will cause the function to download the file at that URL and output it as a string.
03-18-2013 07:25 PM
tst escreveu:
@yklys wrote:Can you send the code for LabVIEW 7.0?
To save you some time, because not that many people have access to LV 8.0 and 7.1 anymore, the code to retrieve the HTML is very simple. You call Datasocket Read and in the URL input you feed "URL[text]" (for example "http://www.google.com[text]"). You also wire the URL to the second input, which determines the data type. This will cause the function to download the file at that URL and output it as a string.
Thanks.
09-19-2013 10:42 AM
Does anyone know how to get a list of all store addresses from a retailer's website? All of the information is in the Store Locator function but there is generally no easy way to get a full list.
09-19-2013 11:12 AM
Most likely that information is not on the website but in a database somewhere. Pressing the search button on the web page causes the server to run a database query and return the results to the webpage. Most likely you would need to run a series of queries to retrieve the information. For example test every possible ZIP code.
Lynn
09-19-2013 11:45 AM
Thanks - do you know if there is way to automate that? Or would I have to type it in each time?