Owner's manual

Section 9. Developing an Application
Using the Datalogger Control
9.1 Purpose
This section illustrates the use of the CsiDatalogger control. This control
interacts with dataloggers through the LoggerNet server to perform managerial
tasks. These tasks require a connection with the specified datalogger. The
user-interface we are about to develop will:
Connect to the LoggerNet server
Enter a datalogger to manage
Establish an active connection with the datalogger
Check and display time at the datalogger
Send/Receive datalogger programs
Retrieve data collected by a datalogger
The following section illustrates how to build an application that can perform
these tasks using the CsiDatalogger control and the LoggerNet server.
9.2 Using the CsiDatalogger Control
9.2.1 Getting Started with the CsiDatalogger Control
CsiDatalogger is an SDK control (an ActiveX object) designed to display
names of dataloggers in the current network. This control can also display
names of all tables belonging to the selected datalogger and columns in the
selected table.
This example assumes that:
you have registered the SDK controls correctly
you are developing the application with Visual Basic 6.0
a LoggerNet server is currently running and accessible on the network
at least one station already exists in the LoggerNet server's network map
Complete the following steps first:
1. Start Visual Basic 6.0 (Start | Programs | Microsoft Visual Basic 6.0 |
Microsoft Visual Basic 6)
9-1