Serverdirect.logfiledir, Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 66: Com return values, Serverdirect.serverstarted, Serverdirect.serverversion

Section 14. CsiServerDirect Control Reference
ServerDirect.logFileDir
Name
ServerDirect.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
ServerDirect.serverStarted
Name
ServerDirect.serverStarted As Boolean
Description
This read-only value displays the current state of a LoggerNet server that has
been started by the ServerDirect 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
ServerDirect.serverVersion
Name
ServerDirect.serverVersion As String
Description
This property is a read-only value that displays the version of the LoggerNet
server.
14-2