Skip to main content

About the Project

The JDS6600 is a 2-channel DDS signal generator with a built-in frequency counter. It comes in a few flafours, one cam generate signals up to 60MHz, the lite version only up to 15MHz The Signal generator can be controlled via a USB port, and via the control panel. This module makes it easier to control the signal generator via the USB port. It abstacts most of functions offered via the remote control. The documentation I have found on the internmanufacturer's website (https://joy-it.net/de/products/JT-JDS6600), is not very clear and it seems that not all options which are available via manual control, are possible via the remote control. I've also found out the the sgnal generator was available from another company, called Hangzou Junce Instruments.

Getting started

Prerequisites

This python package is only supporting Python 3. The only external dependency is pyserial.

Installation

The package can be installed with pip.

pip install jds6600
pip install jds6600[test]

Quick start

Open and close a connection

Remark: Your USB port may be different.

>>> import jds6600
>>> fg = jds6600.JDS6600(port="/dev/ttyUSB3")
>>> fg.connect()
<jds6600.core.JDS6600 object at 0x7f04a951ac50>
>>> print(fg.get_channels())
(False, False)
>>> fg.close()

Or using the with statement

>>> import jds6600
>>> with jds6600.JDS6600(port="/dev/ttyUSB3") as fg:
...     print(fg.get_channels())
... 
(False, False)

Available methods:

>>> fg.get_channels()
(False, False)
>>> fg.set_channels(channel1=True, channel2=True)
'ok'
>>> fg.get_waveform(channel=1)
'sine'
>>> fg.set_waveform(channel=1, value='triangle')
'ok'
>>> fg.get_frequency(channel=1)
0.0
>>> fg.set_frequency(channel=1, value=1e3)
'ok'
>>> fg.get_amplitude(channel=2)
5.0
>>> fg.set_amplitude(channel=1, value=1.23)
'ok'
>>> fg.get_offset(channel=1)
0.0
>>> fg.set_offset(channel=1, value=0.5)
'ok'
>>> fg.get_dutycycle(channel=1)
50.0
>>> fg.set_dutycycle(channel=1, value=20.1)
'ok'

Contributing

If you want to contribute to this project, you're mostly welcome! Just keep a few thing in mind, and it will go smooth.

  1. Fork the project
  2. Create a branch (git checkout -b myfeature)
  3. Check your code using flake8 and mypy
  4. Commit your changes (git commit -m "added a nice feature")
  5. Push your branch to github (git push origin myfeature)
  6. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Metadata

Release files for jds6600 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jds6600 1.1.1
File Size Uploaded
jds6600-1.1.1.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jds6600 1.1.1
File Interpreter ABI Platform
jds6600-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / jds6600-1.1.1.tar.gz

Download URL jds6600-1.1.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2330138af9f7c03894a32cd7cc7bf2c4be9aa25d1be63a28b1073630ef520fab
BLAKE2b-256 checksum
How to use checksums
13e0efea1fa5cc8a67767d605b6d2366f0460d5bebe03e7f61be857a86ee3cbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / jds6600-1.1.1-py3-none-any.whl

Download URL jds6600-1.1.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b50b88cbcb37bb283691004873b355436095f2324099b86424e6c02ef2cc91d
BLAKE2b-256 checksum
How to use checksums
63d491b360a16d40589d206ce6c0220523f49788a65aac57021cc4707619ae43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page