Modulechnummx100 – Yokogawa PC-Based MX100 User Manual

Page 910

Advertising
background image

17-176

IM MX190-01E

moduleChNumMX100

Syntax

int moduleChNumMX100(DAQMX100 daqmx100, int moduleNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

moduleNo

Specify the module number.

Description

Gets the number of channels of the specified module number from the stored

current system configuration data.
• Returns 0 if it does not exist.

Return value

Returns the number of channels.

Reference

CDAQMX100::getClassMXItemConfig
CDAQMXItemConfig::getClassMXSysInfo
CDAQMXSysInfo::getChNum

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

Advertising