05-19-2013 11:10 PM
Hello,
I was just reading the post https://forums.ni.com/t5/High-Speed-Digitizers/How-are-offset-and-gain-in-the-niScope-fetch-function... about the gain and offset of the digitizer, for use in the data reconstruction. Like the other poster, I would also like to find the gain and offset of our USB 5132, but am running in C#. Would someone be able to point me to the location of the gain and offset of our device, in the C# drivers? (If I try to estimate them myself from the digitizer settings my reconstruction is OK but not perfect.) Thanks very much.
Regards,
Penny
Solved! Go to Solution.
05-20-2013 10:55 AM - edited 05-20-2013 10:56 AM
All set.
ScopeWaveformInfo[] info = e.WaveformInfo;
MessageBox.Show("gain[0] is " + info[0].Gain.ToString());
MessageBox.Show("offset[0] is " + info[0].Offset.ToString());
Thanks,
Penny