Clkmgr_Add_Userdefined_Timeserver; Clkmgr_Delete_Userdefined_Timeserver; Clkmgr_Get_Active_Timeserver; Clkmgr_Get_Daylightsavings_Offset - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

Keywords & Run-Time Library Functions (Cont.)
CLKMGR_ADD_USER
DEFINED_TIMESERVER
CLKMGR_DELETE_USER
DEFINED_TIMESERVER
CLKMGR_GET_ACTIVE_
TIMESERVER
CLKMGR_GET_DAYLIGHT
SAVINGS_OFFSET
CLKMGR_GET_END_
DAYLIGHTSAVINGS_RULE
CLKMGR_GET_RESYNC_
PERIOD
CLKMGR_GET_START_
DAYLIGHTSAVINGS_RULE
NetLinx Programming Language Reference Guide
Adds a user-defined time server entry.
CLKMGR_ADD_USERDEFINED_TIMESERVER (CONSTANT CHAR IP[],
CONSTANT CHAR URL[], CONSTANT CHAR LOCATION[])
Deletes the user-defined entry that has its IP-ADDRESS matching the parame-
ter.
CLKMGR_DELETE_USERDEFINED_TIMESERVER (CONSTANT CHAR IP[])
Populates the TIMESERVER structure with the currently active time server's
data.
CLKMGR_GET_ACTIVE_TIMESERVER (CLKMGR_TIMESERVER_STRUCT T)
The function returns a negative SLONG value if it encounters an error.
Populates the TIMEOFFSET structure with the current Daylight Savings Offset
configured.

CLKMGR_GET_DAYLIGHTSAVINGS_OFFSET

(CLKMGR_TIMEOFFSET_STRUCT T)
The function returns a negative SLONG value if it encounters an error.
Gets a string representation of when Daylight Savings is supposed to END.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
with all fields as numeric except for the word "fixed".
The Occurrence-Of-Day rules have the form:
"occurence:OCCURENCE,DAY-OF-WEEK,MONTH,HH:MM:SS"
with all fields as numeric except for the word "occurence".
DAY-OF-WEEK translates as:
• 1=Sunday
• 2=Monday
• 3=Tuesday
• 4=Wednsday
• 5=Thursday
• 6=Friday
• 7=Saturday
Returns the Clock Manager's re-sync period in minutes.
The default setting is one (1) hour.
This setting has no effect if the Clock Manager mode is set to STANDALONE.
Gets a string representation of when Daylight Savings is supposed to START.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
with all fields as numeric except for the word "fixed".
The Occurrence-Of-Day rules ave the form:
"occurence:OCCURENCE, DAY-OF-WEEK,MONTH,HH:MM:SS"
with all fields as numeric except for the word "occurence".
DAY-OF-WEEK translates as:
• 1=Sunday
• 2=Monday
• 3=Tuesday
• 4=Wednsday
• 5=Thursday
• 6=Friday
• 7=Saturday
Reserved Identifiers
105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents