• ISA provides technical resources and standards to help industrial automation professionals advance their careers and the field. We enable automation professionals worldwide to solve problems and enhance their skills by bringing people together to create new technologies and share best practices with future automation professionals.
    • Industry Insights

  • We attract over 140,000 unique automation professionals monthly, making us the premier online content provider and the only dedicated electronic magazine in the automation industry.

    Monthly Magazine

    • More things to read

    Back
    Back
  • M logo for Automation.com Monthly. Link to current issue.

Dataforth announces Python API for MAQ20 data acquisition and control system

By: Dataforth Corporation
09 August, 2017
1 min read
Dataforth announces Python API for MAQ20 data acquisition and control system
Dataforth announces Python API for MAQ20 data acquisition and control system
The MAQ20 data acquisition and control system uses a Python API; this employs an object-oriented approach for communicating with MAQ20 systems, thereby providing an interface where the low-level Modbus commands are hidden from normal use.

August 9, 2017 - An Application Programming Interface, or API, is a set of clearly defined methods of communication between various software components. An effective API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the developer. As an API abstracts underlying implementation and exposes only those objects or actions the developer needs, it can significantly simplify programming.

The MAQ20 data acquisition and control system uses a Python API; this employs an object-oriented approach for communicating with MAQ20 systems, thereby providing an interface where the low-level Modbus commands are hidden from normal use. As a result, users can focus on solving the measurement problems at hand and designing host software to best meet application needs.

MAQ20 Python API features include:

  • System Communication:T o MAQ20 systems from a host PC over Ethernet.
  • Configuration: Auto-read and local storage of system configuration for faster operation.
  • I/O Module Interface: Simple read data and write data functions are used for intuitive and efficient application building.
  • Utilities Module: Includes commonly used support functions.
  • Error Messaging: Useful for code development and troubleshooting.
  • Examples: Sample code outlines basic operations and GUI development.

Additional functions interface to advanced I/O module features.

Two common approaches in using the Python API in projects are:

  1. Installing along the Python interpreter, which makes the API available for all projects.
  2. Copying into the project folder, which makes the API available for only that project.

The Python API is designed in a layered structure. Before using the MAQ20 Python API, users will want to be acquainted with both basic Python programming and the concept of objects.

Advertisement

Trending Articles

Advertisement

Related Articles

View all Articles and News
Advertisement
Advertisement