Write/Read
About External Devices

TimeOut Property


Description

Sets and returns the Time out value for communication with the external device. An error is returned if communication with the device is not successful within this period of time.

 VB Syntax

extDevices.TimeOut = value

Variable

(Type) - Description

extDevices

An ExternalDevice (object)

value

(Double)  Time out in milliseconds.

Return Type

Double

Default

20000 milliseconds (20 seconds)

Examples

extDevices.TimeOut = 1000 Write

value = extDevices.TimeOut 'Read

C++ Syntax

HRESULT get_TimeOut(Double* value);

HRESULT put_TimeOut(Double newVal);

Interface

IExternalDevices