08-03-2010 07:02 AM
Im wondering is there any easy ways to save values of non-disabled graphs. There is picture of my project below. The lower graph is the graph where my measurements are plotted and then I select those curves from list what I want to save. I have done it buy property node. I am disabling the all the curves besides choosed (active plots). But how can I get only values which are not disabled? Like in block diagram i added "Value" property for measurement but it gives all values which comes into measurement graph not the values which are only shown in graph. Value property stores data to measurement 3 which is the upper graph.
This could be done by deleting all the other measurements from array but isnt there any easier way? Im wondering if there is already that kind of property in labview language.
And Im kind of new with this labview stuff.
Thanks a lot helping me!
08-03-2010 09:12 AM
It's actually easier and faster to just index out the graph data from the array that you're writing to the graph. Creating a loop to set the active plot and then use the value property is just a roundabout way of getting to the data that you already have on the block diagram, so why duplicate the effort?
Aside: why is that wire of selected graphs orange (indicating floating point)? It should be blue (indicating integer).
08-06-2010 06:37 AM
Thanks !
I already solved this with WDT Index Channel DBL. Like you said with indexes it is easiest. Because it seems to be that there is no that kind of property of Waveform graph that it could just give out the array of visible curves. It was easier than I thought to solve this.
And yeah I changed those floating points to integer. But I think that it wouldnt matter if they would be floating point. But integer is enought to describe those values.
08-06-2010 08:50 AM
@To_ne wrote:
Thanks !
And yeah I changed those floating points to integer. But I think that it wouldnt matter if they would be floating point. But integer is enought to describe those values
It would matter since float to integer gets you a rounding effect. It also depends on what you mean by "describing" a value. "Describing" a value is somewhat meaningless. Is it "large", "small", "close", "way off", ....