Skip to main content
Version: 8.1

system.util.getReadTimeout

This function is used in Python Scripting.

Description​

Returns the read timeout in milliseconds for all client-to-gateway communication. This is the maximum amount of time allowed for a communication operation to complete. The default is 60,000ms (1 minute).

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.util.getReadTimeout()

Parameters​

Nothing

Returns​

Integer - The current read timeout, in milliseconds. Default is 60,000 (one minute)

Scope​

Vision Client

Code Examples​

Example #1
# This code will find the current read timeout and write it to a numeric text field on the same page.

event.source.parent.getComponent('Numeric Text Field').intValue = system.util.getReadTimeout()