Rigol-DG2052-Function-Gener.../README.md

519 B

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)

Installation:

python -m build
pip install dist/fn_gen-0.0.2-py3-none-any.whl

Usage:

from fn_gen import DG2052

if __name__ == "__main__":
  fg = DG2052("TCPIP::192.168.1.11::INSTR")
  print(fg.whoami())

other examples are available in the examples folder.