I have an interesting problem regarding trying to graph dynamic data
with a time stamp. The data are coming from an array of dynamic
data that are converted to one array of waveform data and split into
two (or more) arrays for different types of post processing. I
use different subVI's for the post processing.
I originally wrote two subVI's, (one very simple and one a little more
complex) but the waveform data passed into these sub-VIs would lose the
time stamp. I made the sub-VI's operate on array inputs and
outputs, but I could not find an obvious way to maintain the time stamp
or to coerce the sub-VI arrays to accept waveform data. In both
subVI's, the data were double precision upon operation.
Now, I have solved the problem with the simpler subVI (posted below) by
remaking it using NI's "Create SubVI" option under the edit menu.
I cannot do this with the more complicated VI (I don't understand why),
so I have tried to mimick the change that occured between NI's subVI
creation and my own, which is the array that data are passed into in
the subVI accepts waveform data. When I create an array on the
front panel of the more complicated subVI, I can't figure out how to
enable the array for waveform data. I have tried building,
getting, setting, etc. an analog waveform and feeding it to the start
array, but thus far, no dice. I have posted both the simple subVI
(mine and NI's) and the more complicated subVI to inspire ideas.
I know this is probably easier than I've convinced myself, so thank you in advance for any help.
Brad