AMX NI-2100/3100/4100 Network Card User Manual


 
Appendix B: Clock Manager NetLinx Programming API
144
NI Series WebConsole & Programming Guide
NetLinx.axi - Library Calls (Cont.)
CLKMGR_GET_END_DAYLIGHTSAVINGS_RULE() Gets a string representation of when Daylight Sav-
ings 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".
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).
CLKMGR_SET_END_DAYLIGHTSAVINGS_RULE
(CONSTANT CHAR RECORD[])
Sets the END Daylight Savings rule to the specified
string which MUST be in either the Fixed-Date for-
mat 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).