Section 15. csicorascript control reference, 1 corascript interface, 1 properties – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 71: Corascript.serverconnected, Name, Description, Com return values, Corascript.serverlogonname, Valid values, Default value

Advertising
background image

Section 15. CsiCoraScript Control
Reference

15.1 CoraScript Interface

15.1.1 Properties

CoraScript.serverConnected

Name

CoraScript.serverConnected As Boolean (read-only)

Description

This Boolean property describes the state of the connection between the
CoraScript control and the LoggerNet server. The property returns TRUE if
the connection exists. Otherwise, the property returns FALSE.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

CoraScript.serverLogonName

Name

CoraScript.serverLogonName As String

Valid Values

If security is enabled on the target LoggerNet server, this string must be one of
the account names recognized by the LoggerNet server.

Default Value

The default value for this property is an empty string. This property will only
affect the operation of the control if security is enabled on the LoggerNet
server.

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

15-1

Advertising