![]() A second measurement taking the voltage drop over the shunt resistor is necessary. It is not possible to read the voltage drop over the load directly. You also have into account that the channels of most oscilloscopes are single ended, and all measurements therefore must be referred to ground. So, a shunt resistor must be used to obtain the current passing through the circuit, allowing for the computation of the power consumed (Figure 1). Just as a simple example: You want to quantify the power of a certain block in your circuitry, and you are also interested in the waveform originating from these calculations, not only in the absolute values.īut most oscilloscopes only measure voltages, the current, and therefore the power cannot be measured directly. But occasionally, it is necessary to document the obtained data or to process the signals further. If the instrument can also work as a waveform generator and can do some mathematical calculations on the signals acquired, or allows automated tests, even better.įor many measurement tasks that designers face in their daily work, oscilloscopes are an excellent choice as they offer many ways to achieve good results. You may not share my enthusiasm for this particular hobby, but I am very fortunate that you are at least enthusiastic about my enthusiasm, if that makes sense.Oscilloscopes are the tool of choice for every engineer when it comes to measurements. Lastly, thanks to Petra for your patience with having all kinds of electronics equipment in the living room while developing this package (and before, and after, …). The package is a lot better because of your help. Thanks to my longtime friend Pepijn for proof-reading the documentation and providing his perspective on several issues that came up while implementing pydwf. If you need any kind of high-tech software (with or without Digilent Waveforms devices), and you’re somewhat in the vicinity of Delft, The Netherlands, give us a call. Many thanks to Digilent for making the awesome Waveforms devices, and to provide not only the very capable Waveforms GUI software, but also the cross-platform SDK on which pydwf is based. See the Examples overview for more information. These examples are intended as a useful starting point for your own Python scripts. This will create a local directory called pydwf-examples containing the Python examples that demonstrate many of the capabilities of the Digilent Waveforms devices and pydwf. This allows installation using the standard pip (or pip3) tool: The installable package is hosted on PyPI: The project repository and issue tracker are hosted on GitHub: Some of the examples depend on the matplotlib package, but pydwf itself will work without it. Pydwf depends on the numpy package to handle the considerable amount of data transferred between the PC and Digilent devices when performing high-speed signal generation or capture operations. Generally speaking, if the Waveforms GUI application provided by Digilent works on your system, you're good to go. These provide the C libraries that pydwf uses to interact with devices. In order for pydwf to work, recent versions of the Digilent Adept and Digilent Waveforms packages must be installed. The pydwf package requires Python 3.6 or higher. If you have such a device and encounter problems, please report an issue on the GitHub issue tracker. It should also work with the other devices listed, but these haven't been tested. The pydwf package has been extensively tested with the Analog Discovery 2 and Digital Discovery devices, and it has been verified to work with Analog Discovery Pro devices. The following devices can be controlled using pydwf: Readers who want to learn how to use pydwf are referred to the API documentation. This README file contains information about the project. The pydwf package comes with documentation and a number of ready-to-run examples that demonstrate how pydwf can be used to perform common and not-so-common tasks.Ī command-line tool is provided that can be used, among other things, to list the available Digilent Waveforms devices and their configurations. It is based on version 3.17.1 of libdwf but it should also work with other versions. The current release of pydwf is version 1.1.1. Like the C library, the pydwf package supports Windows, Linux (Intel and ARM), and macOS. It wraps all functions of libdwf, the low-level C library provided by Digilent, in an easy-to-use, class-based Python API. This is the README of pydwf, a Python package to control the Digilent Waveforms lineup of electronic test and measurement devices made by Digilent.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |