Daylight Saving flag
GSLogic
Junior Member
You can set Daylight Saving in the Netlinx Java interface but you can NOT access it in Netlinx Studio.
Any plans to include the Daylight Saving logic flag in Netlinx Studio?
Any plans to include the Daylight Saving logic flag in Netlinx Studio?
Comments
-
You can set Daylight Saving in the Netlinx Java interface but you can access it in Netlinx Studio.
Any plans to include the Daylight Saving logic flag in Netlinx Studio?
You want to access a flag the shows you if DLS is on or off??
anyway... there is an include file sunrise and sunset that do some cool stuff using ASTRO_CLOCK as mentioned in the tech note 267 , but I couldn't get it run for some reason
for me, I calculate DLS start and end dates by myself in code, I can provide it for you if you would like. -
Thanks for the offer but I already use an include for all the time management. I want to remove the DS function from all my modules all toghther, since it's already controlled and calculated by the master. As of now I have to include the same DS function in each module, as a client could only want to use one module out of all the different lighting mods, music mods, thermostat mods, shade mods, etc.You want to access a flag the shows you if DLS is on or off??
anyway... there is an include file sunrise and sunset that do some cool stuff using ASTRO_CLOCK as mentioned in the tech note 267 , but I couldn't get it run for some reason
for me, I calculate DLS start and end dates by myself in code, I can provide it for you if you would like. -
I hope I got your point right...
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET (CONSTANT CLKMGR_TIMEOFFSET_STRUCT T) -
CLKMGR_SET_DAYLIGHTSAVINGS_OFFSET (CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
Closer
I need the internal DS flag to have a variable associated with it so when it changes you see the value.
Think of it like the month, you can view it just by typing DATE_TO_MONTH.
I need a DAYLIGHT_SAVING command. -
Closer

Fine... here are the last couple things I may know
CLKMGR_IS_DAYLIGHTSAVINGS_ON
Returns FALSE/0 or TRUE/1.
The default setting is FALSE/0.
CLKMGR_GET_DAYLIGHTSAVINGS_OFFSET (CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
I am out of clues. -
SensivaFine... here are the last couple things I may know
CLKMGR_IS_DAYLIGHTSAVINGS_ON
Returns FALSE/0 or TRUE/1.
The default setting is FALSE/0.
CLKMGR_GET_DAYLIGHTSAVINGS_OFFSET (CONSTANT CLKMGR_TIMEOFFSET_STRUCT T)
I am out of clues.
This command returns the value of your DS setting - NOT if DS is being observed. I need to know if DS is being observed.
My fault, I think I never really explained myself clearly, but I do appreciate the ideas!
I see they added a couple new commands for the clock management.
Using CLKMGR_GET_START_DAYLIGHTSAVINGS_RULE and CLKMGR_GET_END_DAYLIGHTSAVINGS_RULE
I can calculate the status of DS. You did find the answer - THANKS!
It still would be nice to have a single command to know if DS is observed or not.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums