7cdaqdarwindatetime class, Public members – Yokogawa PC-Based MX100 User Manual

Page 459

Advertising
background image

7-61

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWINDateTime Class

CDAQDateTime

CDAQDARWINDateTime

This class is derived from the CDAQDateTime class.
Class for storing time information data of the DARWIN series.

It is a wrapper class of the DarwinDateTime structure.
Stores the time information data that is retrieved when the measured data through

the talker function is retrieved.
When storing the measured data through the talker function, the following member

functions corresponding to the code are used.

Code

Member Functions

ASCII code

setLine

Binary code

setByte

In the case of ASCII codes, member functions are provided that analyze and store

the output format strings below.

DATEYYMMDD
TIMEhhmmss

In the case of binary codes, member functions are provided that analyze and store 6

bytes or 8 bytes (loading instantaneous value data) of data.

Public Members

Construct/Destruct

CDAQDARWINDateTime

Constructs an object.

~CDAQDARWINDateTime

Destructs an object.

Structure Manipulation

getDarwinDateTime

Gets the data in a structure.

setDarwinDateTime

Sets the data in a structure.

initDarwinDateTime

Initializes the data in a structure.

Member Data Manipulation

getYear

Gets the year.

getMonth

Gets the month.

getDay

Gets the day.

getHour

Gets the hours.

getMinute

Gets the minutes.

getSecond

Gets the seconds.

getFullYear

Gets the 4-digit year.

7.4 Details of the DARWIN Class

Advertising