Campbell-scientific LoggerNet-SDK Software Development Kit Uživatelský manuál Strana 127

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 126
Section 18. CsiDataSource Control Reference
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return.
E_CSI_BUSY
Error: Cannot write to this property because
there is a connection to the LoggerNet server.
E_CSI_INVALIDARG
Error: Value out of range.
DSource.state
Name
DSource.state As data_source_state
Description
This property describes the state of the control in regards to a connection with
the LoggerNet server. The following are the possible values of this property:
Table of Possible values.
Enumeration Name Value Description
dataSourceDisconnected 1 The control is currently disconnected and its read/write
properties are accessible
dataSourceConnecting 2 The connect method has been invoked and the control is
attempting to connect to the LoggerNet server.
Properties are read-only at this time
dataSourceConnected 3 The connect method has been successfully invoked and
the control has a connection to the server. It is
appropriate at this time to create advisors and start them.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return.
DSource.sendRecordBlocks
Name
DSource.sendRecordBlocks As Boolean
Description
When set to TRUE, records will be sent back from LoggerNet to an Advisor in
blocks rather than one at a time. This is a more efficient method of receiving
records if a large number of records are being collected.
18-3
Zobrazit stránku 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 177 178

Komentáře k této Příručce

Žádné komentáře