Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 2 out of 5     Rate this Document

2007 Daylight Savings Change Effects on National Instruments Software

Primary Software: TestStand
Primary Software Version: 3.5
Primary Software Fixed Version: N/A
Secondary Software: DIAdem, LabVIEW Development Systems>>Full Development System, LabVIEW Development Systems>>Base Package, LabVIEW Development Systems>>Professional Development System, LabWindows/CVI Development Systems>>Full Development System, LabWindows/CVI Development Systems>>Base Package, Measurement Studio>>Standard Edition (Starter Kit), Measurement Studio>>Visual Basic Support, Measurement Studio>>Professional Edition (Base Package), Measurement Studio>>Visual C++ Support, Measurement Studio>>Enterprise Edition (Full Development System), Measurement Studio>>.NET Support

Problem:
Starting in 2007, dates for which Daylight Savings Time (DST) is in effect in the U.S. will be changed. DST previously ran from 2:00 a.m. on the first Sunday of April to 2:00 a.m. on the last Sunday of October but will now run from 2:00 a.m. on the second Sunday in March to 2:00 a.m. on the first Sunday in November.

I have downloaded updates for some of my other applications, including my operating system, to address this change. Are there any patches for National Instruments products that I should know about?

Solution:
For most National Instruments software you will not need to update anything. TestStand, LabVIEW, LabWindows/CVI and DIAdem all receive timing information directly through the operating system (Windows, Linux, MacOS, etc). The operating systems have been patched for this change, so these applications should not have any issues with the change.

LabVIEW Real-Time targets will be affected by this if not connected to a time server. At this time, there is not a patch for this change. There are several workarounds that you can use to address this change on a LabVIEW Real-Time target.

  1. Connect your real-time target to a time server for time stamp information. For FieldPoint targets this can be accomplished by providing the IP address of a machine running the National Instruments Logos Time Servertime server in the Time Server text field in the Network Settings tab in Measurement & Automation Explorer (MAX) when the FieldPoint controller is selected under Remote Systems.

    For other real-time targets you can use the Network Time Protocol to ping a known NTP server such as the NIST time server. See the example linked below.


  2. Use the Set Date Time VI on the controller manually or in a slow loop that runs every hour and on a certain date changes the time.

  3. For CompactRIO and PXI RT targets, disable Daylight Savings Time by unchecking the Automatically adjust target clock for daylight saving changes checkbox on the System Settings tab in MAX.
An update for LabVIEW Real-Time targets will be available in the future.

Related Links:
Developer Zone Example: Set Date and Time on PC, PXI, and PXI-RT Using Network Time Protocol (NTP) Server from NIST
KnowledgeBase 3HKA4CXT: How Do I Disable Daylight Saving Time on LabVIEW Real-Time Targets?

Attachments:





Report Date: 02/20/2007
Last Updated: 03/01/2007
Document ID: 46J7O59K

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit