Introduction to streams
This example shows basic usage of streams and stream processing. Read more on the stream processing and it's capabilities in the QUA docs.
The program consists of a for-loop which populates stream1
with integers between 0 and 99 and stream2
with random integers.
So, if you didn't know QUA has a pseudo-random number generator, now you know.
Once the streams are populated, we can use stream_processing
to shape and manipulate them in useful ways,
as specified in the comments associated with each manipulation. Note how you can perform different
manipulations on the same stream and save the result to different tags ("names").
Feel free to explore the results and see that they make sense to you!