keyoscacquire is a Python package for acquiring traces from Keysight oscilloscopes through a VISA interface.
Project description
v3.0.0 | October 2019 | Andreas Svela
keyoscacquire is a Python package for acquiring traces from Keysight oscilloscopes through a VISA interface.
Based on PyVISA, keyoscacquire provides programmes for acquiring and exporting traces to your choice of ASCII format files (default csv) or numpy npy, and a png of the trace plot. The package provides a class Oscilloscope and data processing functions that can be used in other scripts. For example, to capture the active channels on an oscilloscope connected with VISA address USB0::1234::1234::MY1234567::INSTR:
>>> import keyoscacquire.oscacq as koa >>> osc = koa.Oscilloscope(address='USB0::1234::1234::MY1234567::INSTR') >>> time, y, channel_numbers = osc.set_options_get_trace()
where time is a vertical numpy vector of time values and y is a numpy array which columns contain the data from the active channels listed in channel_numbers.
If you need to find the VISA address of your oscilloscope, use the command line programme list_visa_devices provided by this package.
The code has been tested on Windows 7 and 10 with a Keysight DSO2024A model using a USB connection.
Documentation
Available here.
Contribute
Contributions are welcome, find the project on github.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for keyoscacquire-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee64272f3a3a6d27e394a3217139e49432457226345bb3a0c0e087bb449284b |
|
MD5 | 9817e3bb078e8de0799c95531ca448e1 |
|
BLAKE2b-256 | e5480fcc3ff0e785cab3e55aeefd3a4554b3727768d5888fd30eebc5aaec347c |