Jump to content

Phillip Brooks

Members
  • Posts

    911
  • Joined

  • Last visited

  • Days Won

    53

Posts posted by Phillip Brooks

  1. You should be able to use the "format into string" and "scan from string" functions to store a human readable timestamp in an INI file with considerable accuracy. 

     

    Try this format string:

     

     %^<%Y-%m-%dT%H:%M:%S%16uZ>T 

     

    modify the 16u portion to set the fractional seconds.

     

    ISO-8601 Persistent Timestamp.vi

     

    LabVIEW's 128 bit timestamp is accurate to 0.05421010862427522170... attoseconds

     

    http://www.ni.com/white-paper/7900/en

    • Like 1
  2. So I've tried to load every snippet in this thread to LV2012 and all I get is a picture on the BD. I tested LV by grabbing a couple from the dark side and they work fine.

     

    I created a few of my own as well and could load them back in.

     

    Could there be a filter on the LAVAG server that is stripping out the meta data?

     

    I'll share my SuperSecret toggle snippet here and see if I can load it back into LV.

     

    post-949-0-53158700-1363345046.png

     

     

    EDIT:

     

    I think something is happening on the server. My image file on disk was ~15k in size and when downloaded is ony 5k.

     

    Hmmm.... :shifty: 

  3. I opened your example before I left work, but didn't have time to tinker with it.

     

    I'm at home now so I can't test it out, but if you look at the Config methods you will see both "get" and "set" methods that should make is simple to retrieve the SuperSecret variable without extra file I/O.

     

    Note that there are two types of "sets" and "gets", "App" settings and "regular". Maybe selecting the App version methods would allow you to run this from the Tools menu.

  4. You can set the blinking property, but an XControl's facade does not run continuously. If you update your XControl blinking property enough times, you may notice that the Boolean appears true and other times false. It is not a bug in your code, but rather a timing issue between the blink and when the XControl stops running. 16x16_smiley-sad.gif

    The behavior of an XControl is more like a VI in a frameless subpanel than a native LV control. When you set the value or a property of an XControl, LabVIEW will configure the underlying parameters and then perform a Run VI.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.