This library provides a simple yet useful interface for using the function generator of the actuator quantification teststand
Go to file
2024-01-19 11:40:29 +01:00
docs added examples 2024-01-19 11:36:09 +01:00
examples added examples 2024-01-19 11:36:09 +01:00
fn_gen added examples 2024-01-19 11:36:09 +01:00
manuals merged changes 2024-01-19 11:35:15 +01:00
.gitignore Created **fn_gen** repository and added python library 2024-01-19 11:28:37 +01:00
pyproject.toml added examples 2024-01-19 11:36:09 +01:00
README.md cleaned README.md 2024-01-19 11:40:29 +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/ckn8479/fn_gen.git && cd fn_gen
# 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/ckn8479/fn_gen.git
cd fn_gen
# 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.