Yokogawa PC-Based MX100 User Manual

Page 851

Advertising
background image

17-117

IM MX190-01E

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

17

channelHoldMX100

Syntax

int channelHoldMX100(DAQMX100 daqmx100, int doNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

doNo

Specify the data number.

Description

Gets the hold Boolean for the specified DO data number from the stored current

channel setting data.
• If it does not exist, Invalid is returned.

Return value

Returns a Boolean value.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXChConfig::isHold
CDAQMXItemConfig::getClassMXChConfig

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

Advertising