1 purpose, 2 using the csiserverdirect control, 1 getting started with the csiserverdirect control – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 19

Section 3. Developing an Application
Using the CsiServerDirect Control
3.1 Purpose
This section shows by example how to build an application using the SDK
CsiServerDirect control. The application’s functions are:
1. Start the limited LoggerNet server (CORALIB3D.DLL).
2. Stop the limited LoggerNet server (CORALIB3D.DLL).
3.2 Using the CsiServerDirect Control
3.2.1 Getting Started with the CsiServerDirect Control
The CsiServerDirect SDK control (an ActiveX object) starts and stops the
limited LoggerNet server (CORALIB3D.DLL).
This example assumes that:
• you have registered the CsiServerDirect control correctly
• you will develop the application using Visual Basic 6.0
• the CORALIB3D.DLL exists in the folder with the created application, the
PATH environmental variable, or the Windows system directory
• both the CORALIB3D.DLL and application you are developing reside on
the same computer
Complete the following steps first:
1. Start Visual Basic 6.0 (Start | Programs | Microsoft Visual Basic 6.0 |
Microsoft Visual Basic 6)
2. Start a new project (File | New Project | Standard EXE | OK) opening 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 select Components. A component
window will open and the following SDK controls will appear within the
list if they are registered properly:
CsiBrokerMap 1.0 Type Library
CsiCoraScript 1.0 Type Library
CsiDatalogger 1.0 Type Library
CsiDataSource 1.0 Type Library
3-1