Skip to main content

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


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file aa_opto_electronic_mpdsncxx_interface-1.0.0.tar.gz.

File metadata

File hashes

Hashes for aa_opto_electronic_mpdsncxx_interface-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5666b9491afe2581b65e5d8abeda5338efc918997386a1b7f90dff69843503aa
MD5 f3e6d3f9090a3b5cb67113d051efc8c8
BLAKE2b-256 dd8036baa56e29d0dae76729dbd83b667df4a78d0203f70c89309cfd69545db2

See more details on using hashes here.

File details

Details for the file aa_opto_electronic_mpdsncxx_interface-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aa_opto_electronic_mpdsncxx_interface-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38bfbfb1e64ecd5686ba049a6f86e821ce85a35fc12c5ef624aa87f392269ec7
MD5 56edcaed37bb9789f4ed95601cbb9b0c
BLAKE2b-256 755a0ccb1c0f8d9c51abeb4aa3ff7d6c998046a8ae9d234e4560928ccec7b928

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page