How Do I Disable Daylight Saving Time on LabVIEW Real-Time Targets?Hardware: PXI/CompactPCI>>Controllers>>PXI-8145 RT, FieldPoint>>Controllers/Network Modules>>FP-2000, Compact FieldPoint>>Controllers>>cFP-2120, FieldPoint>>Controllers/Network Modules>>FP-2010, PXI/CompactPCI>>Controllers>>PXI-8176 RT, PXI/CompactPCI>>Controllers>>PXI-8170 RT, PXI/CompactPCI>>Controllers>>PXI-8186 RT, Compact FieldPoint>>Controllers>>cFP-2010, PXI/CompactPCI>>Controllers>>PXI-8175 RT, CompactRIO>>Controllers>>cRIO-9002, Industrial Communications>>Fieldbus>>FP-3000, Compact FieldPoint>>Controllers>>cFP-2020, FieldPoint>>Controllers/Network Modules>>FP-2015, CompactRIO>>Controllers>>cRIO-9004, Compact FieldPoint>>Controllers>>cFP-2100, PXI/CompactPCI>>Controllers>>PXI-8156B RT, Compact FieldPoint>>Controllers>>cFP-2000, PXI/CompactPCI>>Controllers>>PXI-8146 RT, PXI/CompactPCI>>Controllers>>PXI-8184RT, Compact FieldPoint>>Controllers>>cFP-2200, Compact FieldPoint>>Controllers>>cFP-2210, Compact FieldPoint>>Controllers>>cFP-2220
Problem: I have set the correct time zone on my LabVIEW Real-Time target through the Measurement and Automation Explorer, but I can't seem to disable the daylight saving feature. I would prefer that my controller didn't switch to daylight saving time in April, but it seems like every time zone will do this by default. How do I disable daylight saving on my LabVIEW real-time target? Solution: You are correct that every time zone will automatically add one hour in April, and then subtract one hour in October by default. You can disable this feature in the Measurement & Automation Explorer (MAX) by clicking on the System Settings tab of your RT controller and unchecking the Automatically adjust target clock for daylight saving changes box. Changes will take place upon rebooting your controller.
The section in the ni-rt.ini file is [LVRT] and the INI token is RTTarget.TimeZone.Below is a table of possible time zone INI values that can be configured by the Measurement and Automation Explorer
In order to disable daylight saving, from the controller, remove the second half of the INI value from the configuration file entry. These are all letters after the number in the INI value. For example:
becomes
for controllers in Central Standard Time/Central Daylight Time. Please keep in mind that modifying these INI values is not officially supported, but should still work for most time zones. Related Links: Developer Zone Tutorial: Setting the Timezone of a LabVIEW Real-Time System Products & Services: Real-Time Measurement and Control KnowledgeBase 46J7O59K: 2007 Daylight Savings Change Effects on National Instruments Software Attachments:
Report Date: 01/21/2005 Last Updated: 05/01/2008 Document ID: 3HKA4CXT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

