Setchalarmda100 – Yokogawa PC-Based MX100 User Manual
Page 1109

24-18
IM MX190-01E
setChAlarmDA100
Syntax
int setChAlarmDA100(DAQDA100 daqda100, int chType, int chNo,
int levelNo, int iAlarmType, int value, int relayType, int
relayNo);
Declaration
Visual Basic
Public Declare Function setChAlarmDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long,
ByVal levelNo As Long, ByVal iAlarmType As Long, ByVal value
As Long, ByVal relayType As Long, ByVal relayNo As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function setChAlarmDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer, ByVal levelNo As Integer, ByVal
iAlarmType As Integer, ByVal value As Integer, ByVal relayType
As Integer, ByVal relayNo As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="setChAlarmDA100")]
public static extern int setChAlarmDA100(int daqda100, int
chType, int chNo, int levelNo, int iAlarmType, int value, int
relayType, int relayNo);
Parameters
daqda100
Specify the device descriptor.
chType
Specify the channel type.
chNo
Specify the channel number.
levelNo
Specify the alarm level.
iAlarmType
Specify the alarm type.
value
Specify the alarm value.
relayType
Specify the relay type.
relayNo
Specify the relay number.
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions