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:
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:
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.
Summary of Contents for PowerMACS 4000
Page 2: ......
Page 46: ...System Architecture 46 9836 3521 01...
Page 267: ...Tightening 9836 3521 01 267...
Page 400: ...Tightening 400 9836 3521 01...
Page 486: ...Peripheral Devices 486 9836 3521 01...
Page 622: ...Peripheral Devices 622 9836 3521 01...
Page 664: ...References 664 9836 3521 01...
Page 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...