Yokogawa PC-Based MX100 User Manual

Page 1168

Advertising
background image

24-77

IM MX190-01E

DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/Visual C#

24

measInfoChDA100Reader

Syntax

int measInfoChDA100Reader(DAQDA100READER daqda100reader, int
chType, int chNo);

Declaration

Visual Basic
Public Declare Function measInfoChDA100Reader Lib
"DAQDA100"(ByVal daqda100reader As Long, ByVal chType As Long,
ByVal chNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function measInfoChDA100Reader Lib
"DAQDA100"(ByVal daqda100reader As Integer, ByVal chType As
Integer, ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="measInfoChDA100Reader"]
public static extern int measInfoChDA100Reader(int
daqda100reader, int chType, int chNo);

Parameters

daqda100Reader

Specify the device descriptor.

chType

Specify the channel type.

chNo

Specify the channel number.

Description

Gets the channel information data of the specified measurement channel (specified

with the channel type and channel number).
• If the channel type is set to the constant for “Specify all measurement channel

types,” all subunits are processed.

• If the channel number is set to the constant for “Specify all channel numbers,” all

channels within the channel type are processed.

• Specify measurement channels and computation channels separately.

• This function executes the EL command of the DARWIN communication function.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100Reader::measInfoCh

24.3 Details of Functions for Instantaneous Value Loading - DARWIN- Status Transition Functions

Advertising