LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 99 when using DataSocket to read a web page

The attached VI can read http:/www.google/com, but when I try to read http://www.craigslist.com/sss, I get "Error 99". A web browser can read both URLs.

Details:

Error 91 occurred at Variant To Data in Read Web Page.vi

Possible reason(s):

LabVIEW:  The data type of the variant is not compatible with the data type wired to the type input.

How can I read http://www.craigslist.com/sss?
0 Kudos
Message 1 of 6
(5,658 Views)

You forgot to attach the VI...

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(5,654 Views)
Oops, here's the VI.
0 Kudos
Message 3 of 6
(5,649 Views)

Turn on execution highlighting and probe the wire passing the data to the routine that converts it to a string... You'll see what's causing the error. Looks like something related to that site.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(5,637 Views)
I see a 0 in that probed wire.

How else can I get LabVIEW to read this site, since any browser can?
0 Kudos
Message 5 of 6
(5,626 Views)

I don't know, I have read a large nimber of sites with the code as it is. This one site causes problems--perhaps by design? I'm not sure what the issue is but I would be willing to bet its a HTTP security thing.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(5,619 Views)