system.vision.getConnectTimeout
Backwards Compatibility
This function replaces system.util.getConnectTimeout. Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility.
This function is used in Python Scripting.
Descriptionβ
Returns the connect timeout in milliseconds for all Client-to-Gateway communication. This is the maximum amount of time that communication operations to the Gateway will be given to connect. The default is 10,000ms (10 seconds).
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.vision.getConnectTimeout()
Parametersβ
Nothing
Returnsβ
Integer - The current connect timeout, in milliseconds. Default is 10,000 (ten seconds)
Scopeβ
Vision Client
Code Examplesβ
Example #1
# This code would print out the current connect timeout
print system.vision.getConnectTimeout()