Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

newer version of Measurement Studio is slower

I have been using version 8.1 for the past months and used only WaveformGraph.

For my graph I allow for the user to scale the Y axis, X axis, and Y Offset. This

have been working perfectly and redrawing of the graph is very fast.

 

I just upgraded to version 8.5 (also tried 8.6 but no difference from 8.5 in terms of performance)

and found that the redrawing of the graph, when I rescale the axes, to be a lot slower.

 

My question is, is there a new option that is present in the newer version of Measurement Studio

and not in the old one, which might cause the slow down?

 

I am running under XP but I also tried it under Vista and have the same outcomes.

 

Thank you in advance.

0 Kudos
Message 1 of 6
(4,338 Views)

Hello,

 

Which version of Visual Studio are you using (year and express, standard, or enterprise)?

 

Is your application simple enough where you could zip it and post it here in each version?

 

If not, could you please describe a little more what your application is doing overall?

 

Also, what order of speed reduction are you seeing? Is it taking twice as long? Three times as long?

With warm regards,

David D.
0 Kudos
Message 2 of 6
(4,317 Views)

I am using Visual Studio 2005 Pro. The code is in C#.

Unfortunately I am not able to send out the code but I can describe its

functionality a bit more.

 

It is a graph application that uses the WaveformGraph to plot A/D signals

up to 16 channels. I add 16 XYPlot's to the graph; one for each channel.

I append points with the PlotYAppendMultiple function. I add mouse event

listeners to the graph area so that the user can scale the X-Axis when they

drag the mouse horizontally on the X-Axis. Same goes for the Y-axis but

with vertical drag. Also if the user drag the mouse up and down on the far right side

they are able to change the Plots offset allowing the channels to be seperated.

 

With Measurement Studio 8.1, even with  16 channels the response of the Scaling/Offset 

is smooth and instant. However with 8.5 it is so slow that the graph only gets updated 

about every 1 or 2 seconds.

 

Thank you for your help.


 
Message Edited by datzstr8 on 12-08-2008 11:22 AM
0 Kudos
Message 3 of 6
(4,308 Views)

Hello,

 

One thing to try is to optomize the graph. You can find out how to do this by searching "Optimizing Measurement Studio Windows Forms Graph .NET Controls" in the Measurement Studio Help.

 

If that does not help can you try and boil this down to a simple program that displays this behavior that you can post? The reason being it will be very difficult for me to replicate this behavior with a description rather than actual code.

 

Have you changed anything other than the version of Measurement Studio? Are you on a different machine? Have you tried a different machine?

 

 

With warm regards,

David D.
0 Kudos
Message 4 of 6
(4,289 Views)

Hi,

 

I followed the Optimization guidelines when I implemented my graph.  The only difference between the two 

versions is the Measurement Studio version; everything else is the same (code, machine). I have tried

it on 3 machines (running xp and vista) and get the same outcome. 

 

I think I will try your suggestion of making it more simple and try to boil it down.

 

Thanks for your help.

0 Kudos
Message 5 of 6
(4,267 Views)

Hello datzstr8,

 

I just wanted to follow up with you to see if you had been able to boil your application down to something simple that reproduced the slowdown.  We would really like to know if we introduced a performance problem with Measurement Studio 8.5, but so far, I have been unable to reproduce what you are seeing.

 

I was curious how you were plotting your data.  Are you using either our AnalogWaveform class or our precision timing classes?  These are some of the only classes that had significant changes between the two releases.  This is not to imply that we found any performance problems when testing these changes, but we can not think of anything else that may be causing the type of performance issues you are reporting.

 

NickB

National Instruments 

 

0 Kudos
Message 6 of 6
(4,202 Views)