( ** Go back to PARENTPAGE ../Chapter-Tying-Attributes-to-UNIX-Devices.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

Simulation of oscillating two signals streaming data by tying to UNIX serial devices

In the following example we show how to stream data for two oscillating signals and assign them to two set variables. We intersect the set variables to locate their intersecting points.

ASPL 1> S12 = ggoscillators(fonames,fosc1 fosc2,cycles,1,points,1000)
S12 assigned to the oscillators data that is streamed from Udev

ASPL 2> split S12 into S1 S2
split S12 into S1 and S2 representing the two signals

ASPL 3> ks fx
set ks vector to attribute fx

ASPL 4> f&`ks= S1 S2
display the intersection between both signals

ASPL 5> quit
quit