Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to manually set signal properties

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?

0 Kudos
Message 1 of 2
(2,705 Views)

I'm not sure why anyone would deliberately want to use Dynamic Data.Smiley Surprised

 

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.

 

Message Edited by Dennis Knutson on 09-24-2008 02:23 PM
0 Kudos
Message 2 of 2
(2,702 Views)