From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPClient Error 346001 on cRIO

Hello,

 

I came across a HTTPClient error (HTTP Put error) when I ran my codes on cRIO.

The exactly same code work fine if I run it on PC.

 

I'm working on Win7, LabVIEW2014(32bit), HTTPClient 14.0.0, NI cRIO 14.1.1-Nov. 2014.

 

I couldn't find any thread related to this error. Please help me out. 

Thanks a lot.

 

vi.pngerror.png

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

Hi MorganRock,

 

Error code 59 corresponds to a network being unreachable. Is the cRIO properly connected to the network?

 

If it is, another thing to check is the DNS server address. In NI-MAX, navigate to Remote Systems -> [your cRIO] -> Network Settings. If you're using static addressing, make sure the DNS server is correctly set. If it's not, set it. If it is not correctly set, LabVIEW will not be able to correctly navigate to the address you've specified (...herokuapp.com/api/datasets...). 

 

If neither of these troubleshooting steps work, please reply with more information about your application. Where is the data hosted? What model cRIO are you using? 

 

 

Have a nice day,

 

Andrew

Andrew T.
"His job is to shed light, and not to master" - Robert Hunter
Message 2 of 3
(2,561 Views)

Hi, Andrew

 

I'm using static IP on cRIO.

You are right. After setting up the DNS server, everything is working.

Thank you for help

 

Regards,

 

Yan L.

0 Kudos
Message 3 of 3
(2,531 Views)