EasyManuals Logo

Atlas Copco PowerMACS 4000 User Manual

Atlas Copco PowerMACS 4000
668 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #573 background imageLoading...
Page #573 background image
Peripheral Devices
9836 3521 01 573
8.14.4.53 GetDateAndTime
Description: This method returns the current date and time of the target system. (Not compatible with
VisualStudio .NET)
Return type: A RetCodeEnum value. If an unsupported data type is used for the DateAndTime argument
then eRetWrongDataType is returned. If the method is not supported by the connected
target eRetNotSupported is returned. If not connected to a System TC then
eRetCmdNotAllowed is returned.
Syntax: object.GetDatyAndTime(DateAndTime)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
DateAndTime
VARIANT
Out
The variable to receive the current date and time of the target.
Since the type is VARIANT variables of different data type can
be passed to the method. Currently the following are
supported:
ï‚· Date. (IDL data type DATE).
ï‚· Long. Will return the date and time as number of seconds
since 1970-01-01 00:00:00.
8.14.4.54 SetDateAndTime
Description: This method sets the current date and time of the target system. (Not compatible with
VisualStudio .NET)
Return type: A RetCodeEnum value. If an unsupported data type is used for the DateAndTime argument
then eRetWrongDataType is returned. If the method is not supported by the connected
target eRetNotSupported is returned. If not connected to a System TC, or if the API device
is not configured as Time Server, then eRetCmdNotAllowed is returned.
Syntax: object.GetDatyAndTime(DateAndTime)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
DateAndTime
VARIANT
In
The date and time to set.
Since the type is VARIANT variables of different data type can
be passed to the method. Currently the following are
supported:
ï‚· Date. (IDL data type DATE).
ï‚· Long. Will return the date and time as number of seconds
since 1970-01-01 00:00:00.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atlas Copco PowerMACS 4000 and is the answer not in the manual?

Atlas Copco PowerMACS 4000 Specifications

General IconGeneral
BrandAtlas Copco
ModelPowerMACS 4000
CategoryPower Tool
LanguageEnglish

Related product manuals