07-24-2008 04:05 PM
07-24-2008 05:04 PM
07-24-2008 05:59 PM
I think you need to use the set waveform attribute.vi to name the column heading. Look at the example Acquire waveforms(simulated).vi.
Hope this helps.
07-25-2008 09:01 AM
07-25-2008 09:14 AM
Your problem is that the Write to Measurement file is designed to work with dynamic data generated by something like the DAQ Assistant. You have DBL arrays that you convert to dynamic data but the DBL array has no information that can be used for column names or for timing. The Write to Measurement File is probably not suited to this use. Since you have no timing information, you can simply use the Write to Spreadsheet File function. You can use it twice - once in string mode to write the headers and in DBL mode to write the data. Or, use Write Text File for the headers and Write to Spreadsheet for the data.
Converting the DBL array to a waveform and then using the waveform attribute will work but I find it a bit tedious. You can post the code you've written so that someone can see what is wrong but I think the procedure above is simpler.
07-25-2008 11:34 AM