Calibration-aware generate and acquire (cmd line utils)
Posted: Mon Nov 24, 2014 10:22 pm
All, please find calibration-aware generate and acquire (cmd line utils) here in the /Test/ directory:
https://github.com/edgo914/RedPitaya
Calibration values are taken from EEPROM storage.
This work also includes generate with DC offset capability, originally done by markome and extended here. Does not include the sweep functionality from pdorazio.
Note that acquire is used itself for Front-End offset calibration purposes:
http://wiki.redpitaya.com/index.php?tit ... alibration
And so, acquire can be used in the "old fashion" for calibration purposes as documented above, and then WITH calibration-awareness using the "-c" option. The nice benefit of the "-c" option is that the values obtained are voltages, not raw samples from ADC.
acquire also includes an averaging option "-a" to compute the average of the number of samples taken. This is helpful for working with a generated signal of zero Hz with a DC offset (meaningless for a sine/sqr/tri wave).
It is recommended that in order to properly use the "calibration-awareness", the Front-End and Back-End calibration of Red Pitaya should be perfomed. Use a DMM and/or calibrated oscilloscope to measure and set the DC offset and full-scale (gain) settings.
Enjoy!
https://github.com/edgo914/RedPitaya
Calibration values are taken from EEPROM storage.
This work also includes generate with DC offset capability, originally done by markome and extended here. Does not include the sweep functionality from pdorazio.
Note that acquire is used itself for Front-End offset calibration purposes:
http://wiki.redpitaya.com/index.php?tit ... alibration
And so, acquire can be used in the "old fashion" for calibration purposes as documented above, and then WITH calibration-awareness using the "-c" option. The nice benefit of the "-c" option is that the values obtained are voltages, not raw samples from ADC.
acquire also includes an averaging option "-a" to compute the average of the number of samples taken. This is helpful for working with a generated signal of zero Hz with a DC offset (meaningless for a sine/sqr/tri wave).
It is recommended that in order to properly use the "calibration-awareness", the Front-End and Back-End calibration of Red Pitaya should be perfomed. Use a DMM and/or calibrated oscilloscope to measure and set the DC offset and full-scale (gain) settings.
Enjoy!