scope_open#
method
- AnalogDiscovery.scope_open(sampling_frequency: float = 20000000.0, buffer_size: int = 0, offset: float = 0, amplitude_range: float = 5)[source]#
Initialize the oscilloscope.
- Parameters:
- sampling_frequencyfloat, default: 20e6
Sampling frequency of the oscilloscope in Hz.
- buffer_sizeint, default: 0
Buffer size of the oscilloscope in data points, a value of 0 means maximum buffer size.
- offsetint, default: 0
Offset voltage of the oscilloscope in Volts.
- amplitude_rangeint, default: 5
Amplitude range of the oscilloscope in Volts.