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.

Help with interaction between TableFile and GetDataRecord


JLaps May 1, 2013 07:16 PM

Let me begin by describing my general setup. My logger network has one central CR1000 equipped with a RF401 radio and a RavenXTV modem. There are multiple other nodes within this network, other CR1000s equipped with RF401 radios, from which this central CR1000 logger collects data via the GetDataRecord command. The data collected from these remote loggers is then converted into data files using the TableFile instruction and these files are sent to an ftp server. All loggers are using OS 25.


Now let me describe my issue.

I have found that when using the GetDataRecord instruction, TableFile does not seem to work with the time into interval option. I don't know if this has to do with the fact that the GetDataRecord is in a SlowSequence with a different interval from my main scan, or if there is just an overall incompatability. Either way, it is undesirable to move the GetDataRecord command into the main scan.

However, TableFile does work with GetDataRecord when the number of records option is being used. For tables arriving from remote loggers that are consistent (e.g. the table is logged every minute), this is not an issue. However I have some tables that are only loggeed intermittently, such as tip data from rain gauges, that are problematic to produce using number of records. Set the number too low, and you end up with several files every time there is a large rain event. Set the number too high, and you end up waiting for weeks for your data if there is not enough rain to fill up to the required number of records.

We have tried making the Number of Records parameter a variable in the TableFile command, essentially tracking the number of tips. However this does not work, as it seems any time you change the Number of Records parameter in the TableFile command it resets the number of records that the command recognizes as having been stored.

I was wondering if anyone else has dealt with this problem, and if so, if they have a good workaround for it.

Thanks in advance for any assistance and feel free to ask for more details if any of the above is unclear.

Thanks,

John


ryan42 Mar 5, 2014 09:02 AM

HI,

I am also having this issue, I tried interval driven but found it didn't work so had to use record driven. Is there any way around this?

Cheers
Ryan

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