This library provides a simple yet useful interface for using the function generator of the actuator quantification teststand
Go to file
2024-01-24 15:48:07 +01:00
docs removed docs/build and added build to .gitignore 2024-01-19 11:51:26 +01:00
examples added examples 2024-01-19 11:36:09 +01:00
manuals merged changes 2024-01-19 11:35:15 +01:00
src/fn_gen fixed project sturcture, fixes imports 2024-01-24 15:48:07 +01:00
.gitignore Added PDM integration 2024-01-22 11:09:01 +01:00
pyproject.toml fixed project sturcture, fixes imports 2024-01-24 15:48:07 +01:00
README.md updated README.md to match repo 2024-01-19 12:10:25 +01:00
requirements.txt updated 'requirements.txt', removed 'easy_scpi' 2024-01-19 11:28:37 +01:00

Rigol DG2052 Python Library

[fn_gen] The Function Generator SCPI library in Python

Description: A library for usage with SCPI compliant function generators (for now the DG2000 series from rigol)

Usage:

Linux

# Clone Repository and change to repo directory
git clone https://collaborating.tuhh.de/m-4/imek-public/python-libs/rigol-dg2052-python-library.git && cd rigol-dg2052-python-library
# Install virtualenv for python virtual enviroment management
pip install virtualenv # Can be skipped if already installed
# Create a virutal enviroment in repo folder called 'venv'
python -m venv venv
# Activate virtual enviroment
source venv/bin/activate
# Install python build package to build library
pip install build
# Build library
python -m build
# Deactivate virtual enviroment
deactivate

Windows

# Clone Repository and change to repo directory
git clone https://collaborating.tuhh.de/m-4/imek-public/python-libs/rigol-dg2052-python-library.git
cd rigol-dg2052-python-library
# Install virtualenv for python virtual enviroment management
pip install virtualenv # Can be skipped if already installed
# Create a virutal enviroment in repo folder called 'venv'
python -m venv venv
# Activate virtual enviroment
venv\Scripts\Activate.ps1
# Install python build package to build library
pip install build
# Build library
python -m build
# Deactivate virtual enviroment
deactivate

The library will be then available in dist as a .whl file.