Python Examples

View examples for using the Synnax Python client.

One of the best ways to learn how to use the Synnax Python client is to look over and run examples. This page contains a list of links to examples that demonstrate how to perform various tasks.

Examples

NameDescription
Basic Read and WriteDemonstrates a basic read and write of channel data.
Stream WriteShows how to stream simulated sensor data to a set of channels.
Live StreamShows how to live stream sensor data from a set of channels. Use this in conjunction with the stream_write.py example.
Async Live StreamShows how to live stream sensor data from a set of channels in an asynchronous fashion. Use this in conjunction with the stream_write.py example.
Calculated ChannelsShows how to create and write to channels that are calculated from other channels.
Create RangeCreates a range and reads data from it.
LoadCreates a simulated data acquisition computer that writes a large amount of data to a set of channels.
Create Many ChannelsShows how to create large numbers of channels in a cluster.
ControlSets up a simulated data acquistion computer and then controls a simulated system with a control sequence.