12-09-2009 02:37 PM
Like this
12-09-2009 02:39 PM
No, the time has to be numeric data.
Also, you are going to have a problem using an XY Graph anyway. As the posted examples show, a graph expects to have an x array and a y array. Look at the shipping example called XY Chart to see how to update a single point at a time or go back to using a regular chart. If your data is acquired on a regular basis, you can set the t0 and dt of the chart with property node. Look at the example called Real Time Chart.
12-09-2009 02:49 PM
This is a more complete thought
12-10-2009 09:27 AM - edited 12-10-2009 09:28 AM
Although I do like to use clusters, they are not always necessary.
You could clean up theX-axis by using a negative offset in a scaling factor property node. You could take a timestamp before the while loop and use the value as a negative offset.
Messy:
12-14-2009 09:21 AM - edited 12-14-2009 09:22 AM
Where do you get this ?
12-14-2009 09:37 AM
12-14-2009 10:00 AM
Or the long way:
Inside the Functions Palette, under Arrays, place an array constant on the block diagram. Go to the Numerics and place an numeric constant inside the array constant on the block diagram. Right click the array constant and change the representation to Double..
(I'll have to try those steps to see if I got it right... 😉 )
12-14-2009 10:17 AM
Oh **** i made all those steps and still not working :S
The XY graph isnt even ploting.
12-14-2009 10:35 AM
12-14-2009 10:50 AM