Skip to content

Python drivers for Windfreak Technologies devices.

License

SQLim/windfreak-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windfreak-plus

License: MIT GitHub Stars

This is a fork of windfreak by Christian Hahn. This fork introduces the following new features and modifications:

  • New Feature 1: New supported device model - SynthNV PRO.
  • New Feature 2: SerialDevice dev_clear() method to reset input and output buffers.
  • Fixed typos: Minor typos fixed (e.g., 'mhz' to 'MHz')

Abstract

windfreak-plus is a pure Python package to facilitate the use of Windfreak Technologies devices.

windfreak-plus requires Python 3.

windfreak-plus is MIT licensed.

Supported devices

  • SynthHD v1.4
  • SynthHD PRO v1.4
  • SynthHD v2
  • SynthHD PRO v2
  • [NEW!] SynthNV PRO

Installation

Using pip:

python -m pip install [--user] git+https://github.com/SQLim/windfreak-python.git

Using setup.py:

git clone https://github.com/SQLim/windfreak-python.git
cd windfreak-python
python setup.py install

Example

SynthNV PRO

from windfreak_plus import SynthNVPro

synth = SynthNVPro('COM4') # Windows 
synth.init()

# Set RFout power and frequency
synth.power = -10.
synth.frequency = 2.e9

# Enable RFout
synth.enable = True

# Get device temperature
synth.temperature # returns float [e.g., 31.0]

# Check if RFout in enabled
synth.enable      # returns bool [e.g., False]

SynthHD

from windfreak_plus import SynthHD

synth = SynthHD('/dev/ttyACM0') # Linux 
synth.init()

# Set channel 0 power and frequency
synth[0].power = -10.
synth[0].frequency = 2.e9

# Enable channel 0
synth[0].enable = True

License

windfreak-plus is covered under the MIT license.

About

Python drivers for Windfreak Technologies devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%