Corascript_onserverconnectstarted(), Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 75: Corascript_onserverconnectfailure()

Advertising
background image

Section 15. CsiCoraScript Control Reference

CoraScript_onServerConnectStarted()

Name

onServerConnectStarted()

Description

The control has connected to the LoggerNet server.

CoraScript_onServerConnectFailure()

Name

onServerConnectFailure(server_failure_type
server_failure)

Description

An error has occurred that caused the connection to the LoggerNet server to
fail for this control.

Table of Possible failure codes.

Enumeration Name

Value Description

server_failure_unknown

0

Indicates that an error has occurred
but its nature is unknown

server_failure_logon

1

Indicates that this control was unable
to logon to the LoggerNet server
because either the logonName or
logonPassword property is incorrect

server_failure_session

2

Indicates that the communication
session with the LoggerNet server
failed resulting in a failed transaction

server_failure_unsupported

3

The version of the LoggerNet server
does not support this transaction

server_failure_security 4

Indicates that the account specified
by logonName does not have
sufficient privileges to start this
transaction with the LoggerNet
server

server_failure_bad_host_or_port 5

Indicates that either the serverName
or the serverPort property is
incorrect

15-5

Advertising