EasyManuals Logo

AMX NETLINX PROGRAMMING LANGUAGE User Manual

AMX NETLINX PROGRAMMING LANGUAGE
246 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 #122 background imageLoading...
Page #122 background image
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).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX PROGRAMMING LANGUAGE and is the answer not in the manual?

AMX NETLINX PROGRAMMING LANGUAGE Specifications

General IconGeneral
BrandAMX
ModelNETLINX PROGRAMMING LANGUAGE
CategorySoftware
LanguageEnglish

Related product manuals