5 details of the mx100 class, Details of the mx100 class -37, Cdaqmx class – Yokogawa PC-Based MX100 User Manual

Page 60: Public members

Advertising
background image

2-37

IM MX190-01E

MX100 -Visual C++

2

2.5

Details of the MX100 Class

The classes are listed in alphabetical order by the class name.

CDAQMX Class

CDAQHandler

CDAQMX

This class is derived from the CDAQHandler class.
This class provides functions for the MX100. The communication is in binary,

therefore do not use primitive communication functions of the base class.
Information necessary for communications is stored internally. Send packets are

generated internally from command number, user count, and communication packet
version.

When retrieving data, execute the member of the retrieval declaration, then execute
the member that retrieves the data number’s worth of data, for each data. The

presence or absence of the declaration is checked here.
A function is provided that checks whether the instance has inherited this class.

You can override with an inheritance class.

Public Members

Construct/Destruct

CDAQMX

Constructs an object.

~CDAQMX

Destructs an object.

Control Functions

Starting/Stopping the FIFO
startFIFO

Starts the FIFO.

stopFIFO

Stops the FIFO.

autoFIFO

Sets auto control of the FIFO.

Other Controls
setDateTime

Sets the time information data.

setBackup

Sets backup to the CF card.

formatCF

Formats the CF card.

initSystem

Initializes the system.

setSegment

Sets the 7-segment LED.

setDOData

Sets the DO data.

setAOPWMData

Sets AO/PWM data.

setTransmit

Sets the transmission output data.

Advertising