LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programatically edit graph scale

Hi,
 
I kow that I can edit graph scale values simply mouse clicking on them, and typing new values.
Now I want to reproduce this behaviour programatically, but the problem is that I can't use the mouse in my application (only keyboard is available  Smiley SadSmiley Sad )
 
So, is there a way to programatically get focus to scale boundaries (x_min, x_max, y_min, y_max)?
I hope so...
 I need to programatically setting them.
 
Using LV 6.1 on Linux Fedora Core 3
Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 4
(2,743 Views)
Hi vix
 
You could create a vi which represents a Num-Pad to enter numbers via mouse. Maybe there already exists something like that - just search the forums or google the net.
 
This values you can pass to a property-node to change the scale.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 4
(2,742 Views)

Thanks for the suggedtion,

but I want to avoid "complicated solutions".

I need an interface very, very simple.

I thought using 4 numeric controls over the boundaries, and edit them.... if no different ideas

 

Using LV 6.1 on Linux Fedora Core 3

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 4
(2,736 Views)

I'd have suggested this too - but you may be limited. Imagine you have set your control to increment by 0.01 (for precision reasons) - how long may it take if you want to set a value of 50?

By the way - building a num pad is not that complicated. Of course it takes time to accomplish, but I think you are most flexible.

 

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 4
(2,730 Views)