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

Page 120: Description

Advertising
background image

Section 17. CsiDatalogger Control Reference

Enumeration Name

Value

Description

ps_outcome_cannot_open_file

12

Indicates that the program to send could not
be opened to read

ps_outcome_server_security_failed

13

Indicates that the LoggerNet server has
security enabled and that the
serverLogonName or serverLogonPassword is
incorrect

ps_outcome_logger_buffer_full 14

Indicates

that the datalogger's storage buffer is

full

ps_outcome_network_locked

15

Indicates that the network is locked by another
transaction

ps_outcome_aborted_by_client

16

Indicates that this transaction has been
cancelled

ps_outcome_table_defs_failed

17

Indicates that the table definitions were not
obtained from the datalogger

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Datalogger_onProgramSendProgress()

Name

onProgramSendProgress(Long sent_bytes, Long

total_bytes)

Description

This event periodically returns notification of how many

sent_bytes

out of a

program’s

total_bytes

have been sent to the datalogger. This event could

be helpful in a progress bar and gets called periodically after invoking the
method programSendStart().

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

17-22

Advertising