LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fixed boundaries for a graph

hello

I have written a Labview application which collects data (counts of a
photomultilier) at different positions. these different positions are
changeing continiously.
I want to display the graph during the measuring procedere and (thats
the important part) I want to see the hole range.
at the moment the x-axis is growing and the y-axis is on autoscale,
but I want to give the range of the x-axis before the measurement
takes place and want to see the development of the y-axis (here
autoscale is OK).

thanks

alex
0 Kudos
Message 1 of 6
(2,964 Views)
It`s quite easy.

Right-click on the graph and de-select "X-Axis->Auto scale X-Axis".

Now you can edit the lowest and highest values of the X-Axis and they will remain.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 6
(2,964 Views)
shoneill wrote in message news:<50650000000500000097080100-1042324653000@exchange.ni.com>...
> It`s quite easy.
>
> Right-click on the graph and de-select "X-Axis->Auto scale X-Axis".
>
> Now you can edit the lowest and highest values of the X-Axis and they
> will remain.
>
> Shane.

well

it's not quite easy

if I want an online graph this graph cannot get a fixed display (in
every turn of the loop it extends the boundary of the x-axis)

alex
0 Kudos
Message 3 of 6
(2,964 Views)
a.jeschke@iu-bremen.de (alex@iub) wrote in message news:<8031cc83.0307110017.7d088c9c@posting.google.com>...
> hello
>
> I have written a Labview application which collects data (counts of a
> photomultilier) at different positions. these different positions are
> changeing continiously.
> I want to display the graph during the measuring procedere and (thats
> the important part) I want to see the hole range.
> at the moment the x-axis is growing and the y-axis is on autoscale,
> but I want to give the range of the x-axis before the measurement
> takes place and want to see the development of the y-axis (here
> autoscale is OK).
>
> thanks
>
> alex

to make it more precise I want to give the wavefrom chart a fixed boundary
0 Kudos
Message 4 of 6
(2,964 Views)
Hi Alex:
The best way to do this is with the PROPERTY node. If you tunnel down though all the options, you'll find a parameter called Active X Axis. You can wire the MAX scale to an external value. If you haven't worked with property nodes, you're missing half the fun of Labview 🙂

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 5 of 6
(2,964 Views)
If you want your chart to start a 0 and end at a fixed number every time, then use a property node to set x.min to 0 and x.max to the maximum number of acquisitions that you'll do. You will also need to clear the chart history before each run. This is also done with a property node and you wire an empty array to it.
0 Kudos
Message 6 of 6
(2,964 Views)