Campbell-scientific LoggerNet-SDK Software Development Kit Uživatelský manuál Strana 21

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 20
Section 3. Developing an Application Using the CsiServerDirect Control
In order to stop the limited LoggerNet server, use the method stopServer(). A
basic example of code used to stop the limited LoggerNet server is found in the
following table:
Private Sub cmdStop_Click()
'Stop the LoggerNet Server
If CsiServer.serverStarted Then
CsiServer.stopServer
txtServer.Text = "Server Stopped"
cmdStop.Enabled = False
cmdStart.Enabled = True
Else
txtServer.Text = "Server Already Stopped"
End If
End Sub
Add additional functionality and objects as necessary to meet the specific
requirements of your application. Complete examples using the
CsiServerDirect control are included with the LoggerNet SDK installation.
3-3
Zobrazit stránku 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 177 178

Komentáře k této Příručce

Žádné komentáře