Switchcodeda100 – Yokogawa PC-Based MX100 User Manual

Page 1117

Advertising
background image

24-26

IM MX190-01E

switchCodeDA100

Syntax

int switchCodeDA100(DAQDA100 daqda100, int iCode);

Declaration

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

Parameters

daqda100

Specify the device descriptor.

iCode

Gets the retrieve code type.

Description

Switches to the specified retrieval code type.

• The status is updated at the end of the process.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100::switchCode

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

Advertising