Dataalarmda100 – Yokogawa PC-Based MX100 User Manual

Page 1134

Advertising
background image

24-43

IM MX190-01E

DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/Visual C# -

24

dataAlarmDA100

Syntax

int dataAlarmDA100(DAQDA100 daqda100, int chType, int chNo,
int levelNo);

Declaration

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

Parameters

daqda100

Specify the device descriptor.

chType

Specify the channel type.

chNo

Specify the channel number.

levelNo

Specify the alarm level.

Description

Gets the Boolean for the valid/invalid value of the alarm corresponding to the alarm
level of the specified channel (channel type and number) from the stored measured

data.
• If it does not exist, returns Invalid Value.

Return value

Returns a Boolean value.

Reference

CDAQDA100::getClassDataBuffer
CDAQDARWINDataBuffer::isAlarm

24.2 Details of Functions - DARWIN (Visual C/Visual Basic/Visual Basic.NET/C#) - Retrieval Functions

Advertising