01-10-2013 02:29 AM
hello all
I have a problem that, i need create many different y-scale in the graph, one method is right click the scale, select "Duplicate Scale"
then a new scale will be ok. however, this is just static method, before the VI running, the total of the y-scale is fix. Is there some dynamic method
by call property node to create the new y-scale when the VI is running? for example, if i do not know how many channel data to be acquired, then
i can not determine the total quantity of the y-scale, so if dynamic is ok, then , it is very perfect.
Every one suggetion is very appreciated.
01-10-2013 02:42 AM
Hi Mike,
some notes:
- you can create any number of scales while editing your VI and control their visibility with a property node in your VI
- IMHO you should limit the number of y scales as
1) they need space on the front panel and so will minimize the space for the actual plots
2) the more scales you have the less overview you will get
3) you get into troubles when using grids for your plots
01-11-2013 03:41 AM - edited 01-11-2013 03:41 AM
HI
it would not be a good idea to have individual Y scales for each channel. the reasons have already been mentioned.
you can have two options:
1. group the channels and fix 2 or 3 Y scales. i have never used more than 3. Allot groups of channels to each Y scale. so, you can create all Y scales and hide them when not needed. the user can anyways select which plot should be on which scale (right click on the Plot legend for a channel and select Y scale)
2. have 2 or 3 graphs/charts and allot a group of channels to each graph/chart. then have individual Y scales on each graph/chart. This depends on how BIG your front panel is going to look!
you need to arrange the graphs in a nice way though..
01-11-2013 07:27 AM
We needed to do something similar becuase of a customer requirement. From what you said, if you know the maximum number of axis, create the maximum number of scales required by right clicking and duplicating scale. During runtime hide/unhide the scale as shown below.