Getdodatamx – Yokogawa PC-Based MX100 User Manual

Page 277

Advertising
background image

5-19

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

getDODataMX

Syntax

int getDODataMX(DAQMX daqmx, MXDOData * pMXDOData);

Declaration

Public Declare Function getDODataMX Lib "DAQMX"(ByVal daqmx As
Long, ByRef pMXDOData As MXDOData) As Long

Parameters

daqmx

Specify the device descriptor.

pMXDOData

Specify the destination where the DO data is to be returned.

Description

Gets the DO data collectively.

Stores DO data in the specified location if the return destination is specified.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX::getDOData
CDAQMXDOData::getMXDOData

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

Advertising