LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1181 occurred at DataSocket Open in Read_ Dweet information (IoT)

Hi

Im tring to read Trying name from Dweet using Data socket.iv expample.(In fact, im tryng to read this URL:https://dweet.io/get/dweets/for/yourThingName).

this is online data vary every predefined time. Error 1181 appear each time calling siteSmiley Sad?? i dont know what the problem is ? and im looking to your help in this point>


this above example works , i tested it.

Thank your

0 Kudos
Message 1 of 2
(3,185 Views)

When building a datasocket url, everything in the beginning before the colon is the protocol so the error seems to indicate that you cannot use datasockets as an HTTPS client. HTTP is a valid protocol but I don't know enough about the differences between the two to know if there is a clever workaround there.

 

Is there a reason you are using datasockets over the normal HTTP client VIs though? Running the VI below seems to return everything on the page you posted.

 

HTTP GET.png

Matt J | National Instruments | CLA
Message 2 of 2
(3,173 Views)