Python package for USB interfacing of the AA Opto-Electronic MPDSnCxx Radio Frequency Driver
Project description
AA-Opto-Electronic-MPDSnCxx-Interface
Python package for USB interfacing of the AA Opto-Electronic MPDSnCxx Radio Frequency Driver (Link). This code was developed as part of my PhD in optical chemical profiling through scattering media, to allow for control of AA Opto-Electronic MPDSnCxx radio frequency driver. We used the driver to control an AA Opto-Electronic Acousto-Optic Tunable Filter (AOTF).
Documentation
Full documentation can be found at https://the-professor510.github.io/AA-Opto-Electronic-MPDSnCxx-Interface/index.html
Installation
To intsall MPDSnCxx_Interface using pip run:
pip install AA-Opto-Electronic-MPDSnCxx-Interface
Usage
To import and initialise use the following code:
import MPDSnCxx_Interface
rf_interface = MPDSnCxx_Interface.MPDSnCxx_Interface(vid, pid, serialNum)
rf_interface.connect_device(baudrate, bytesize, parity, stopbits, xonxoff)
where vid, pid, and serialNum are the vid, pid, and serial numbers of your MPDSnCxx radio frequency driver. For the AA Opto Electronic MPDSnCxx radio frequency driver the following values must selected:
- baudrate = 57600 bauds
- bytesize = 8 bits
- partiy = None
- stopbits = 1 stop bit
- xonxoff = False
At the end of the program it is good practices to close the connection, to do this use:
rf_interface.disconnect_device()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_opto_electronic_mpdsncxx_interface-1.0.1.tar.gz.
File metadata
- Download URL: aa_opto_electronic_mpdsncxx_interface-1.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69500d0ea5ba5cf30490017e724f6750f65099955f33d041cbeaac767de619ed
|
|
| MD5 |
d1dd5d4f5e9bbd09d6616622352ddcbf
|
|
| BLAKE2b-256 |
57ffda8996a30848a9cbe68e7e7f286107ab5f0b69a51fea0eb630170fab0899
|
File details
Details for the file aa_opto_electronic_mpdsncxx_interface-1.0.1-py3-none-any.whl.
File metadata
- Download URL: aa_opto_electronic_mpdsncxx_interface-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
959ccf22c0d528daaa5d0397554c4b6de1599d3dc1f3e3974bc8637001db2f1b
|
|
| MD5 |
b086a64dc5537e8e5180c22e250436a5
|
|
| BLAKE2b-256 |
c5d3d8cd8c32e84566a7477275ff1a485e3b47fed95381a31876e3e12f00a22b
|