Software communication & interfaces
|
Page 3
2
Software communication & interfaces
You can integrate your attocube Device into complex automated processes via individual
software interfaces. Attocube provides APIs for the programming languages C, C#, LabVIEW,
Python & Matlab as well as short programming examples to get you started.
The following sections provide information on methods, commands and parameters to be used
for calling up device functions with the respective language.
2.1
Introduction
The Device provides a set of software communication interfaces offering a broad set of
functions and options. These can be used to configure the Device as well as to read out data. In
particular, these are:
•
Web interface (please also refer to the User Manual)
•
JSON-RPC
•
C DLL
•
C# DLL
•
LabVIEW VIs
•
Matlab library
•
Python Library
Most of the different functions are accessible within every interface. This is why we sort by
functions not by interfaces. For every function, we show how the implementation in the
particular interface is done. Anyway first we give a short explanation of the different interfaces:
NOTE
Part of the conventions mentioned below are specific for the handling of attocube devices
and are not necessarily applicable in other contexts.
2.1.1
Web Interface
The Device runs a built-in webserver. This means that a web interface can be accessed via a
common web browser. A how to set up the IP and a first connection is given in the User
Manual. The web interface is the most straightforward way to communicate with the Device
and almost the full functionality is implemented.
2.1.2
JSON-RPC
The device allows platform-independent communication using JSON-RPC via TCP/IP and
websocket. The JSON commands are the lower level that all other wrappers (e.g. Python or C)
use.
2.1.3
C/C# DLLs
Based on the JSON interface, C/C# libraries are available to implement the functions within
C/C#-based coding environments.
Summary of Contents for attocube AMC100
Page 1: ...Interface Manual AMC100 AMC300...
Page 3: ......