LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

axis count

I'm currently working on a tool which allows graph manipulation..... I want to keep the code generic, hence my following problem.

 

I need to be able to set the axes programatically to autoscale or not, but I have a slight problem.  I can't find any way to determine the number of X-axes or Y-axes on a graph short of trying to set the index and wqaiting for an error.  Is there not a better way to do this?  Why is there no axis count property?

 

Shane.

0 Kudos
Message 1 of 4
(2,882 Views)

Hi Shane,

you can use the error method to count the available scales before really using it. Smiley Happy

 

Mike

Message 2 of 4
(2,879 Views)

Ah, that's true.

 

Since the number of axes can't change during run-time it's a one-off thing for each graph, right?

 

That's not so bad.

 

 Thanks.

 

Shane.

0 Kudos
Message 3 of 4
(2,876 Views)

Intaris wrote:

Since the number of axes can't change during run-time it's a one-off thing for each graph, right?

...


yes, afaik it´s not possible to change it at runtime.

 

Mike

Message 4 of 4
(2,870 Views)