Channelrefalarmmx100 – Yokogawa PC-Based MX100 User Manual

Page 862

Advertising
background image

17-128

IM MX190-01E

channelRefAlarmMX100

Syntax

int channelRefAlarmMX100(DAQMX100 daqmx100, int doNo, int
refChNo, int levelNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

doNo

Specify the DO data number.

refChNo

Specify the reference channel using a channel number.

levelNo

Specify the alarm level.

Description

Gets the reference alarm for the specified DO data number from the stored current
channel setting data.

• The reference alarm is specified by channel number and alarm level.
• If it does not exist, Invalid is returned.

Return value

Returns a Boolean value.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXChConfig::isRefAlarm
CDAQMXItemConfig::getClassMXChConfig

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

Advertising