11-07-2007 04:01 PM
11-08-2007 04:27 PM
Hi Ken,
I would recommend taking the average of a number of samples at the end of your 5 minute periods. Since thermocouples are low voltage measurements, it would be better to take an average to ensure that any noise is uniform. Since you already get samples within an acceptable range, you know you already don't have much noise and averaging would help. You never know, but you don't want that one sample to be the one that is way off. Taking say 10 samples at 1kHz during the last second of the 5 minute period would give you a pretty good single point average.
03-03-2008 01:36 PM
03-04-2008 06:38 PM
Hi Ludwig,
I’m assuming you are doing a continuous acquisition and have a DAQmx read and write to spreadsheet file inside a while loop. A possible cause of it only having the last read in the spreadsheet file is if you have not wired a true constant to the “append to file?” input on the write to spreadsheet file vi. The default value for this input is false which means each time you call write to spreadsheet it overwrites any existing files of the same name. Also since you are reading multiple samples you may want to turn on the transpose input also. This will make it so that each sample is on its own row in the spreadsheet. You can turn this on by wiring a true constant to the “transpose?” input of the write to spreadsheet file vi. If these suggestions don’t help can you post a screenshot of your block diagram? This will let me get a better understanding of your program. Let me know if you have any questions.
Thanks,