Measdatachmx100 – Yokogawa PC-Based MX100 User Manual

Page 768

Advertising
background image

17-34

IM MX190-01E

measDataChMX100

Syntax

int measDataChMX100(DAQMX100 daqmx100, int chNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

Description

Gets the measured data of the specified channel number.

• If the constant for “Specify all channel numbers” is specified for the channel

numbers, all channels are processed.

• Advances one measurement point only.
• When combining FIFO specification and instantaneous value specification, the

data order changes.

• First, the amount of retrievable data is retrieved and stored, and the first data is

set as the current status data . Then, each time the function is called, the
measurement point of the stored data advances by one, and the next data is set

as the current status. When the last stored data is reached, the next retrievable
amount of data is retrieved again.

• When retrieving data by communications, other status changes are performed.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQMX100::measDataCh

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions

Advertising