LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to properly initialize the graph?

I would always be confused with initializing the graph indicator. I know I could use the property node and pool down all the parameters and assign the values to them but somehow those values don't dictate the way the graph gets initilized.
Is it that autoscale options overwrite it?
I tried taking of autoscale and it is still the same.
I know there are so many VI examples but I did not find the one that is really clear.
Can anybody show me the example of initializing the different parameters of the graph.
Really appreciate,
Pedja
0 Kudos
Message 1 of 5
(3,132 Views)
Yes autoscale will overwrite these parameters what you will need to do is set auto scale off as you did before. Here is an example of how to accomplish this. I only used the maximum value for both scales. hope this helps.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(3,132 Views)
Thanks for your help.
Now I am sure about these things.
Another thing I wanted to clear out is about clearing the graph at the initialization stage. I assigned the constant 0 to it and it clears but then something still sort of remains from the previous stage and it shows up on the graph right before it starts to plot the actual data.
My question is:
How do you clear the graph before acquisition of data?

Thanks again,
Pedja
0 Kudos
Message 3 of 5
(3,132 Views)
just add the property (value) with the property node. right click on the input to that node select create constant.(zero) and this will clear the graph.
See example



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 5
(3,132 Views)
You attached the wrong VI...
I think I know what you mean.

Thanks for your time.

Have a good weekend,
Pedja
0 Kudos
Message 5 of 5
(3,132 Views)