Toalarmnamemx – Yokogawa PC-Based MX100 User Manual

Page 354

Advertising
background image

5-96

IM MX190-01E

toAlarmNameMX

Syntax

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

Declaration

Public Declare Function toAlarmNameMX Lib "DAQMX"(ByVal
iAlarmType As Long, ByVal strAlarm As String, ByVal lenAlarm
As Long) As Long

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.

Return value

Returns the length of the string.

Reference

CDAQMXDataInfo::getAlarmName

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising