12 cdaqmxdatabuffer::setdatetime – Yokogawa PC-Based MX100 User Manual

Page 643

Advertising
background image

12-79

IM MX190-01E

MX100 for Exteded API

12

CDAQMXDataBuffer::setDateTime

Syntax

int setDateTime(int index, CDAQMXDateTime & cMXDateTime);

Parameters

index

Specify the storage location index number.

cMXDateTime

Specify the time information data.

Description

Copies the specified time information data to the specified location of the data

member.
If no data exists in the element of the specified location in the list, data is created.

Return value

Returns an error number.
Error:

Not Data

There is no data. The storage location index number is out of

range.

Exception

An exception occurred. The field could not be configured.

Reference

CDAQMXDateTime::CDAQMXDateTime

12.4 Details of the MX100 Class

Advertising