Setintervalmx – Yokogawa PC-Based MX100 User Manual

Page 317

Advertising
background image

5-59

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

setIntervalMX

Syntax

int setIntervalMX(DAQMX daqmx, int moduleNo, int iInterval,
int iHz);

Declaration

Public Declare Function setIntervalMX Lib "DAQMX"(ByVal daqmx
As Long, ByVal moduleNo As Long, ByVal iInterval As Long,
ByVal iHz As Long) As Long

Parameters

daqmx

Specify the device descriptor.

moduleNo

Specify the module number.

iInterval

Specify the interval type.

iHz

Specify the type of A/D integration time.

Description

Sets the module of the specified module number to the specified value.
• The setup data is retrieved collectively, changed, and sent collectively.

• If the constant for “Specify all module numbers” is specified for the module

numbers, all modules are set.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::getMXConfig
CDAQMX::setMXConfig
CDAQMXConfig::setInterval

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

Advertising