logger idigi_dia

Hello,

I have been working with idigi_dia version 1.3.8 and I’m using two loggers. The problem is that I’m getting the following errors:

Welcome to the iDigi Device Integration Application CLI.
=>> logger_set file_logger0
Logger set to file_logger0
=>> logger_dump

Channel Database for logger file_logger0 with log position 51959
Device instance: dio0

Channel Value Unit Timestamp


channel4_input False bool 2011-01-18 07:42:29

=>> logger_next

    Unable to proceed to next record: Bad event on event header read (0x5f42                                             )

=>> logger_next

    Unable to proceed to next record: Bad event on event header read (0x5f42                                             )

=>> logger_prev

    Unable to proceed to previous record: Bad event on event header read (0x                                             5f42)

=>> logger_prev

    Unable to proceed to previous record: Bad event on event header read (0x                                             5f42)

Any one know what is happening?

It means the data in the logger has gotten corrupted (i.e. the header for the event is incorrect) - this can happen if you run of space, for example

I’m not 100% sure but as I saw in another post the problem is that those commands are not implemented yet.

*log_next: Advance the channel database one event in time
•
*log_prev: Step the channel database back one event in time

  • Not available in the current File Logger.

For more information, take a look to this post:
http://forums.digi.com/support/forum/viewthread_thread,1000

Instead, it would be better to use the: log_event_iterator.
(you can step through the log entries, using the event iterator.)

Hope I’ve helped.