Measinfochda100 – Yokogawa PC-Based MX100 User Manual

Page 1100

Advertising
background image

24-9

IM MX190-01E

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

24

measInfoChDA100

Syntax

int measInfoChDA100(DAQDA100 daqda100, int chType, int chNo);

Declaration

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

Parameters

daqda100

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.

• The status is updated at the end of the process.
• This function executes the TS,LF command of the DARWIN communication

function.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100::measInfoCh

24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions

Advertising