Toalarmnameda100reader – Yokogawa PC-Based MX100 User Manual

Page 1193

Advertising
background image

24-102

IM MX190-01E

toAlarmNameDA100Reader

Syntax

int toAlarmNameDA100Reader(int iAlarmType, char * strAlarm,
int lenAlarm);

Declaration

Visual Basic
Public Declare Function toAlarmNameDA100Reader Lib
"DAQDA100"(ByVal iAlarmType As Long, ByVal strAlarm As String,
ByVal lenAlarm As Long) As Long
Visual Basic.NET
Public Declare Ansi Function toAlarmNameDA100Reader Lib
"DAQDA100"(ByVal iAlarmType As Integer, ByVal strAlarm As
String, ByVal lenAlarm As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="toAlarmNameDA100Reader"]
public static extern int toAlarmNameDA100Reader(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

getAlarmNameDA100Reader

24.4 Details of Instantaneous Value Loading Functions - DARWIN - Status Transition Functions

Advertising