LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart axis problem

I am writing data to a simple x-y chart where x values are cycle numbers (1,2,3,4....etc)
and y values are times in seconds. The total number of cycles sent to the
chart can be 100,000+, but I only need the last one hundred. I have therefore
set the history length attribute to 100 so I effectively display a window
of the last 100 cycles. Now, my problem is that I would like the y-axis (time)
to have a range of 0 to the current maximum displayed. I have auto-scaling
set, so the range is just the min and max of what is being displayed. How
can I fix the lower value of the y-axis range to zero whilst having the upper
value auto-scale? I'm using LabVIEW 5.1 on Windows 98.
0 Kudos
Message 1 of 3
(2,756 Views)
Hi Steven,
you can solve the problem by using attribute node.
For example, set y scale max = max value, y scale min = 0

P.S Steven, why you don't using LabVIEW 6i?
It's much more comfortable.

Best Regards
Mike

Steven White wrote:

> I am writing data to a simple x-y chart where x values are cycle numbers (1,2,3,4....etc)
> and y values are times in seconds. The total number of cycles sent to the
> chart can be 100,000+, but I only need the last one hundred. I have therefore
> set the history length attribute to 100 so I effectively display a window
> of the last 100 cycles. Now, my problem is that I would like the y-axis (time)
> to have a range of 0 to the current maximum displayed. I have auto-scaling
> set, so the range is just the min and max of what is b
eing displayed. How
> can I fix the lower value of the y-axis range to zero whilst having the upper
> value auto-scale? I'm using LabVIEW 5.1 on Windows 98.
0 Kudos
Message 2 of 3
(2,756 Views)
Yes, I know how nice LabVIEW 6i is, but we haven't upgraded yet. Anyway, thanks
for your help, I'll give it a try.

Mike Manzheliy wrote:
>Hi Steven,>you can solve the problem by using attribute node.>For example,
set y scale max = max value, y scale min = 0>>P.S Steven, why you don't
using LabVIEW 6i?>It's much more comfortable.>>Best Regards>Mike>>Steven
White wrote:>>> I am writing data to a simple x-y chart where x values are
cycle numbers (1,2,3,4....etc)>> and y values are times in seconds. The total
number of cycles sent to the>> chart can be 100,000+, but I only need the
last one hundred. I have therefore>> set the history length attribute to
100 so I effectively display a window>> of the last 100 cycles. Now, my problem
is tha
t I would like the y-axis (time)>> to have a range of 0 to the current
maximum displayed. I have auto-scaling>> set, so the range is just the min
and max of what is being displayed. How>> can I fix the lower value of the
y-axis range to zero whilst having the upper>> value auto-scale? I'm using
LabVIEW 5.1 on Windows 98.>
0 Kudos
Message 3 of 3
(2,756 Views)