Getting Started with OpenZen
Overview
OpenZen allows to access many different sensor models which are connected via different transports layers with one unified programming interface. This allows to develop applications which support a wide range of sensors and allows to easily adapt your application to new or additional sensors.
...
USB virtual COM port
Code Block // Windows auto sensorPair = client.obtainSensorByName("WindowsDevice", "//./COM40", 921600); // Linux auto sensorPair = client.obtainSensorByName("LinuxDevice", "devicefile:/dev/ttyUSB0", 921600);
USB Express (on Windows only)
Code Block auto sensorPair = client.obtainSensorByName("SiUsb", "ig1pcan000028", 921600);
Bluetooth
Code Block auto sensorPair = client.obtainSensorByName("Bluetooth", "00:04:3E:53:E9:9F", 115200);
Network streaming
You can find the full list of available IO systems in the section io-systems.
...
“o”: available, “x”: not available
Field name (explanation) | IG1 / IG1P | LPMS3 | NAV3 | BE / ME |
---|---|---|---|---|
g1 | o | x | o | x |
g2 (general-purpose) | o | o | x | o |
Info |
---|
Information above should have already given you a pretty nice illustration of the OpenZen library’s compositions. You can skip reading the following sections if you understand the sample program. |
...