beautypg.com

Yokogawa PC-Based MX100 User Manual

Page 881

background image

17-147

IM MX190-01E

Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -

17

dataAlarmMX100

Syntax

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

Declaration

Visual Basic
Public Declare Function dataAlarmMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long, ByVal levelNo As Long)
As Long
Visual Basic.NET
Public Declare Ansi Function dataAlarmMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer,
ByVal levelNo As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="dataAlarmMX100")]
public static extern int dataAlarmMX100(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 valid/invalid value of the alarm corresponding to the alarm level for the
specified channel number from the stored current measured data.

• If it does not exist, Invalid is returned.

Return value

Returns a Boolean value.

Reference

CDAQMX100::getClassMXDataBuffer
CDAQMXDataBuffer::currentDataInfo
CDAQMXDataInfo::isAlarm

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