It turns out that there is a waveform menu:
The Y output is the desired floating point array. However, if the time information for the waveform is desirable, you must expand this element at the top in an upward direction. This is done by hovering over the top edge until the cursor indicates you can drag to expand. When this is done, you can expand two elements above the Y as shown below:
Now the initial time and the delta time per point are available. The waveform type contains evenly spaced data points, so a single dt point is all that is available.
At a minimum, using the Y terminal provides an indexable array. To produce X-Y plots, you can run the Y array in autoindexing fashion, through a for loop. Use the index terminal inside the for loop and multiply its value by dt for each iteration. This can be wired to an autoindexing output to generate an array of X values corresponding to Y values:
No comments:
Post a Comment