Hi Greg,
Let me clarify something about the gain issue. There are two types of gain (and offset) that you can use with the CVI graph controls. One you do by applying the gain to the data itself, and the other you do by applying it to the axis. So far, you've been talking about the second case. This type of gain, which you can set for the entire axis, is really just a cosmetic multiplier that is applied to all the axis numeric labels. Its intent is primarily to allow people to have a quick and dirty way to change the graph units (for example, from seconds to hours). I do agree with you that using this with a log axis is probably not something that makes a lot of sense. Which is why you probably should use the other type of gain, which you can do with the PlotWaveform function. The only difference between the PlotWaveform and the PlotY function is that the former allows you to set the gain and offset for your data (it's called
y_gain for the y-axis, and
x_increment for the x-axis). Setting this gain, instead of the other one, would do what you want, I think.
Note that the both methods are equivalent if you only have one plot in the graph (or if you want the same gain applied to all plots)
and you're using a linear axis. But when you use a log axis, then their effects are different. If you want the gain multiplier effect to be applied before the logarithmic mapping, then you should set it in the PlotWaveform function instead.
Concerning the issue of the memory usage of the strip chart control: it is the case that the memory manager in CVI rarely returns freed memory back to the system. For optimization purposes, it makes the assumption that memory that was freed (not necessarily by you, but by the individual controls, or other objects in CVI) will, more likely than not, be needed again in the future, and so it holds on to it, in order to avoid the overhead of re-obtaining it from Windows.
If you really want to free the memory completely, there is something you can do. It sounds weird, but if you create and then immediately destroy a panel, the CVI memory manager should free up system memory at that point (discarding a panel is one of those times when memory is returned to the system).
Hope this helps
Luis