Com return values, Visual basic, Dsource.disconnect() – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 129: Name, Description, 3 events, Dsource_onadviseready()

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