Setdatetimenowda100 – Yokogawa PC-Based MX100 User Manual

Page 1114

Advertising
background image

24-23

IM MX190-01E

DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/C# -

24

setDateTimeNowDA100

Syntax

int setDateTimeNowDA100(DAQDA100 daqda100);

Declaration

Visual Basic
Public Declare Function setDateTimeNowDA100 Lib
"DAQDA100"(ByVal daqda100 As Long) As Long
Visual Basic.NET
Public Declare Ansi Function setDateTimeNowDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="setDateTimeNowDA100")]
public static extern int setDateTimeNowDA100(int daqda100);

Parameters

daqda100

Specify the device descriptor.

Description

Sets the current date/time of the PC.
• The status is updated at the end of the process.

• This function executes the SD command of the DARWIN communication function.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDA100::setDateTime

24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions

Advertising