07-02-2013 11:19 AM
I am building a vi in which I will be plotting data against the time. I am using an xy graph along with the xy chart buffer vi. The x axis is the current time. However, the axis will continue to compress as the buffer gets full and the data becomes unreadable. I want to control the minimum and mzximum time on the x axis so that it constantly updates. I have successfully done this when I use a difference in the current time and the start time using the property nodes under xscale-range-xminimum and xscale-range-xmaximum, however these property nodes only take a double as an input.
Any ideas?
07-03-2013 08:59 AM
@Kim_Shrewsbury wrote:
I am building a vi in which I will be plotting data against the time. I am using an xy graph along with the xy chart buffer vi. The x axis is the current time. However, the axis will continue to compress as the buffer gets full and the data becomes unreadable. I want to control the minimum and mzximum time on the x axis so that it constantly updates. I have successfully done this when I use a difference in the current time and the start time using the property nodes under xscale-range-xminimum and xscale-range-xmaximum, however these property nodes only take a double as an input.
Any ideas?
Sounds like you know how the scale needs to be manipulated. Are data types the problem? If so, you can convert timestamps to DBL:
07-03-2013 09:16 AM
When I feed a double into the property node the plot scale does not behae properly. It seems like this might be because I am wanting time on the x axis scale and I am feeding in a double.
07-03-2013 09:27 AM
@Kim_Shrewsbury wrote:
When I feed a double into the property node the plot scale does not behae properly. It seems like this might be because I am wanting time on the x axis scale and I am feeding in a double.
What exactly is the scale doing, and what do you expect it to do?