Appendix D. Software Organization
When it is time for a scheduled data collection the server sends a data poll
request to the datalogger to get all of the data stored in the selected tables since
the last poll. The tables to be collected are specified by the user in the Setup
Screen.
As each record is written to the data cache, the server adds a filemark number
to the record as it is stored. This filemark number is used to identify
discontinuities in the data. The filemark number starts out as zero when the
table for the data cache is created or re-initialized. This number is incremented
each time a discontinuity is seen in the data records. Such a discontinuity can
occur when there is a gap in the record numbers because the data table filled
and overwrote the requested data. This also can occur if the record number
rolls over from the maximum to start back at zero or an identical program is
loaded into the datalogger without going through the server.
Data can also be collected from the datalogger using a manual poll operation.
This is achieved by selecting Collect Now from the Connect Screen. When a
manual poll is done the data from the datalogger is saved in the output data file
and is also put into the data cache.
D.2.3 Retrieving Data from the Cache
Once the data has been stored in the data cache it is retrieved by the
applications such as the graphical and numerical displays that request the data
by datalogger, table or array, and data field. The data can be requested by a
query where the request specifies the starting and ending timestamp or record
number along with the data to retrieve.
D.2.4 Updating Table Definitions
When the table definitions are obtained from the datalogger they are kept in the
server and used to identify the data available in the data cache. Every time new
data is collected from a datalogger, a table definition signature is sent that
should match the signature stored in the server. If this table definition
signature doesn’t match it indicates that the table definitions in the datalogger
have changed.
There are a number of things that could cause datalogger table definitions to
change. A new program may have been downloaded to the datalogger, or the
keyboard display may have been used to manually make changes to the
datalogger program.
If the datalogger program is re-compiled without changing table
definitions, the record numbers will reset to zero causing the
server to assume the datalogger record numbers have wrapped
around. This will result in the re-collection of all of the data in
the datalogger.
NOTE
When a change in table definitions is detected, the server stops data collection
and indicates in the Collection State of Status Monitor that the table definitions
have been changed. Data collection cannot be restarted until either a new
datalogger program is loaded into the datalogger by the server, or updated table
definitions are received from the datalogger. Either of these actions causes the
data in the data cache for that datalogger to be removed and new data cache
D-2
Содержание LoggerNet
Страница 2: ......
Страница 30: ...Preface What s New in LoggerNet 4 xxvi...
Страница 32: ...Section 1 System Requirements 1 2...
Страница 44: ...Section 2 Installation Operation and Backup Procedures 2 12...
Страница 136: ...Section 4 Setting up Datalogger Networks 4 80...
Страница 227: ...Section 7 Creating and Editing Datalogger Programs 7 9...
Страница 298: ...Section 7 Creating and Editing Datalogger Programs 7 80...
Страница 402: ...Section 9 Automating Tasks with Task Master 9 12...
Страница 406: ...Section 9 Automating Tasks with Task Master 9 16...
Страница 450: ...Section 11 Utilities Installed with LoggerNet Admin and LoggerNet Remote 11 22...
Страница 454: ...Section 12 Optional Client Applications Available for LoggerNet 12 4...
Страница 462: ...Section 13 Implementing Advanced Communications Links 13 8...
Страница 482: ...Section 14 Troubleshooting Guide 14 20...
Страница 570: ...Appendix F Calibration and Zeroing F 16...
Страница 578: ...Appendix G Importing Files into Excel G 8...
Страница 579: ......