02-13-2012 08:46 AM
The "Date/Time To Seconds" function (contained in the Function\Programming\Timing - Palette) does not respond to the "fractional second" input (see attached example).
Solved! Go to Solution.
02-13-2012 08:53 AM
02-13-2012 09:43 AM
I think he means if you go straight to a DBL type.
02-13-2012 09:49 AM
02-13-2012 09:59 AM
02-13-2012 10:02 AM
To poster:
I tried your example. Works fine. Are you trying to set the control to a value greater than or equal to 1?
From the documentation:
fractional second is the fractions of a second since the start of the second. Values must be greater than or equal to 0 and less than 1.
02-13-2012 10:56 AM
Why convert at all? You should be able to simply add the DBL value to the timestamp.
Jim Kring's "Thinking in G" blog has a nice example of relative time calculations.
http://thinkinging.com/2007/06/08/labview-tip-easy-relative-timestamp-calculations/
02-13-2012 12:24 PM
Are you trying to add fractional seconds to the existing time that includes fractional seconds?
Or are you trying to replace the existing time with a time that is a particular fractional second?
You are doing the latter.