system.util.setReadTimeout
This function is used in Python Scripting.
Description​
Sets the read timeout for Client-to-Gateway communication. Specified in milliseconds.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.util.setReadTimeout(readTimeout)
Parameters​
Type | Parameter | Description |
---|---|---|
Integer | readTimeout | The new read timeout, specified in milliseconds. |
Returns​
Nothing
Scope​
Vision Client
Code Examples​
Example #1
# This script will set the read timeout to 20 seconds.
system.util.setReadTimeout(20000)