Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Package for working with ACS motion controllers.

Project Description

A Python package for working with ACS motion controllers.

Installation

Execute

pip install acspy

Usage

### Using the acsc module

The acsc module is designed to mimic the syntax of the ACS C library that it wraps.

`python >>> from acspy import acsc >>> hcomm = acsc.openCommDirect() >>> acsc.enable(hcomm, 0) >>> acsc.getMotorState(hcomm, 0) {'moving': False, 'enabled': True, 'in position': True, 'accelerating': False} >>> acsc.closeComm(hcomm) `

### Using the Controller object

The control module provides an object-oriented interface to the controller, making code development more intuitive. An example of its use:

`python >>> from acspy.control import Controller >>> controller = Controller(contype="simulator", n_axes=4) >>> controller.connect() >>> axis0 = controller.axes[0] >>> axis0.enable() >>> axis0.enabled True >>> axis0.ptp(500.5) >>> axis0.rpos 500.5 >>> axis0.disable() >>> controller.disconnect() `

Release History

Release History

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ACSpy-0.0.4.zip (11.4 kB) Copy SHA256 Checksum SHA256 Source Feb 20, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting