09-09-2009 01:24 PM
icemaker wrote:I converted my 24hr time to seconds. I tried two things, wiring as seen in picture below. And also tried converting to time stamp as you suggested. When I make it a timestamp I get a broken wire when I put it into the array.
What I actually said was that if you use a timestamp datatype then you need to use the To Double Precision Float function to convert the timestamp to seconds.
09-09-2009 01:35 PM
09-09-2009 03:19 PM
You're still not reading what I'm saying: to go from timestamp to seconds use the To Double Precision Float.
I never said anything about going from seconds to timestamp. It makes no sense to go from seconds to timestamp and try to wire that into a Build Array.
09-09-2009 03:51 PM - edited 09-09-2009 03:53 PM
Here is one way to parse the string using relative time. I used an XY chart. The x-axis of the chart is configured for relative time. The format string for the Scan From String function is %<%H:%M>t in case it's hard to tell from the picture.
09-10-2009 09:26 AM
09-10-2009 09:34 AM
09-10-2009 11:46 AM
The one place I did not look! Now it is working. Once last question. I have played with the graph for a while now but cannot get the time to display along the bottom. It only shows the stat time 00:00 and the finish time, but nothing in between. It also goes to 26:00, which is odd but not a big deal because it appears to be laying out the data correctly. Thanks for all the help.
09-10-2009 12:31 PM
Change the formatting of you x-axis. You currently have the style set to not show anything between the first and last major ticks.
As for it starting at zero, you should check to make sure you're not reading any lines with zeros. I read the file you posted earlier.
09-14-2009 01:46 PM