ekanderson Posted January 12, 2009 Share Posted January 12, 2009 I am collecting channel data at 6 minute HISTORY intervals. Channel timing ranges from 10 sec with Average so history is at 6 minute interval. I am logging and exporting at 6 minute, 1 hour, and 24 hour intervals. Is there a QUICK or Easy way to. At DFexpress loading of the *.ctl file Check time of last data collection, i.e, basetime=channelx.Time Based on that value AND current system time Fill ALL channel's histories with nAn values upto the current time mod 360. i.e., from channelx.time to current time at 360 sec increments Some of the hourly files do mean, max, min. The 24 hour file dumps a days worth of data. The only way I can think of doing it is do a loop FOR EACH channel, channelx.addvalue(????) nAn Then do channelx.TIME =channelx.TIME +360 and loop til completed Which leads to question, will nAn, be correctly recognized by mean, max, min???? Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.