Acquire
- src.acquire.acquire(oscope, averages: int | None = None, memdepth: int | str | None = None, type: str | None = None)[source]
Send commands to control an oscilloscope’s acquisition behavior. All arguments are optional.
averagesonly takes effect while the acquisitiontypeisAVERages; when both are specified thetypecommand is issued first.- Parameters:
averages (int) –
:ACQuire:AVERages(a power of two, 2 to 1024).memdepth (int, str) –
:ACQuire:MDEPth(an integer point count orAUTO).type (str) –
:ACQuire:TYPE(NORM,AVER,PEAK, orHRES).
- Returns:
A namedtuple with fields corresponding to the named arguments of this function. All fields are queried regardless of which arguments were initially provided. The
sratefield is additionally provided as a result of the query:ACQuire:SRATe?(the sample rate in samples per second).