CHAPTER 5.0 Functional Overview
5-63
CDS7324 (FORMERLY LSF-0819)
Rev. A
INSTALLATION & USER’S MANUAL
In order to read the data from the event log, it is first necessary to find out the current position in the event log by
reading event_log_current_position. This indicates the address at which the next event log entry will be written.
The read pointer must then be set to a multiple of the event log increment less than the current position. Then the
event log data may be read. The time stamp must always be read before reading the data1 and data2 values,
since the timestamp read is used to set up the data values to be read.
Successive entries may be read from the event log without setting the read pointer each time.
For example, to read the event log entries since the last power on:
1. read
event_log_size
2. read
event_log_increment
3. read
event_log_position
4. set event_log_read_pointer to be (position – size)
5. read
event_log_timestamp
6. read
event_log_data1
7. read
event_log_data2
8. repeat steps 5,6,7 (size / increment) times
To read the last 10 event log entries:
1. read
event_log_increment
2. read
event_log_position
3. set event_log_read_pointer to be (position – (10 * increment))
4. read
event_log_timestamp
5. read
event_log_data1
6. read
event_log_data2
7. repeat steps 10 times
Содержание DS2110
Страница 15: ...CHAPTER 1 0 Overview 1 11 CDS7324 FORMERLY LSF 0819 Rev A INSTALLATION USER S MANUAL Page Intentionally Blank...
Страница 192: ...CHAPTER 5 0 Functional Overview 5 70 CDS7324 FORMERLY LSF 0819 Rev A INSTALLATION USER S MANUAL Page Intentionally Blank...
Страница 261: ...APPENDIX B GUI B 63 CDS7324 FORMERLY LSF 0819 Rev A INSTALLATION USER S MANUAL...
Страница 266: ...APPENDIX B GUI B 68 CDS7324 FORMERLY LSF 0819 Rev A INSTALLATION USER S MANUAL Page Intentionally Blank...
Страница 310: ...APPENDIX G ETHERNET MEZZANINE CARD G 9 CDS7324 FORMERLY LSF 0819 Rev A INSTALLATION USER S MANUAL...