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

Page 66: Com return values, Server.serverstarted, Server.serverversion

Advertising
background image

Section 14. CsiServer Control Reference

Server.logFileDir

Name

Server.logFileDir As String

Description

This property specifies the location where the LoggerNet server writes log files
and must be set before starting the LoggerNet server. If this property needs to
be changed after the LoggerNet server has been started, call stopServer(), set
the new location, and then call startServer(). By default the log file directory
will be placed in the LoggerNet server working directory.

COM Return Values

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

Server.serverStarted

Name

Server.serverStarted As Boolean

Description

This read-only value displays the current state of a LoggerNet server that has
been started by the Server control. If the LoggerNet server is running, this
value will be TRUE. Otherwise, this value will be FALSE.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Server.serverVersion

Name

Server.serverVersion As String

Description

This property is a read-only value that displays the version of the LoggerNet
server.

14-2

Advertising