The BitScope Programming Library allows anyone to program USB or Network BitScopes with ease.
Version 2.0 of this library is now in beta release for several platforms including Linux and Raspberry Pi.
Alpha releases are also available for Windows and Mac OS X. The latter is available as a framework.
Version 2.0 supersedes production releases up to and including V1.5. It is recommended for new projects.
The API has changed in some small ways but migrating to the new library should not be difficult in most cases.
To make the process as easy as possible the library package comes with detailed programming examples written in C/C++, Python and Pascal.
Any application built with the library can be used with any of 22 supported BitScope models using one simple fully documented programming API. There is no need to handle any virtual machine API differences between BitScope models in your own code because the library has built-in knowledge of them all, including models released in future.
The library also has built-in support for serial, USB and network I/O. It allows both local connection to serial and USB BitScopes and remote networked connection like our Raspberry Pi Connected BitScope. It works like BitScope DSO or any of the other BitScope Apps. There is no need for specialist knowledge about serial, USB or network programming.
The library even supports network access to USB BitScopes via Raspberry Pi.
In addition to the code examples included with the library itself we are publishing full function graphical apps that show how to make use of the wide range of test, measurement and data acquisition features of BitScope.
The first library app is Proto Scope pictured above. Proto Scope is cross platform digital oscilloscope which demonstrates the key features of the library for working with analog waveforms and signals.
We will also be releasing examples which demonstrate logic and spectrum analysis, data recording and waveform generation.
All applications come with source and each one includes a built-in diagnostics panel to show the internal operation of the library.
This is designed to help jumpstart your own software development providing live examples of working code with detailed diagnostics which you can modify if required.
The programming API for BitScope Library Version 2.0 is available here and the library itself may be downloaded for all platforms. Just be sure to choose the Development Release for your platform. The Proto Scope application and source will be published soon (after we've ironed out a few remaining bugs) and we welcome your feedback as to what application you'd like to see next.
Feel free to contact us any time with questions.