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
# 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()
Keywords

system util getReadTimeout, util.getReadTimeout