10 setdatetimedarwin – Yokogawa PC-Based MX100 User Manual

Page 525

Advertising
background image

10-27

IM MX190-01E

Functions for the DARWIN - Visual C/Visual Basic -

10

setDateTimeDARWIN

Syntax

int setDateTimeDARWIN(DAQDARWIN daqdarwin, DarwinDateTime *
pDarwinDateTime);

Declaration

Public Declare Function setDateTimeDARWIN Lib
"DAQDARWIN"(ByVal daqdarwin As Long, ByRef pDarwinDateTime As
DarwinDateTime) As Long

Parameters

daqdarwin

Specify the device descriptor.

pDarwinDateTime

Specify the time information data.

Description

Sets the date and time on the device.

• In Visual C, if the parameter’s time information data is set to NULL, the current

date/time of the PC is used.

• This function executes the SD command of the DARWIN communication

function.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQDARWIN::setDateTime

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising