Changedodatamx – Yokogawa PC-Based MX100 User Manual

Page 263

Advertising
background image

5-5

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

changeDODataMX

Syntax

int changeDODataMX(MXDOData * pMXDOData, int doNo, int bValid,
int bONOFF);

Declaration

Public Declare Function changeDODataMX Lib "DAQMX"(ByRef
pMXDOData As MXDOData, ByVal doNo As Long, ByVal bValid As
Long, ByVal bONOFF As Long) As Long

Parameters

pMXDOData

Specify the DO data.

doNo

Specify the data number.

bValid

Specify the boolean value.

bONOFF

Specify the boolean value.

Description

Changes the data of the DO data number of the specified DO data.
• When DO data is transmitted, the value specified by parameter bONOFF is output

for the DO data that is specified as “valid” by parameter bValid.

• If the DO data number is invalid, the specification is discarded.

• Completes normally.

Return value

Returns an error number.

Reference

CDAQMXDOData::setDO
CDAQMXDOData::CDAQMXDOData

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

Advertising