Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the .NET DateTime object

 

This document shows how to access the .NET DateTime Object. In includes 3 VI's the Write_DotNET_DateTime.vi and Read_DotNET_DateTime.vi write and read to a specific .NET object and the DotNet_Time.vi is the main VI that ties them together.

 

Front Panel

DotNET_FP.png

 

Block Diagram

DotNET_BD.png

 

NOTE:

If you try to read the .NET DateTime Date Property with a date earlier than January 1, 1601 you will recieve error 1172, refer to the following KnowledgeBase Article for more information.

 

KnowledgeBase 48RDR2EC: Error 1172 .NET Exception Converting .NET DateTime to LabVIEW Time Stamp 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Download All