Switchmodeda100 – Yokogawa PC-Based MX100 User Manual
Page 1119

24-28
IM MX190-01E
switchModeDA100
Syntax
int switchModeDA100(DAQDA100 daqda100, int iMode);
Declaration
Visual Basic
Public Declare Function switchModeDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal iMode As Long) As Long
Visual Basic.NET
Public Declare Ansi Function switchModeDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal iMode As Integer)
As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="switchModeDA100")]
public static extern int switchModeDA100(int daqda100, int
iMode);
Parameters
daqda100
Specify the device descriptor.
iMode
Specify the mode.
Description
Switches to the specified mode.
• Updates the stored channel information data when switching to the operation
mode.
• The status is updated at the end of the process.
• This function executes the DS command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100::switchMode
hira4.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions