Using this library you can connect to a Voyager and use it as a DAQ (Data Acquisition) device.
- CMake - CMake is a cross-platform, open-source build system generator.
- IXWebsocket - Websocket library used to transport data as messages.
- zeroconf - mDNS library for automatic discovery of devices.
- Protobuf - Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
- Qt Framework (optional) - Used by optional debugger GUI and provides extra functionality.
- Linux
- Windows, Visual Studio 2019
There are also precompiled version of this library available through NuGet or via releases.
Make sure you have Visual Studio 2019 installed. Next, run the configure.bat script.
The script will download any missing dependencies and generate a Visual Studio Solution (SLN).
You can find in the SLN folder relative to the root of this project. You can include the generated solution in your own project.
Make sure you have the required packages installed, preferably using your distro's package manager.
On Debian (or Debian based distro's like Ubuntu or Linux Mint) you can run this command to install all needed dependencies.
sudo apt -y install build-essential cmake libprotoc-dev doxygen graphviz git protobuf-compiler
Open a terminal and navigate to the root of this project and run the following commands.
mkdir Build
cmake ..
make -j4
sudo make install
Optionaly you can also build the debugger. The debugger can be used to check the basic functionality of the DAQ driver.
To build the debugger you need Qt. You can download Qt for free.
Open the CMakeList.txt file using Qt Creator.
Select a kit and go to the Projects tab, and change the 'BUILD_DEBUGGER' option from OFF to ON.
If you've configured your environment properly, it should now be possible to compile and run the project.