Jet module is an integration of Jet protocol with openDAQ SDK. It publishes device structure as Jet states.
-
Fetch JetModule into your project and link it to your device's executable.
-
Include
<jet_server.h>
header in your source file. -
After a device has been instantiated, create
JetServer
object:jet_module::JetServer jetServer = jet_module::JetServer(opendaqInstance);
-
Call
JetServer::publishJetStates()
to publish device structure as Jet states:jetServer.publishJetStates();
Jet states are updated automatically if some property value is changed.
COMPILE_REFERENCE_APPLICATION
- Compiles reference application when ON.
JET_MODULE_ENABLE_TESTS
- Compiles tests if enabled.
IGNORE_INSTALLED_SDK
- Ignores loccally installed SDK and fetches it if enabled.
mkdir build
cd build
cmake ../
cmake --build .
- Add Support for all property types.
- Exception handling and error logging has to be reworked from ground-up.