Reserved Identifiers
106
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
CLKMGR_GET_
TIMESERVERS
Populates the currently configured time server entries from the Clock Manager
into the specified TIMESERVER array.
CLKMGR_GET_TIMESERVERS (CLKMGR_TIMESERVER_STRUCT T[])
The function returns a negative SLONG value if it encounters an error, other-
wise the return value is set to the number of records populated into the
CLKMGR_TIMESERVER_STRUCT array.
CLKMGR_GET_TIMEZONE
Returns Timezone as a string in the format:
UTC[+|-]HH:MM
CLKMGR_IS_
DAYLIGHTSAVINGS_ON
Returns FALSE/0 or TRUE/1.
The default setting is FALSE/0.
CLKMGR_IS_NETWORK_
SOURCED
Returns FALSE/0 or TRUE/1.
The default setting is FALSE/0.
CLKMGR_SET_ACTIVE_
TIMESERVER
Sets the time server entry that has the matching IP-ADDRESS to the IP param-
eter as the active time server entry.
CLKMGR_SET_ACTIVE_TIMESERVER (CONSTANT CHAR IP[])
CLKMGR_SET_CLK_
SOURCE
CLKMGR_SET_CLK_SOURCE (CONSTANT INTEGER MODE)
Can be set to:
CLKMGR_MODE_NETWORK
or
CLKMGR_MODE_STANDALONE.
CLKMGR_SET_DAYLIGHT
SAVINGS_MODE
CLKMGR_SET_DAYLIGHTSAVINGS_MODE (CONSTANT INTEGER ONOFF)
Can be set to:
ON/TRUE
or
OFF/FALSE.
CLKMGR_SET_DAYLIGHT
SAVINGS_OFFSET
Sets the Daylight Savings Offset to the specified value.
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET (CONSTANT
CLKMGR_TIMEOFFSET_STRUCT T)
CLKMGR_SET_END_
DAYLIGHTSAVINGS_RULE
Sets the END Daylight Savings rule to the specified string which must be in
either
the Fixed-Date format or the Occurence-Of-Day format.
CLKMGR_SET_END_DAYLIGHTSAVINGS_RULE (CONSTANT CHAR
RECORD[])
The function returns a negative SLONG value if it encounters an error.
The Fixed-Date rules have the form:
"fixed:DAY,MONTH,HH:MM:SS"
with all fields as numeric except for the word "fixed"
(e.g.: "fixed:21,3,02:00:00"===> March 21 @ 02:00:00AM).
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
(e.g.: "occurence:3,1,10,02:00:00" ===> 3rd Sunday in October @
02:00:00AM).
Summary of Contents for NETLINX PROGRAMMING LANGUAGE
Page 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Page 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Page 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Page 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Page 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Page 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Page 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Page 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Page 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Page 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...