Initdatachmx100 – Yokogawa PC-Based MX100 User Manual
Page 764

17-30
IM MX190-01E
initDataChMX100
Syntax
int initDataChMX100(DAQMX100 daqmx100, int chNo);
Declaration
Visual Basic
Public Declare Function initDataChMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal chNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function initDataChMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer)
As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="initDataChMX100")]
public static extern int initDataChMX100(int daqmx100, int
chNo);
Parameters
daqmx100
Specify the device descriptor.
chNo
Specify the channel number.
Description
Initializes the measured data of the specified channel number.
• Retrieval of measured data starts from the top of the FIFO.
• If the constant for “Specify all channel numbers” is specified for the channel
numbers, all channels are processed.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQMX100::initDataCh
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions