Yokogawa PC-Based MX100 User Manual

Page 853

Advertising
background image

17-119

IM MX190-01E

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

17

channelKindMX100

Syntax

int channelKindMX100(DAQMX100 daqmx100, int chNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

Description

Gets the channel type of the specified channel number from the stored current

channel setting.
• If it does not exist, “Unused” is returned.

Return value

Returns the channel type.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXChConfig::getKind
CDAQMXItemConfig::getClassMXChConfig

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

Advertising