09-24-2008 01:53 PM
Hello,
We currently are using 3rd party DAQ hardware. Data is captured as a 2D array of numbers and I am using the "Convert to Dynamic Data" block to convert the data to signals. How can I set the properties for each channel, such as name, dt, start time, etc?
09-24-2008 03:22 PM - edited 09-24-2008 03:23 PM
I'm not sure why anyone would deliberately want to use Dynamic Data.
The thing you have to do is first convert to waveform data. There is the Build Waveform on the Waveform palette and you use the dt, t0, and Y array inputs. You convert your 2D DBL array to a 1D waveform array. A simple while loop will work.
To add channel names, you use the Set Waveform Attribute function. See the code below. After you have done this, you can convert to dynamic data.