Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 64

Advertising
background image

Section 13. Developing an Application Using the CsiLogMonitor Control

13-4

Stop monitoring logs with the commLogMonitorStop() and
tranLogMonitorStop() events. You can check for active log monitoring by
checking the commLogMonitorBusy and tranLogMonitorBusy properties or
this control.

Private Sub cmdStop_Click()
If CsiLogMonitor.commLogMonitorBusy Then
CsiLogMonitor.commLogMonitorStop
End If

If CsiLogMonitor.tranLogMonitorBusy Then
CsiLogMonitor.tranLogMonitorStop
End If

End Sub

Add additional functionality, error handling, and objects as necessary beyond
the example interface and code listed above to meet the specific requirements
of your application. Complete examples using the CsiLogMonitor control are
included in the LoggerNet SDK installation.

Advertising