Getchinfodarwin – Yokogawa PC-Based MX100 User Manual

Page 506

Advertising
background image

10-8

IM MX190-01E

getChInfoDARWIN

Syntax

int getChInfoDARWIN(DAQDARWIN daqdarwin, DarwinChInfo *
pDarwinChInfo, int * pFlag);

Declaration

Public Declare Function getChInfoDARWIN Lib "DAQDARWIN"(ByVal
daqdarwin As Long, ByRef pDarwinChInfo As DarwinChInfo, ByRef
pFlag As Long) As Long

Parameters

daqdarwin

Specify the device descriptor.

pDarwinChInfo

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 output by channel using the talker function

declared by the talkChInfoDARWIN function.
• Analyzes received information channel by channel and stores it in the structure.

• Stores channel information data if the return destination is specified.
• When the last set of data is retrieved, the flag status is set. The flag status is also

set when the function ends in error.

• 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

CDAQDARWIN::getChInfo
CDAQDARWINChInfo::getDarwinChInfo

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising