beautypg.com

Channelnumbermx100 – Yokogawa PC-Based MX100 User Manual

Page 854

background image

17-120

IM MX190-01E

channelNumberMX100

Syntax

int channelNumberMX100(DAQMX100 daqmx100, int fifoNo, int
fifoIndex);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

fifoNo

Specify the FIFO number.

fifoIndex

Specify the channel sequence number in the FIFO.

Description

Gets the channel number from the specified FIFO number and FIFO channel

sequence number.
• Returns 0 if it does not exist.

Return value

Returns the channel number.

Reference

CDAQMX100::toChNo

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