Toalarmnameda100 – Yokogawa PC-Based MX100 User Manual
Page 1155

24-64
IM MX190-01E
toAlarmNameDA100
Syntax
int toAlarmNameDA100(int iAlarmType,char * strAlarm,int
lenAlarm);
Declaration
Visual Basic
Public Declare Function toAlarmNameDA100 Lib "DAQDA100"(ByVal
iAlarmType As Long, ByVal strAlarm As String, ByVal lenAlarm
As Long) As Long
Visual Basic.NET
Public Declare Ansi Function toAlarmNameDA100 Lib
"DAQDA100"(ByVal iAlarmType As Integer, ByVal strAlarm As
String, ByVal lenAlarm As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="toAlarmNameDA100")]
public static extern int toAlarmNameDA100(int iAlarmType,
byte[] strAlarm, int lenAlarm);
Parameters
iAlarmType
Specify the alarm type.
strAlarm
Specify the field where the string is to be stored.
lenAlarm
Specify the byte size of the field where the string is to be stored.
Description
Stores the string corresponding to the specified alarm type to the specified field.
• The string stored in the field includes the terminator (NULL).
• The return value is the length of the actual string. The return value does not
include the terminator.
• The strings that can be stored are, in general, ASCII strings.
Return value
Returns the length of the string.
Reference
getAlarmNameDA100
24.2 Details of Functions - DARWIN (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions