Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Cannot Read UTC Time From My Real-Time Controller

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 2009
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Compact FieldPoint>>Controllers>>cFP-2100, CompactRIO>>Controllers>>cRIO-9052

Problem:
I have set my controller to Coordinated Universal Time (UTC) in Measurement & Automation Explorer (MAX), but my controller is still returning local time.  Why is this happening?

Solution:
The timestamp indicator created to view the output of the Gate Date/Time in Seconds function will automatically convert the timestamp to local time when returned to the PC.  To view the timestamp unaltered, use the Get Data/Time String function to convert the timestamps into strings that can then be viewed without being converted.  For more information, refer to KnowledgeBase 3HJHM4XT: The Current Time Is Incorrect on My LabVIEW Real-Time Controller.

Related Links:
KnowledgeBase 3HJHM4XT: The Current Time Is Incorrect on My LabVIEW Real-Time Controller

Attachments:





Report Date: 04/24/2009
Last Updated: 05/05/2009
Document ID: 4WN725MK

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