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.

logger-specific time zone settings in LoggerNet 4


kirving Sep 22, 2011 08:21 PM

We operate most of our loggers set to local standard time, but would like to have the option of using UTC for some. However, I see nothing in the cora-script commands or devices to do this. The timeZoneDiff setting seems to be global:


4.16. timeZoneDiff (20)

This setting applies to all dataloggers as well as the RF95T base. It specifies the amount of difference between the server time and datalogger time that should exist. This difference is generally due to differences in local time zones.

format := int4.

Is it possible to specify a different offset for a given logger, and still have LoggerNet check and set the time?

Thanks.


jtrauntvein Sep 22, 2011 09:17 PM

The timeZoneDiff setting is a device setting and not a global setting. It does precisely what you describe.


kirving Sep 22, 2011 09:35 PM

Thanks. I misread the docs to say that the setting would be applied to all dataloggers, but can see that it means that the setting *can* be applied to those devices.

The docs are a bit lean, though maybe I can find more in the LoggerNet-for-Windows help file?

My guess is that the value is in seconds, so if our server is UTC minus 9 hours would we set it to 32400 in order to maintain the datalogger on UTC? Thanks!


jtrauntvein Sep 22, 2011 11:28 PM

You are right that there appears to be a paucity of documentation. I will amend that in the next version.

The value is expected to be in milliseconds. I realise that probably makes no sense given that most time zone adjustments are in units of minutes. However, every other setting that specifies intervals has used milliseconds so this was made the same in order to appease the false god of consistency.

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