Settimeoutmx – Yokogawa PC-Based MX100 User Manual

Page 338

Advertising
background image

5-80

IM MX190-01E

setTimeOutMX

Syntax

int setTimeOutMX(DAQMX daqmx, int seconds);

Declaration

Public Declare Function setTimeOutMX Lib "DAQMX"(ByVal daqmx
As Long, ByVal seconds As Long) As Long

Parameters

daqmx

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.
• Use of this function is not recommended (see section 3.1 or 4.1).

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::setTimeOut

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising