Jump to content

BrokenWire

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by BrokenWire

  1. QUOTE(yen @ May 15 2005, 07:40 AM)

    Often people read text data which includes a date\time.

    Currently, there is no inherent function in LV for converting a time string to a timestamp.

    The suggestion is to have a VI, basically a reverse VI to Format Date\Time String, which will convert a date\time string to a LV timestamp based on a LV format string.

    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

  2. Does someone know how to get the sampling rate property of a task that is defined in MAX?

    I'm using the sampling rate in my post test calculations and we've had issues were someone will change the sampling rate and forget to change the constant in the LabView program. If we could just pull the property from a tasks we could eliminate that error in our calculations.

×
×
  • Create New...

Important Information

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