Alarmtypemx100 – Yokogawa PC-Based MX100 User Manual

Page 832

Advertising
background image

17-98

IM MX190-01E

alarmTypeMX100

Syntax

int alarmTypeMX100(DAQMX100 daqmx100, int chNo, int levelNo);

Declaration

Visual Basic
Public Declare Function alarmTypeMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long, ByVal levelNo As Long)
As Long
Visual Basic.NET
Public Declare Ansi Function alarmTypeMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer,
ByVal levelNo As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="alarmTypeMX100")]
public static extern int alarmTypeMX100(int daqmx100, int
chNo, int levelNo);

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

levelNo

Specify the alarm level.

Description

Gets the specified channel number and alarm level alarm type from the stored

current channel setting data.
• If it does not exist, “No alarm” is returned.

Return value

Returns the alarm type.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXChConfig::getAlarmType
CDAQMXItemConfig::getClassMXChConfig

17.2 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions

Advertising