4/30/2024 8:05 AM | |
Joined: 1/21/2013 Last visit: 4/25/2025 Posts: 3775 Rating:
|
Hi aamirawan91, The "Read" method for tag logging expects a "dateFrom" parameter and a "dateTo" parameter. These are "start" and "end" within the code snippet. "dataFrom" should be older than "dateTo" and this is how it works in V19 as I tested it. Maybe there was a bug in V16 and you should make sure you have the latest update installed. Basically, the logging configuration has nothing to do with your script. However, the logging period sets the maximum period for logging, so you cannot export data outside this period. The segment start time defines when the change from one segment to the next should take place. Of course, this does not only take place at the configured time. This parameter is useful, for example, if you want to start a new segment at midnight. You then need to configure a segment start time at which the clock is set to midnight. To be honest, I've never tried to configure a time there that is in the future, so I'm not sure if this could cause any problems. Kind regards |
Follow us on