Examples
Working examples for common Synnax client use cases.
One of the best ways to learn how to use the Synnax client is to look over and run examples. This page contains a list of links to examples that demonstrate how to perform various tasks.
Getting Started
| Basic Read and Write | Demonstrates a basic read and write of channel data. |
| Create Channels | Shows how to create large numbers of channels simultaneously. |
| Create Range | Creates a range and reads data from it. |
| Read Latest | Demonstrates how to read the latest N samples from a channel. |
| Series and Frames | Demonstrates how to work with series and frames. |
Streaming Data
| Stream Read | Shows how to live stream sensor data from a set of channels. |
| Stream Write | Shows how to stream simulated sensor data to a set of channels. |
| Async Stream Read | Shows how to live stream sensor data asynchronously. |
Data Processing & Export
| Calculated Channels | Shows how to create and write to channels calculated from other channels. |
| Advanced Calculated Channels/ | Demonstrates calculated channels based on channels with different indexes. |
| Plot | Demonstrates how to plot data retrieved from a Synnax cluster. |
| Export to CSV | Demonstrates how to export data to a CSV file. |
Control Sequences
| Control/ | Sets up a simulated DAQ and controls it with a control sequence. |
| Embedded Sequence/ | Retrieve and start embedded control sequences. |
| Simulation | Creates a simulated DAQ that writes large amounts of data to channels. |
Hardware Driver
| Arduino/ | Read and write driver examples. |
| LabJack/ | Device connection, read/write tasks. |
| Modbus/ | Server connection, read/write tasks. |
| National Instruments/ | Analog/digital read/write tasks, counter read tasks. |
| OPC UA/ | Server connection, read/write tasks. |
| Task Management | Task management walkthrough. |
Getting Started
| Basic Read and Write | Demonstrates a basic read and write of channel data. |
| Create Channels | Shows how to create large numbers of channels simultaneously. |
| Create Range | Creates a range and reads data from it. |
| Read Latest | Demonstrates how to read the latest N samples from a channel. |
| Series and Frames | Demonstrates how to work with series and frames. |
Streaming Data
| Stream Read | Shows how to live stream sensor data from a set of channels. |
| Stream Write | Shows how to stream simulated sensor data to a set of channels. |