Timeout

Specify waiting time to complete read or write operation

Description

You configure Timeout to be the maximum time (in seconds) to wait to complete a read or write operation.

If a timeout occurs, then the read or write operation aborts. Additionally, if a timeout occurs during an asynchronous read or write operation, then

  • An error event is generated.

  • The callback function specified for ErrorFcn is executed.

    Note:   Timeouts are rounded upwards to full seconds.

Characteristics

Usage

Any instrument object

Read only

Never

Data type

Double

Values

The default value is 10 seconds.

Note that timeouts are rounded upwards to full seconds.

See Also

Properties

ErrorFcn

Was this topic helpful?