三岁就很帅 发表于 2009-2-6 13:06:14

Convert Waveform to 2D Array

下载
http://decibel.ni.com/content/servlet/JiveServlet/download/3282-3-4039/Waveform%20to%202D%20Array.zip
新版。

http://decibel.ni.com/content/servlet/JiveServlet/download/3282-3-4040/Waveform%20to%202D%20Array%208.2.zip

三岁就很帅 发表于 2009-2-6 13:06:32

The Waveform to 2D Array polymorphic VI will convert any single waveform or 1D array of waveforms to a 2D array of doubles.
http://decibel.ni.com/content/servlet/JiveServlet/downloadImage/102-3282-3-2623/Waveform+to+2D+Array.jpg

The above figure shows a case where this could be used, converting the waveform data being generated by your code into a 2D array for the Write To Spreadsheet File VI.

If instead of a single waveform you have a 1D array of waveforms the Waveform to 2D Array polymorphic VI will adjust the instance to convert the 1D array of waveforms to a single 2D Array of doubles. The resulting array will only have time information in the first column, indexed according to the timing of the first waveform. This instance could easily be modified to provide a different method for this conversion, such as having individual time columns for each waveform/channel

三岁就很帅 发表于 2009-2-6 13:06:39

http://decibel.ni.com/content/docs/DOC-3282
页: [1]
查看完整版本: Convert Waveform to 2D Array