7cdaqdarwin::setdatetime, Cdaqdarwin::setdelta – Yokogawa PC-Based MX100 User Manual

Page 425

Advertising
background image

7-27

IM MX190-01E

DARWIN - Visual C++ -

7

CDAQDARWIN::setDateTime

Syntax

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.

This function executes the SD command of the DARWIN communication function.
It creates and sends the command and receives the response.

Return value

Returns an error number.

Reference

runCommand
CDAQDARWINDateTime::setNow CDAQDARWINDateTime::toString

CDAQDARWIN::setDELTA

Syntax

int setDELTA(int refChNo, int chType, int startChNo, int
endChNo = 0, int spanMin = 0, int spanMax = 0);

Parameters

refChNo

Specify the channel number of the reference channel.

chType

Specify the channel type of the measurement channel.

startChNo

Specify the start channel number.

endChNo

Specify the end channel number.

spanMin

Specify the left value of the span.

spanMax

Specify the right value of the span.

Description

Sets difference computation with respect to the specified reference channel to the
measurement channels in the specified channel range (specified by channel type,

start channel number, and end channel number).
This function executes the SR command of the DARWIN communication function.

It creates and sends the command and receives the response.
If the left and right values are the same, the span designation is considered omitted.

Return value

Returns an error number.

Reference

runCommand
CDAQDARWINChInfo::toChRange

7.4 Details of the DARWIN Class

Advertising