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.2.tar.gz.

File metadata

File hashes

Hashes for aa_opto_electronic_mpdsncxx_interface-1.0.2.tar.gz
Algorithm Hash digest
SHA256 ff25ad9f006013078bfe657922e41ee1560a8f623aa6148e99783af20829808d
MD5 b71fc571721bc2b4d52213d293a509c0
BLAKE2b-256 fb29712c23a52834a12d2b135fcf5dfa6337d46d38713d0a923686b8b1581d53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aa_opto_electronic_mpdsncxx_interface-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 826d4520f2730d7a6852eb00932c6b4c6629af997272c03a184ae01b4acc86f5
MD5 ef1c4263a97c1843012a824b926ae91c
BLAKE2b-256 39d0bfa8360184c7ab7bab080ab15dd71fedb93120b4c8447512a0c15847f9ef

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