Com return values, Logmonitor.serverport, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 158: Description, Default value, Logmonitor.tranlogmonitorbusy

Advertising
background image

Section 19. CsiLogMonitor Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_BUSY Error: Attempt to set serverName while connected to the

LoggerNet server

LogMonitor.serverPort

Name

LogMonitor.serverPort As Long

Description

This property specifies the TCP port number that the LoggerNet server is using
on the hosting computer. The valid range for this property is port 1 to port
65535.

Default Value

The default value for this property is port 6789, which is the default port
number assigned for the LoggerNet server. Therefore, the default value for this
property will connect to a LoggerNet server port in most cases.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_INVALIDARG Error: The port value is out of range or invalid

E_CSI_BUSY

Error: Attempt to set serverPort while connected
to the LoggerNet server

LogMonitor.tranLogMonitorBusy

Name

LogMonitor.tranLogMonitorBusy As Boolean

Description

This Boolean property describes the state of the LogMonitor control accessing
transaction logs on the LoggerNet server. The property returns TRUE if the
communication logs are being accessed. Otherwise, the property returns
FALSE.

19-4

Advertising