One common example of a cluster is the waveform. You might be familiar with the waveform data type if you have used it to collect data from a signal.
On the diagram, waveform objects and wires appear brown.
A waveform cluster is made up of three data types: a timestamp, an array of numerics, and a numeric constant. You can use these three pieces of data to create a signal that you can plot on a chart or graph.
Item | Details |
---|---|
t0 | Start time—A timestamp associated with the first measurement point in the waveform. |
Y | Waveform data—An array of Y values associated with the waveform data. |
dt | Delta t—The time interval in seconds between any two points in the signal. |
Because this data type is so common, you can access a waveform control from the palette on the panel, and you can access built-in nodes for waveforms from the palette on the diagram.