Toolbit SDK is Software Develepment Kit for measurement and automation system. It is prepared for a multimeter named as Toolbit DMM for now. Please see the following project page: https://hackaday.io/project/10398-luke-open-framework-multimeterlogger
The target platform of SDK is as follows:
- Ubuntu Linux
- macOS
- Windows
- Raspberry Pi
Source code is described by C/C++ but libraries for the following languages have been released by using SWIG:
Install Python toolbit-lib package by pip command.
pip3 install toolbit-libIn case of linux, you might be required to install libudev-dev in advance and then to execute pip with sudo command. Please see here in details.
For example, you can get voltage/current measurement result from a connected device as follows:
from toolbit import Dmm
dmm = Dmm()
dmm.open()
print(str('%03.3f' % dmm.getVoltage()) + " [V]")
print(str('%03.3f' % (1000.0 * dmm.getCurrent())) + " [mA]")Toolbit SDK uses object-oriented programming.
dmminstance is created by usingDmm()constructordmm.open()method opens a target devicedmm.getVotage()anddmm.getCurrent()methods return measurement values
Result will be shown as follows:
0.003 [V]
0.000 [mA]Node.js library for Electron is prepared to build cross-platform desktop apps. It is used by Toolbit DMM GUI application.
Download the latest source from GitHub repository.
The following command/software is required to build library:
- make
- For Windows, MinGW is highly recommended
- Ubuntu linux / Raspberry Pi
- libudev-dev
Library for C++ is built by the following steps:
cd src
makeObject and library files are created in ToolbitSDK/build and ToolbitSDK/lib folders.
If you want to build other language bindings, please refer to the following pages:
- https://github.com/signal11/hidapi
- This repository contains this library as it is
- Please see README.txt and LICENSE.txt in src/HIDAPI
[GPLv2] Please refer to the LICENSE file in this repository