Jump to content

Bluetin

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by Bluetin

  1. QUOTE(yen @ Aug 10 2007, 05:33 PM) As would I, for the same reason
  2. "Bluetin your solution relies on the fact that your computer time settings don't change. Yen's as well but are a little bit more error proof." How do you figure that?! I am getting a date time STRING as data from any source in this case a datalogger. When I put the string into a timestamp I can easily subtract 2 timestamps to get the time elapsed. The point was how to put a string into a timestamp. Parsing a string into a cluster and then converting the cluster to a timestamp also works as Yen has said. But he blew off Brokenwire's suggestion as not simple when it is vastly simpler. QUOTE(yen @ Aug 9 2007, 04:29 PM) Thanks for the hint on pictures. The scan Time from string method is great if you have version 8.X The property node method works in 7.X It probably also works in 6.X but I don't have any old version 6's and I don't really want to get out my old version 5.1 just to see. QUOTE(BrokenWire @ May 21 2007, 11:05 AM) I was having the same wish for a function when I decided to do this for myself...that is convert a string to a LV Timestamp. What I did was prep the string data using the string commands so that it appears in the mm/dd/yyyy format. Create a timestamp control then create a property node for the NumText.Text (Property Node > Numeric Text > Text) and wire the date string to the node. Now when you pass the value from the control it will be formatted as a timestamp. I hope this helps By the way BrokenWire you don't need to reformat the string, you need to change the settings of the TimeStamp to match the string. http://forums.lavag.org/index.php?act=attach&type=post&id=6606 http://forums.lavag.org/index.php?act=attach&type=post&id=6604 http://forums.lavag.org/index.php?act=attach&type=post&id=6605
  3. QUOTE(yen @ May 22 2007, 04:32 AM) Yen, I have used the cluster method as well as BrokenWire's property node method. Both methods work fine. But you are very wrong that the cluster method is simpler. I haven't figured out how to post an image to this forum yet, so I put an url to a gif of a block diagram showing how much simpler it is to put a time string or a date-time string into a timestamp control. Thanks BrokenWire. http://forums.lavag.org/index.php?automodule=gallery&req=si&img=1010' target="_blank">http://forums.lavag.org/index.php?automodu...si&img=1010
×
×
  • Create New...

Important Information

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