AMX NI-2000 Programming Manual page 159

Ni series netlinx integrated controllers webconsole & programming guide
Hide thumbs Also See for NI-2000:
Table of Contents

Advertisement

NetLinx.axi - Library Calls (Cont.)
CLKMGR_GET_START_DAYLIGHTSAVINGS_RULE()
CLKMGR_SET_START_DAYLIGHTSAVINGS_RULE
(CONSTANT CHAR RECORD[])
NI Series WebConsole & Programming Guide
Appendix B: Clock Manager NetLinx Programming API
Gets a string representation of when Daylight Sav-
ings 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 have the form:
"occurence:OCCURENCE,
DAY-OF-WEEK,MONTH,HH:MM:SS"
with all fields as numeric except for the word
"occurence".
• OCCURANCE range = 1-5
'5' indicates the 'LAST' occurrence of a particular
day of the month.
• DAY-OF-WEEK translates as:
1=Sunday
2=Monday
3=Tuesday
4=Wednsday
5=Thursday
6=Friday
7=Saturday
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in Octo-
ber, at 2:00AM).
Sets the START Daylight Savings rule to the speci-
fied string which must be in either the Fixed-Date
format or the Occurence-Of-Day format.
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".
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".
• OCCURANCE range = 1-5
'5' indicates the 'LAST' occurrence of a particular
day of the month.
• DAY-OF-WEEK translates as:
1=Sunday
2=Monday
3=Tuesday
4=Wednsday
5=Thursday
6=Friday
7=Saturday
Examples:
"fixed:5,10,16:00:00" = October 5, at 4:00PM).
"occurence:5,1,10,02:00:00" = last Sunday in Octo-
ber, at 2:00AM).
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents