Com return values, Dsource.servername, Name – Campbell Scientific LoggerNet Server SDK User Manual

Page 126: Description, Default value, Dsource.serverport

Advertising
background image

Section 18. CsiDataSource Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return.

E_CSI_BUSY

Error: Attempt to set serverLogonPassword while
connected to the LoggerNet server.

DSource.serverName

Name

DSource.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

Default Value

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.

DSource.serverPort

Name

DSource.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 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.

18-2

Advertising