Snakey API Provides Intuitive Interface

An effective Application Programming Interface (API) is said to make 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.

 

Dataforth’s MAQ20 data acquisition and control system uses a Python API, which employs an object-oriented approach for communicating with MAQ20 systems and thereby providing an intuitive 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.

Sponsored by Infosys

Infosys positioned as a Leader in Gartner Magic Quadrant for IT Services for Communications Service Providers, Worldwide 2020

The Gartner Magic Quadrant evaluated 12 vendors and Infosys was recognized for its completeness of vision and ability to execute.
Infosys leverages its global partner ecosystem, CSP-dedicated studio, design tools, and 5G Living Labs to boost service delivery. Innovative solutions such as the ‘Infosys Cortex2’ are driving business value for CSPs.

 

MAQ20 Python API features include:

  • System Communication: To 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. Additional functions interface to advanced I/O module features.
  • Utilities Module: Includes commonly used support functions.
  • Error Messaging: Useful for code development and troubleshooting.
  • Examples: Sample code outlines basic operations and GUI development.

 

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

  • Installing along the Python interpreter, which makes the API available for all projects.
  • 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. A wadsworth of information and downloads are available online for the MAQ20 Python API. For live information in the USA, call 800-444-7644.

Suggested Articles

The rush to test ventilators was “like sprinting down a pier while also building the pier”

Xilinx stock gained 7% on news of the $35 billion deal while AMD dropped nearly 5%.

The transaction has already been approved by both boards and will close in late 2021.