Measdatafifomx100 – Yokogawa PC-Based MX100 User Manual
Page 769
![background image](/manuals/360310/769/background.png)
17-35
IM MX190-01E
17
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
measDataFIFOMX100
Syntax
int measDataFIFOMX100(DAQMX100 daqmx100, int fifoNo);
Declaration
Visual Basic
Public Declare Function measDataFIFOMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal fifoNo As Long) As Long
Visual Basic.NET
Public Declare Ansi Function measDataFIFOMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal fifoNo As Integer)
As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="measDataFIFOMX100")]
public static extern int measDataFIFOMX100(int daqmx100, int
fifoNo);
Parameters
daqmx100
Specify the device descriptor.
fifoNo
Specify the FIFO number.
Description
Retrieves the measured data of the specified FIFO number.
• If the constant for “Specify all FIFO numbers” is specified for the FIFO numbers,
all FIFOs are processed.
• Advances one measurement point only.
• The channels in the FIFO get the same measurement point data.
• When combining channel 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::measDataFIFO
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions