Windows wrapper for attocube systems AG's ANC350 control DLL
Project description
pyanc350 attocube ANC350 Python library
pyanc350 is a Python wrapper for controlling attocube systems AG's ANC350 piezoelectric control electronics. It contains an implementation of the C++ header for the attocube ANC350 controller (ANC350lib) plus a more Pythonesque reimagining (PyANC350). It suppports DLL versions 2, 3, and 4.
The original implementation by Rob Heath (rob@robheath.me.uk) was updated to support later ANC350 libraries by Brian Schaefer (bts72@cornell.edu). Both of these were updated for Python 3.x and packaged as a proper Python module in December 2018.
Installation
The package is on PyPI. To install via pip:
pip install pyanc350
Alternatively, you can download the repository and use it directly.
Usage
The wrapper needs the attocube-provided DLLs to talk to the ANC350 hardware.
If using v2 of the ANC350 library:
Put anc350v2.dll
, nhconnect.dll
, and libusb0.dll
in the same folder as your program.
If using v3 or v4 of the ANC350 library:
Put anc350v3.dll
or anc350v4.dll
and libusb0.dll
in the same folder as your program.
Import syntax:
If using v2: from pyanc350.v2 import Positioner
If using v3: from pyanc350.v3 import Positioner
If using v4: from pyanc350.v4 import Positioner
If using multiple, the cleanest way is to import the top-level module and use that:
import pyanc350
p2 = pyanc350.v2.Positioner()
p3 = pyanc350.v3.Positioner()
p4 = pyanc350.v4.Positioner()
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
File details
Details for the file pyanc350-0.9.1.tar.gz
.
File metadata
- Download URL: pyanc350-0.9.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb5e643f91bfd2256f1e4822165b5c3a935bc23b89d0dbbf8ba2d5b67d595ac |
|
MD5 | eac890f91c2cbc58902ae905a26a61f2 |
|
BLAKE2b-256 | 4ef509ce8e800d9d2287d622bc210cf400a8432dbc7c0b1574b21ef40abcfe53 |
File details
Details for the file pyanc350-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: pyanc350-0.9.1-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1221402447dbc5565bb02b8bf6a394ce962b3bc3ca10cfd08a81b167c612345 |
|
MD5 | c313c3ad119aff84394a9601a2a29aab |
|
BLAKE2b-256 | d6d36afcbfa1b8e7c05684e540a14958ca5fdeb4d297e6a5280113b7ca1e5f40 |