Hello YHong.
Great to hear you are using Measurement Studio 8. The Scale
class is part of the DAQ API for .NET. It is only used during acquisition to
scale the data as you are processing it. You then have the opportunity to
access the un-scaled (raw) data or the scaled data. It does not support post
process scaling.
To scale your raw data post-processing you have two options.
The first option would be to use the AnalogWaveform class and use the ScaleMode
method. This supports linear scaling of the raw data. The other option would be
to use the .NET math class to do the scaling via the mathematical functions.
If you are referring to scaling the display graph, rather
than the raw data itself, I would suggest looking at the SimpleGraph example
that ships with Measurement Studio. This illustrates how to create a basic and
useful graph solution which allows you to play through your data and scale the
window of the graph according to user input. This example is available in both
Visual Basic and C#.
Let us know if you have any additional questions regarding
this application!
Regards,
Chris Behnke
Sr. RF Engineer
High Frequency Measurements