timeout when no path to TANGO_HOST

I'd like to have my code detect, reasonably fast, if TANGO_HOST is unreachable, to trap the situation. What I see is that either _TangoPing or _TangoReadAttribute time out in 60 sec, if my application computer is offline. Is there a way to shorten this time? I considered Tango SetTimeout, but that doesn't seem to affect the situation - which makes sense if not even the database can be reached. Can anyone suggest how to tackle this from within Labview? Of course I think one option would be to shell out a ping command, I wonder if there is a way all contained in tango.lvlib or in environment vars.
This is my testing code:
Errors spell like below, which makes sense.

tango.lvlib:_TangoExceptionToLabviewError.vi<ERR>
[TangoPing.vi] - ERROR - API_CorbaException - TRANSIENT CORBA system exception: TRANSIENT_CallTimedout - Connection::connect - ERROR - API_CantConnectToDatabase - Failed to connect to database on host X.Y.Z.W with port NNNNN - Connection::connect - ERROR - API_CommandFailed - Failed to execute command_inout on device sys/database/2, command DbImportDevice - Connection::command_inout()

tango.lvlib:_TangoExceptionToLabviewError.vi<ERR>
[TangoReadAttributes.vi] - ERROR - API_CorbaException - TRANSIENT CORBA system exception: TRANSIENT_CallTimedout - Connection::connect - ERROR - API_CantConnectToDatabase - Failed to connect to database on host X.Y.Z.W with port NNNNN - Connection::connect - ERROR - API_CommandFailed - Failed to execute command_inout on device sys/database/2, command DbImportDevice - Connection::command_inout() - ERROR - API_AttributeFailed - Failed to read_attributes on device aaaaaaa/bbbbbb/1, attributes cccccc - DeviceProxy::read_attributes()
Ping?
 
Register or login to create to post a reply.