Datanumchmx100 – Yokogawa PC-Based MX100 User Manual

Page 888

Advertising
background image

17-154

IM MX190-01E

dataNumChMX100

Syntax

int dataNumChMX100(DAQMX100 daqmx100, int chNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

Description

Gets the specified number of remaining data from the current status data of the

specified channel number from among the data that is acquired and stored by a data
retrieval function.

• Returns 0 if it does not exist.

Return value

Returns the remaining number of data.

Reference

CDAQMX100::getClassMXDataBuffer
CDAQMXDataBuffer::getDataNum

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

Advertising