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

Page 56

Advertising
background image

Section 11. Developing an Application Using the CsiDataSource Control

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 CsiDataSource 1.0 Type Library, click Apply, and
then close the window. An icon for the CsiDataSource control will appear in
the toolbox.

11.2.2 CsiDataSource Control Application Example

You are now ready to begin creating an application that monitors data from an
existing datalogger table in the LoggerNet server network map. Design the
interface and change properties to meet the requirements of your application.
An example interface that accomplishes the tasks outlined previously in this
section is shown in Figure 11-1. This interface includes the CsiDataSource
control and other objects to create a functional application.

FIGURE 11-1. CsiDataSource Example

11-2

Advertising