Showing results for 
Search instead for 
Did you mean: 

Problem with HTTP Post



I have designed a working program that uses RPC to poll data from a datalogger. This logger has an IP address, and I used a HTTP POST  function to send some commands to the logger and receive the reply.


The program works well when the logger is on, but when it is off, the POST function is targeting an IP that isnt there. This causes the program to hang momentarily, and an error to pop up eventually.


Is there a way to negate this hangtime? I would like the program to retain its functionality and display a "logger offline" message when this happens.


Thanks in advance,


0 Kudos
Message 1 of 1