2 csidatalogger control application example – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 44

Advertising
background image

Section 9. Developing an Application Using the Datalogger Control

2. Start a new project (File | New Project | Standard EXE | OK). This will

open a new, blank form.

3. View the toolbox for this new project (VB 6 Main Menu | View |

Toolbox).

4. Right click on the toolbox area and then on the word Components to open

a component window. If the SDK controls are registered on your PC, the
following CSI components will appear:

CsiBrokerMap 1.0 Type Library
CsiCoraScript 1.0 Type Library
CsiDatalogger 1.0 Type Library
CsiDataSource 1.0 Type Library
CsiLogMonitor 1.0 Type Library
CsiServerDirect 1.0 Type Library

Check the box next to the CsiDatalogger 1.0 Type Library, click Apply, and
then close the window. An icon for the CsiDatalogger control will appear in
the toolbox.

9.2.2 CsiDatalogger Control Application Example

Begin creating an application that manages an existing datalogger in the
LoggerNet server network map. Design the interface and change properties to
meet the requirements of your application. An example for a user interface that
accomplishes the tasks outlined in the previous section is shown in Figure 9-1.
This interface includes the CsiDatalogger control and other objects to create a
functional application.

FIGURE 9-1. CsiDatalogger Example

9-2

Advertising