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

Page 38

Advertising
background image

Section 7. Developing an Application Using the CsiBrokerMap 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

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

7.2.2 CsiBrokerMap Control Application Example

Begin creating an application that displays the stations, tables, and columns
that exist in the LoggerNet server. 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
7-1. This interface includes the CsiBrokerMap control and other objects to
create a functional application.

FIGURE 7-1. CsiBrokerMap Example

7-2

Advertising