Topas4 API Documentation
Welcome to the Topas4 API Documentation. Here you will find all the resources required to get started with the Topas4 API, including download links, examples, and a comprehensive guide to the API's functionality.
Downloads & Resources
- SDK Download: Click here to download SDK as zip file. This package includes examples, .NET library, and offline documentation.
- NuGet Package: Find the NuGet package here.
- Application Installer: Download the WinTopas4 application installer here.
Principal Concepts
Topas4 software system is designed to facilitate seamless device control through a server-client model. Below are the key concepts:
- Continuous Server Operation: The Topas4 Server application must be running at all times to access the device.
- Client Application Flexibility: Multiple client applications can control the device simultaneously using the REST API.
- Versatile Setup: Server and client applications can run on the same or different PCs, irrespective of the operating system.
- REST API Control: The device is exclusively controlled via REST API using JSON for data serialization.
- Non-blocking Operations: All actions are non-blocking; use additional API calls to track completion.
- Direct API Interaction: There's no concept of connecting/disconnecting from a device/session.
- Authorized Access: System state changes require an authorized IP address for safety.
- Server Location: Topas4 Server's location uses UDP multicast; SDK and Python examples available for locating the server.
.NET SDK
The .NET library is a thin wrapper over the REST API, simplifying and expediting the development process. For languages/environments not supporting .NET, the REST API can be used directly without any loss of functionality.
Detailed Description of Sub-Services
Examples
Quick-start examples for various languages/tools are provided:
- C#
- Python
- Visual Basic
- LabVIEW
- Matlab
- Postman Collection
Demo Device: You can use a demo device within the WinTopas4 application for API testing without a physical device.