CallTimeout property

The
CallTimeout
property returns or sets a value indicating the number of milliseconds the object waits for the server to return requested data before assuming that communication with the server has been lost. The
CallTimeout
property applies to the
BatchRemote
object.
Syntax
object.CallTimeout [= value]
The CallTimeout property syntax has these parts:
Part
Description
object
Object expression that evaluates to a previously defined
BatchRemote.RemoteSupport
object.
value
Numeric expression indicating the number of milliseconds the object waits for the server to return requested data before assuming that communication with the server has been lost. The default is
1000
.
Remarks
The data for the item returns synchronously with this method. The FactoryTalk Batch Server waits, at most, a time period equal to the
TimeoutPeriod
property. If the server does not recognize an item string, then
strReturn
contains FAILED. If the timeout period expires before the data is collected internally to the FactoryTalk Batch Server, then
strReturn
contains TIMEOUT.
This code example is
Visual Basic
6 syntax.
Example:
Dimension a remote
FactoryTalk Batch
Server object:
Dim svr As New BatchRemote.RemoteSupport
Set the CallTimeout period:
svr.CallTimeout = 5000
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal