LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i create multiple Y-axis programmatically

I have to generate up to 4 Y-axis in my program. Can I do this under runtime under LabVIEW 8.2 ?
If yes - what must I do?
0 Kudos
Message 1 of 6
(3,322 Views)
What I would do is create many Y-scales (right-clic >> properties >> Scales) in edit mode (not run time) and at run-time I would display those I need using property nodes.

Hope this can help you 😉


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 6
(3,318 Views)
Thanks, that seems to be the only way...
0 Kudos
Message 3 of 6
(3,285 Views)
I agree that this is the solution, I have an application where I have created 2 primary (left hand side) Y-axes and 1 secondary Y-axis (right hand side). This works well as property nodes can programmatically enable and format the axes as desired.
 
I wonder if there is a good way to maintain a fixed plot area size? During run time, the graph width automatically changes slightly when Y-axes are made visible or invisible, and the plot area can start to "wrap around" the decoratively curved right hand edge of the graph control. Has anybody used this technique for enabling y-axes at run time without having the plot area change size?
 
Message 4 of 6
(3,280 Views)

I agree maintaining a consistant plot area size with changing axis options is a problem.  This is a constant point of frustartion for me since I try to keep a clean GUI.  I have found no easy answer to this problem.

.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 5 of 6
(3,270 Views)

Not sure if this will help but in reply #14 of this thread

http://forums.ni.com/ni/board/message?board.id=170&message.id=146134&a#M146134

Christian writes"you need to disable "Auto adjust scales" for all charts..."

See that thread for more details,

Ben

Message Edited by Ben on 12-10-2006 10:23 AM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 6
(3,252 Views)