Welcome to Joulescope™ scripting examples repository! Joulescope is an affordable, precision DC energy analyzer that enables you to build better products. Joulescope™ accurately and simultaneously measures the voltage and current supplied to your target device, and it then computes power and energy. For more information on Joulescope, see www.joulescope.com.
This joulescope-examples repository contains examples for how to use the joulescope package in your own Python scripts and programs.
If you just want to use Joulescope, you can download the application.
Verify Python installation
Verify that Python 3.6+ is installed on your computer:
On Windows, "python3" may not be created by default. You can try "python -V" if your path is configured correctly, or you can provide the full path to your python executable. If python is not already installed on your platform, we recommend:
- Windows: download & install the official Python release.
- macOS: install brew, then "brew install python"
- Ubuntu 18.04 LTS: sudo apt install python3
Get this code
Clone this repository to your computer:
git clone https://github.com/jetperch/pyjoulescope_examples.git
Install the dependencies:
cd pyjoulescope_examples pip3 install -r requirements.txt
Use this code:
Open a command terminal and run the scripts of your choice. For example:
python3 bin\current_range_extract.py --help
All pyjoulescope_example code is released under the permissive Apache 2.0 license. See the License File for details.