ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Datasocket Timeout

I'm trying to use a Datasocket with a timeout of 40sec to access a device via an IP address.  I am interfacing to a wireless device that may take up to 30 seconds to reset.

 

Unfortunately an error 1184 will occur prior to the Timeout and cut my time to around 20 seconds?  I have figured out away to get around this, i.e., clear the error and or warnings and retry.

 

Is this normal operation for the Datasocket?  I mean shouldn't a Timeout work so that all options are exhausted until the Timeout and then return an error code?

 

Regards,

 

-SS

 

Message Edited by ShotSimon on 10-02-2008 10:26 AM


Download All
0 Kudos
Message 1 of 2
(2,649 Views)

I have never used such big timeout. Try to set Timeout to 5 seconds and reconnect up to 8 times... Advantage - you can cancel connect procedure, otherwise your software will not respond half minute... regards, Andrey.

0 Kudos
Message 2 of 2
(2,638 Views)