Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

scatter plot integrated into a for loop

Hello,

I'm trying to create a program (vb.net 2005, Measurement studio 8.1) which will acquire data, store it to disk and also plot each point when it is taken.

I am currently taking the data using a for loop to get the required number of readings. When I implement the scatter plot, the actual plot only updates after the the program has ended and not each time I use the plotxyappend.

Any help would be much appreciated.

Cheers,

Julian
0 Kudos
Message 1 of 5
(3,657 Views)
If I understand your application correctly, you are acquiring the data, plotting the data, writing it to disk inside the for loop, and the graph is not updating until the for loop ends.
 
Try setting the ImmediateUpdates property of the ScatterGraph to true and let us know if this fixes the problem.
0 Kudos
Message 2 of 5
(3,646 Views)
Yes that was the problem and setting the ImmediateUpdate property to true solved it. I spent all my time trying to change the properties of the scatterplot not the scattergraph...

Thanks for the help
0 Kudos
Message 3 of 5
(3,643 Views)
Hi, please i am a learner and a newbee to Measurement, i have similar problems as the thread you posted but it also goes a little more  than just plotting i also wants the data to be dispayed on a textbox or NumericEditbox. But  following the examples shipped with Measurement Studio 8.1, i can only plot the data on the graph just once (when the program startup) and then it stop updating, moreover, the examples are all in 2-Dimensional Arrays that cannot be displayed in a Textbox or NumericEdit control. Please i will appreciate any assistance you can provide.
 
Charlion
0 Kudos
Message 4 of 5
(3,604 Views)
Can you post a small example program that shows what you are trying to do and what isn't working?
0 Kudos
Message 5 of 5
(3,596 Views)