LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 1181 from DataSocketRead

I am using LabVIEW 2012 and trying to do a simple read of HTML data from a website. I get an 1181 error, which indicates that I have an incorrect format for my URL.  I used http://ni.com, http://www.ni.com, www.ni.com and ni.com. All URLs created an 1181 error.

0 Kudos
Message 1 of 6
(4,249 Views)

Hi Harry, can you send the VI so we can test it?

apparently you did exactly as shown here: http://www.ni.com/white-paper/3224/en/#toc5

So it should work....

Regards,

Marco

0 Kudos
Message 2 of 6
(4,210 Views)

Apologies, I have attached the vi. I am using Labview 2013 on a Mac.

0 Kudos
Message 3 of 6
(4,144 Views)

The vi was an example - Read_Website_HTML.vi

0 Kudos
Message 4 of 6
(4,143 Views)

Hello Harry,

 

Where are you putting the URL that is causing the error? On the front panel using the VI you are referencing, I put http://www.ni.com in the URL box and didn't receive an error as you can see below

 

frontpanel.PNG

 

Is this what you're doing to receive the error?

 

Regards,

 

Anna L

Applications Engineer
National Instruments
0 Kudos
Message 5 of 6
(4,114 Views)

hi

 
I had the same problem, and finally it is the "s" of hhtps in the URL that causes this error, so just write "http: //" instead of "https: //" to remidier to this problem
I hope this will help you
thank you
 
0 Kudos
Message 6 of 6
(2,827 Views)