beautypg.com

Settimeoutdarwin – Yokogawa PC-Based MX100 User Manual

Page 538

background image

10-40

IM MX190-01E

setTimeOutDARWIN

Syntax

int setTimeOutDARWIN(DAQDARWIN daqdarwin, int seconds);

Declaration

Public Declare Function setTimeOutDARWIN Lib "DAQDARWIN"(ByVal
daqdarwin As Long, ByVal seconds As Long) As Long

Parameters

daqdarwin

Specify the device descriptor.

seconds

Specify the communication timeout value in units of seconds.

Description

Sets a timeout for the communication with the device.

• If a negative value is specified, the timeout is discarded.
• Its use is not recommended.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQDARWIN::setTimeOut

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -