Controlling instruments via LibTiePie can be done using C. The examples can be built using GNU make and a GNU C compiler or using Qt Creator.
Contents
It is recommended to use the libtiepie-hw SDK for new developments.
Downloads
C and C++ headers are included in the LibTiePie library downloads.
Building the examples
To build and run the examples, the appropriate LibTiePie library for the used platform (Windows or Linux) needs to be installed.
GNU Make
Windows
The libtiepie.dll file and the libtiepie.h header file supplied with the library need to be placed in a location where the compiler can find them, e.g. in the folder with the example files.
To build the examples, execute mingw32-make in the folder with the examples.
Linux
To build the examples, execute make in the folder with the examples.
Qt Creator
Windows
Qt on Windows only supports building 32 bit applications with LibTiePie using a MinGW compiler, so the 32 bit version of the LibTiePie DLL must be used.
The libtiepie.dll file and the libtiepie.h header file supplied with the library need to be placed in a location where the compiler can find them, e.g. in the folder with the example files.
To build the examples, open and build the project file LibTiePie_C_examples.pro in the main folder of the examples.
Linux
To build the examples, open and build the project file LibTiePie_C_examples.pro in the main folder of the examples.
Examples
List of available example programs: