Cdaqmx::inccurdatano, Cdaqmx::inccurfifoidx, Cdaqmx::initsystem – Yokogawa PC-Based MX100 User Manual

Page 77

Advertising
background image

2-54

IM MX190-01E

CDAQMX::incCurDataNo

Syntax

MXDataNo incCurDataNo(void);

Description

Gets the value in the current data number field from the data member.

Increments the current data number. When the end data number is exceeded, the
number is reset to the start data number.

Return value

Returns the current data number.

CDAQMX::incCurFIFOIdx

Syntax

int incCurFIFOIdx(void);

Description

Gets the value in the channel sequence number field in the current FIFO from the
data member.

Increments the channel sequence number in the current FIFO. When the end
channel sequence number in the FIFO is exceeded, the number is reset to the start

channel sequence number in the FIFO.

Return value

Returns the channel sequence number in the current FIFO.

CDAQMX::initSystem

Syntax

int initSystem(int iCtrl);

Parameters

iCtrl

Specify the system control type.

Description

Executes the operation of the specified system control type.

The FIFO stops. If auto control is enabled, the FIFO starts after the function
completes successfully.

However, the alarm reset time is excluded.

Return value

Returns an error number.

Reference

getNo getPacketVersion getUserTime runCommand getConfig
setMXConfig CDAQMXConfig::reconstruct

2.5 Details of the MX100 Class

Advertising