Talksetupchdatada100 – Yokogawa PC-Based MX100 User Manual

Page 1124

Advertising
background image

24-33

IM MX190-01E

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

24

talkSetupChDataDA100

Syntax

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

Declaration

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

Parameters

daqda100

Specify the device descriptor.

chType

Specify the channel type.

chNo

Specify the channel number.

Description

Executes declaration of the retrieval of the setup data of the setup mode of the

specified channel (specified by channel type and 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.

• This function executes the TS,LF command of the DARWIN communication

function.

• After executing this function, use the getSetDataByLineDA100 function to retrieve

the data by line.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100::talkSetupChData

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

Advertising