Campbell-scientific LoggerNet-SDK Software Development Kit Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 178
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
Section 5. Developing an Application
Using the CsiCoraScript Control
5.1 Purpose
This section shows an example of how to build an application using the
CsiCoraScript control. The application’s functions are:
1. Connect to a running LoggerNet server
2. Execute CoraScript commands to administer the LoggerNet server.
5.2 Using the CsiCoraScript Control
5.2.1 Getting Started with the CsiCoraScript Control
The CsiCoraScript SDK control (an ActiveX object) administers the datalogger
network by passing CoraScript commands to the LoggerNet server.
This example assumes that:
you have registered the CsiCoraScript control correctly
you are developing the application in Visual Basic 6.0
a LoggerNet server is running and accessible on the network
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
CsiLogMonitor 1.0 Type Library
CsiServerDirect 1.0 Type Library
5-1
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 177 178

Commentaires sur ces manuels

Pas de commentaire