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.

LoggerNet 4.0 Schedule


Spol Feb 18, 2010 12:20 PM

Hi,
I would like to call my two CR800 datalogger via GSM three times per day and precisely at : 08, 12, 16.
Is there a way to setup such schedule. I looked in the schedule tab but if I set a Collection Interval of 4 hours then the remote stations get called during the night too.
I do want to call my stations only during day time.

Thanks in advance
Paolo Saudin


jtrauntvein Feb 19, 2010 03:37 PM

The LoggerNet polling schedule does not currently support this type of polling. One way of achieving this would be to use the windows task scheduler to invoke a batch file that will poll the datalogger. This can be done by using a console based program, called cora_cmd (CoraScript), which can be found in the directory where LoggerNet's programs are installed (c:\program files\campbellsci\loggernet). cora_cmd reads commands from the standard input device and can be invoked from a batch file. You can place the commands in one file (let's name it poll800.cora) such as the following:

connect localhost;
manual-poll cr800;
exit;

and then invoke cora_cmd as follows:

"c:\program files\campbellsci\loggernet\cora_cmd" <poll800.cora

If you had multiple stations that you wanted to poll at the same time, you could place all of these in the same command file.


Spol Feb 20, 2010 08:03 AM

Thank you very much,
it works like a charm

Paolo Saudin


ChipsNSalsa Feb 22, 2010 10:19 PM

You could also define the four hour scheduled data collection in LoggerNet that you described and use CoraScript in the way jtrauntvein describes to disable scheduled data collection

connect localhost;
set-lgrnet-setting 1 0;
exit;

for the evening and then enable scheduled data collection again

connect localhost;
set-lgrnet-setting 1 1;
exit;

in the morning. You can use the Windows Task Scheduler as jtrauntvein describes or alternatively the Task Master that comes with LoggerNet to launch the batch files.

* Last updated by: ChipsNSalsa on 2/22/2010 @ 3:22 PM *


Spol Feb 23, 2010 07:25 PM

This is really cool indeed !
In that way I can take avantage of the LoggerNet Schedule settings such as retries on failing calls

Thank you both,
Paolo Saudin

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