Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66855

Bug in "Get and Set Time.vi" example for RT systems

$
0
0

There is a bug in "Get and Set Time.vi" that ships as an example in the "NI System Monitor" package.  The routine does *NOT* return the hour correctly.Screen Shot 2014-10-24 at 10-24 9.16.40.png

 

Note the string "%#H:12:39.371" as the time of day.  That should be 09:12:39.371 as it was 9 AM at the time.

 

Mac OS X 10.8.5

LabVIEW 14-64bit

NI System Monitor 14.0.1

Pharlap RT PXI embedded system version 14.0 updated.

 

NOTE: it is odd that the default "New Time" has #H as the hour but that is hard wired into the VI as a sentinel case.


Viewing all articles
Browse latest Browse all 66855

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>