Measinstchda100 – Yokogawa PC-Based MX100 User Manual

Page 1101

Advertising
background image

24-10

IM MX190-01E

measInstChDA100

Syntax

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

Declaration

Visual Basic
Public Declare Function measInstChDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function measInstChDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="measInstChDA100")]
public static extern int measInstChDA100(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 measured 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,FM command of the DARWIN communication

function.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100::measInstCh

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

Advertising