Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Clearing/refreshing Loggernet cache


JanE Apr 24, 2012 12:55 PM

Hello,

Loggernet has collected data from a logger that had the year set wrongly. I have corrected the year in the datafile but now would like the correct the cache so i get the right graphs in RTMC.

Is there a way to clear the Loggernet cache for a specific datalogger and filling the cache again with data from a datafile i have stored on disk?

I'm using Loggernet 3.4.1.16 and RTMC Pro 3.2.0.94.

Regards,
Jan


ChipsNSalsa Apr 25, 2012 04:23 PM

You can clear the cache for a particular datalogger by updating its table definitions in LoggerNet, but you can't import data into the cache from a data file or edit the cache with any tools I know of. To clear the cache choose "Reset" instead of "Merge" when you update table definitions for the datalogger.

If you happen to be using RTMC Pro instead of regular RTMC, you have the option of using data files for data sources. I suggest using data file sources with all time series components like charts and tables because they can be edited if needed. Use LoggerNet server sources for single-point-in-time components like dials and status bars.


GTProdMgr Apr 25, 2012 09:03 PM

If you want to use Corascript you can re-populate the cache. This would be something I would call a "very advanced" technique, so be careful and use TableMon2.exe to see your results as you go.

The cache cannot be re-populated from a data file. It can be populated from the data still stored on the datalogger.
Use the "logger-query" command with the "--use-same-table=1"
option. No file is written, although one needs to be specified.

Populate "cache only" by date:
logger-query DLName TableName c:\dummy.txt date-range "01-19-2010 16:30" "01-19-2010 16:32" --format=TOA5 3 --use-same-table=1;

Populate "cache only" by record numbers:
logger-query DLName TableName c:\dummy.txt record-range 176300 176400 --format=TOA5 3 --use-same-table=1;


ChipsNSalsa Apr 26, 2012 04:23 PM

But apparently the datalogger has the wrong date on the stored data so I don't see how selectively repopulating the cache with data stored in the datalogger will help. I just noticed in the original post that JanE is using RTMC Pro so using the corrected data file as a data source in the RTMC Pro project is the way to go.

Log in or register to post/reply in the forum.