Datalogger.servername, Name, Description – Campbell Scientific LoggerNet Server SDK User Manual

Page 103: Com return values, Datalogger.serverport, Default value

Advertising
background image

Section 17. CsiDatalogger Control Reference

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_BUSY

Error: The property cannot be set while a connection to
the LoggerNet server is present

Datalogger.serverName

Name

Datalogger.serverName As String

Description

This property specifies the TCP/IP interface address for the computer hosting
the LoggerNet server. This string must be formatted either as a fully qualified
Internet machine domain name or as an IP address string. An example of a
valid machine domain name address is www.campbellsci.com. An example of
a valid IP address string is

207.201.118.35

. The default value for this

property is the string,

localhost

.

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

Datalogger.serverPort

Name

Datalogger.serverPort As Long

Description

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

Default Value

The default value for this property, assigned to the LoggerNet server during
install, is 6789. In most cases, the default value for this property is acceptable.

17-5

Advertising