07-12-2006 12:54 PM
07-13-2006 04:31 PM
Hello Stephanie,
This question is addressed in this knowledgebase article. The only thing I would add is to be sure to save your modified subVIs under a new name and location so that you do not permantly replace the ones that are installed with LabVIEW. If you permantly replace subVIs, you never know what other VIs you may be affecting!
Let us know if you have additional questions.
Regards,
Laura
07-14-2006 11:30 AM
07-17-2006 05:02 PM
Hi Stephanie,
I have tested the 'Write Waveform to Spreadsheet' function using a simple waveform that I built with a 'Build Waveform' function. I built the waveform with an array of 4 data points, a timestamp for the initial time and a dt of 0.001 seconds. I also made the modification to include 4 decimal places. This produced the following entries in my file:
t0 7/17/2006 15:37:16.5140
delta t 0.001000
time Y
7/17/2006 15:37:16.5140 1.000000
7/17/2006 15:37:16.5150 2.000000
7/17/2006 15:37:16.5160 3.000000
7/17/2006 15:37:16.5170 4.000000
This shows the time incrementing correctly. This leads me to believe that the issue is not in writing to the file, but in the waveform time data itself. You can test this theory by trying the method described above to see if you get the correct time values. Alternatively you can also look at your waveform time data that is being passed in. This can be done by wiring the waveform to the 'WDT Get Waveform Time Array' and 'To Timestamp' functions and displaying the output.
Hope these suggestions help to diagnose the issue. Please let us know if there is anything further we can do to help.
Regards,
Jennifer O.