Cdaqda100::setchunit, Cdaqda100::setdatetime – Yokogawa PC-Based MX100 User Manual

Page 1027

Advertising
background image

19-33

IM MX190-01E

19

DARWIN for Extended API - Visual C++

CDAQDA100::setChUnit

Syntax

int setChUnit(int chType, int chNo, const char * strUnit);

Parameters

chType

Specify the channel type.

chNo

Specify the channel number.

strUnit

Specify the unit name using a string.

Description

Sets the specified unit name.

If the channel type is set to the constant for “Specify all measurement channel
types,” all subunits are processed.

If the channel number is set to the constant for “Specify all channel numbers,” all
channels within the channel type are processed.

Updates the status if successful.

Return value

Returns an error number.

Reference

chNumMax getClassSysInfo measInfoCh setScallingUnit
CDAQDARWINSysInfo::isExist

CDAQDA100::setDateTime

Syntax

virtual int setDateTime(CDAQDARWINDateTime * pcDARWINDateTime
= NULL);

Parameters

pcDARWINDateTime

Specify the time information data.

Description

Sets time information data on the device.
If NULL is specified, the current date/time of the PC is used.

Updates the status if successful.

Return value

Returns an error number.

Reference

updateRenew CDAQDARWIN::setDateTime

19.6 Details of the DARWIN Class

Advertising