LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get JSON Data on device IP Port - error 58

Solved!
Go to solution

Hi,

 

I just started to collect JSON Data from a device IP on Port 30002. I tested JKI Tools HTTP Rest client (download by JKI VIPM) and NI HTTP client (data communication/protocol/). But only get the attached error 58. Firefox browser can print the JSON Data. And example simply TCP/IP.vi can read the data but isn't really convenient. Any idea to resolve the error? 

 

best regards

 

Ivo

 

 

0 Kudos
Message 1 of 3
(857 Views)
Solution
Accepted by topic author ibstein74

Are you sure your device is talking HTTP?

 

HTTP is request-response, but in your TCP screenshot there is no request made to the device. It just starts sending data when the TCP connection is established. Maybe firefox can handle that?

 

Anyway, just use a smaller timeout or change read mode to CRLF and unflatten the data.

 

From what I understood, you could get 192.168.178.110/aircraftlist.json? (https://wiki.jetvision.de/wiki/Radarcape:Software_Features#Aircraft_List_JSON_Service)

Message 2 of 3
(820 Views)

Ok, that fix the problem. I missed the wiki link you have posted. Thanks a lot.

 

Best regards

0 Kudos
Message 3 of 3
(753 Views)