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

  • 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 128
Section 18. CsiDataSource Control Reference
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_NOT_CONNECTED
Error: The control is not connected to the
LoggerNet server and therefore cannot create
any advisors. Connect to the LoggerNet
server first
E_FAIL
Error: An unexpected error has occurred
Visual Basic
Example
Dim myAdvisor As new advisor
Set myAdvisor = DSource.createAdvisor
DSource.disconnect()
Name
DSource.disconnect()
Description
This method attempts to disconnect from the current LoggerNet server.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
18.1.3 Events
DSource_onAdviseReady()
Name
onAdviseReady(Object myAdvisor) — Notification that an advisor
has been started and will send onAdviseRecord() events.
Description
This event returns notification that an advisor has be started and will send
onAdviseRecord() events when records are collected by the LoggerNet server.
18-5
Zobrazit stránku 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 177 178

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

Žádné komentáře