08-14-2013 08:47 AM
But I was faced with another problem. I could not apply graph palette (for eample, I could not zoom my graph),
Because my VI is within a loop and alternatively run.
There are two options here. Turn off the autoscaling of the x and y axes (new data won't reset the axis range) or use a button and case structure to only read in new data when the button is pressed. Since the graph won't be updating constantly, you can zoom all you want.
08-17-2013 01:43 AM
Hi
Thank you all,
I added an other event structure within while loop in Acquire Data.vi.
I chose "Palette:Active tool" ( a property from my graph) as an event
and my problem was resolevd. I could apply zoom tool in my graph.
My new VI is attached as a picture.
thanks
yasamin
08-24-2013 02:37 AM
Hi
Thank you all.
I applied message 4 ( from GerdW) in my VI.
"use an event structure to detect mosueclicks on your small graph. In case of mouseclick open a subVI with a bigger graph..."
Then I added an other event structure within while loop in Acquire Data.vi.
I chose "Palette:Active tool" ( a property from my graph) as an event
and my problem was resolevd. I could apply zoom tool in my graph.
My new VI is attached as a picture.
thanks