Section 11. Utilities Installed with LoggerNet Admin and LoggerNet Remote
the unsent records remain in the LoggerNet server’s data cache. The Data
Export maintains transfer progress information on disk so that if the server
goes down or there is another problem with the transfer, it can recover and
continue to transfer all collectable records.
The record acknowledgment allows Data Export to ensure that every record it
intended to send was successfully received by the client. This capability,
coupled with reasonable algorithms that make sure the LoggerNet server
receives every record logged by the datalogger, allows for reliable data
collection.
11.4.3 Custom Data Retrieval Client
Because there are so many different types of database applications and data
handling processes in use, the data retrieval client must be created either by the
customer or on contract with Campbell Scientific to the custom specifications
of the user’s process.
The custom data retrieval client is a software application that connects to the
socket provided by the Data Export application. It can be programmed to run
on any computer platform that is configured to support TCP/IP as long as there
is a computer network connection available to the host computer where the
Data Export application is running.
When a connection is established, the Data Export will send one data record as
soon as it is available. The first data record sent depends on the Data Export
option settings.
When the data retrieval client receives the record, it must parse the data and
return the acknowledgment message to the Data Export. The acknowledgment
message consists of the name of the datalogger, the name of the table, and the
record number of the record received.
If the acknowledgment message is not returned within 60 seconds or if the
message is incorrect, the Data Export will re-send the same record again. It
will continue sending the same record at 60-second intervals until either the
connection is broken or a valid acknowledgment for that record is received.
The custom data retrieval client is programmed to write to the database or file
system defined for the user’s data handling process.
11.4.4 Custom Client/Data Export Interface Description
This section details the interface for writing a custom data retrieval client that
will get data from the Data Export application. The programming concepts
presented assume a familiarity with programming software applications to
connect with a TCP/IP socket.
The Data Export application functions as a server providing a TCP/IP socket
connection for one remote client. Once the Data Export has connected to the
LoggerNet communication server the TCP/IP socket is established and the
Data Export application starts “listening” for a client to attach. As soon as a
data retrieval client connection is detected the Data Export application sends
the first record out over the socket connection. Upon receiving the record the
data retrieval client needs to send back an acknowledgment message consisting
11-15
Содержание 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: ......