wuchi Posted August 8, 2006 Share Posted August 8, 2006 Hi! Is there a way to select a day from a log file for or even select hour from example 8:00AM to 14:00PM.... Wuchi Link to comment Share on other sites More sharing options...
AzeoTech Posted August 8, 2006 Share Posted August 8, 2006 Not directly using a log file. It would be difficult for DAQFactory to do because there are so many options for how data can be stored. Fortunately there is an easy alternative. Starting with 5.30 (which you can upgrade at www.daqexpress.com) there is something called channel persistance. This is basically a binary file, one for each channel, that extends the history onto the harddrive. You can make these as big as your harddrive can handle (16 bytes per data point). Then you simply subset to retrieve the data. So, if you wanted the mean of MyChannel between 8am and 2pm you'd do: Mean(MyChannel[8h,14h]) I recommend reading up on subsetting in the help to see all the ways to subset, both by data point and by time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.