Author Topic: Python Library For Feeltech Signal Generators (FY2300, FY6600, FY6800, FY6900)  (Read 2506 times)

0 Members and 1 Guest are viewing this topic.

Offline ptypeTopic starter

  • Newbie
  • Posts: 3
  • Country: us
I put together a Python library to simplify communications and work around firmware bugs.

http://github.com/mattwach/fygen

It has the following features:

  • Free and Open source
  • Comprehensive support (custom waveforms, measurements, etc)
  • High level and low level access methods.
  • Supports both Python 2 and Python 3
  • Unit tested, Lint Clean
  • Supports most OSes (Linux, Windows, Mac)
  • Usage documentation and many examples are provided

Example usage:


import fygen
fy = fygen.FYGen()
fy.set(channel=fygen.CH1, enable=True, wave='sin', freq_hz=10000)
fy.set(channel=fygen.CH2, enable=True, wave='square', freq_hz=20000)




You can also make a kitty:



Or some PI:



I hope some of you find it useful!
 
The following users thanked this post: hfleming, paf, Lesolee, bingo600, sab, Kean, coromonadalix, Jacon, battlecoder, RAPo

Offline battlecoder

  • Regular Contributor
  • *
  • Posts: 159
  • Country: cl
    • A BIT of Mystery
Hi!
I just played around with this today and seems to work fine!
As I've been trying to automate some stuff around my lab, I was looking into writing a control system for this frequency generator myself, but I think yours does everything I needed and them some!
Great work, and thanks for sharing.
 

Offline ptypeTopic starter

  • Newbie
  • Posts: 3
  • Country: us
That's good to hear!  Thanks for the feedback  :-+
 

Offline Lesolee

  • Regular Contributor
  • *
  • Posts: 223
  • Country: gb
    • publications list
I have been struggling with this, just trying to get Python to talk to the FY6800 at all.  |O Then I found your library and it worked really easily. :clap:

The number of variations of commands, formats, parameters etc is so great that you can spend forever, getting nowhere when starting from scratch. Then a light at the end of the tunnel as the generator springs into life, and you know the hardware works. Phew.  :-+

I found and fixed the couple of bugs in my few lines of Python just for completeness, but clearly your library is so good, why use anything else.  :phew:

“Thanks” seems an inadequate acknowledgement. Your library is really appreciated. ^-^
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf