Com return values, Dsource_oncontrolfailure(), Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 132: Description

Advertising
background image

Section 18. CsiDataSource Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

DSource_onControlFailure()

Name

onControlFailure(csidsFailureCode failure_code)

Description

This event is triggered when an error has occurred that affects the control as a
whole.

Table of possible failure codes.

Enumeration Name

Value

Description

csidsFailureUnknown

0

Indicates that an error has occurred but its nature is
unknown

csidsFailureLogon

1

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

csidsFailureSession 2

Indicates

that

the communication session with the

server failed resulting in failed transactions

csidsFailureUnsupported

3

The version of the LoggerNet server doesn't support
this transaction

csidsFailureSecurity 4

Indicates

that the account specified by logonName

does not have sufficient privileges to start the
transaction with the LoggerNet server

Other codes besides those shown above are included in the
enumeration of the DataSource control’s interface, but they are
never triggered.

NOTE

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

18-8

Advertising