Getchinfomx – Yokogawa PC-Based MX100 User Manual

Page 275

Advertising
background image

5-17

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

getChInfoMX

Syntax

int getChInfoMX(DAQMX daqmx, MXChInfo * pMXChInfo, int *
pFlag);

Declaration

Public Declare Function getChInfoMX Lib "DAQMX"(ByVal daqmx As
Long, ByRef pMXChInfo As MXChInfo, ByRef pFlag As Long) As
Long

Parameters

daqmx

Specify the device descriptor.

pMXChInfo

Specify the destination where the channel information data is to

be returned.

pFlag

Specify the destination where the flag is to be returned.

Description

Gets the channel information data that was declared to be retrieved using the
talkChInfoMX function in units of channels.

• When the last set of data is retrieved, the flag status is set.
• Do not perform communications using other functions until the data retrieval is

completed.Other functions may not operate properly.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX::getChInfo

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

Advertising