|
From: Captain Kirby on 18 Jun 2008 21:10 Hi Jeff,I'm sorry I misunderstood your question, and I may still be confused, so please don't hesitate to correct me (you certainly wouldn't be the first.)Are you looking for something like this?<img src="http://forums.ni.com/attachments/ni/170/333009/1/Chart%20Scale%20Plot%20Selection.jpg"> In this chart, I have only five y scales, but have arbitrarily assigned the remaining plots to other y scales. This eliminates the two empty charts, and still has the remaining plots assigned to other scales. I did this by reducing the number of plots shown to five, and then changing the Y scale for plots five and six as depicted below.<img src="http://forums.ni.com/attachments/ni/170/333009/2/Plot%20Scale%20Selection.jpg"> Now, I may have this wrong again, so please clarify if I'm still out in left field.Message Edited by Captain Kirby on 06-18-2008 07:44 PM Chart Scale Plot Selection.jpg: http://forums.ni.com/attachments/ni/170/333009/1/Chart Scale Plot Selection.jpg Plot Scale Selection.jpg: http://forums.ni.com/attachments/ni/170/333009/2/Plot Scale Selection.jpg
From: JeffOverton on 19 Jun 2008 08:10 Ok, I think I have everything set up properly, and it happened properly once, but I've been unable to repeat it. It seems like the main problem is that changing the number of visible plots only affects how many are shown in the plot legend, not in the actual chart. After I had it work once, I deleted the chart to see if I could recreate the success on a new one, and I can't figure out what I'm doing differently. I've attached a VI with my settings on the chart, so maybe that will be a little more useful. maybe.vi: http://forums.ni.com/attachments/ni/170/333165/1/maybe.vi
From: Captain Kirby on 20 Jun 2008 14:40 Hi Jeff, In your new example VI, you use a cluster to store the six numeric arrays. Because of this, the cluster defines the number of plots shown on the chart regardless of the value chosen in the properties. If you switch to just using a 2D array, you can reduce the number of plots shown, and then reassign the y axis of the remaining plots to one of the showing plots. That's how I achieved the result in my last post. The only way to change the number of plots shown when using a cluster as an input to the chart is to change the elements in the cluster, which would of course reduce the number of numeric arrays given to the chart.So in order to achieve the result you want, I think your limited to just using a 2D into the chart. And when I used this input method, I still had to be careful of the order I changed properties in. First you have to stack the plots, then reduce the number of plots shown, and finally, you can reassign the remaining plots to showing y-axes.
From: JeffOverton on 20 Jun 2008 15:10 Ah, that got it. Thanks, it seems like I should have done the obvious thing and showed you what I was doing earlier and saved you a lot of time
From: Captain Kirby on 23 Jun 2008 16:10 Naw, its my pleasure! I love watching the forums and helping out when I can. But you brought up a good point, and it was worth it to me to play around with these property settings and see exactly what they do. I'm glad its all working now.
|
Pages: 1 Prev: lv 8.2 grab image Next: How can i read data from more than one channel at the sametime? |