Campbell-scientific Java PakBus Software Development Kit Uživatelský manuál Strana 16

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 30
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 15
Java PakBus® Software Development Kit
5.2 Managing Table Definitions
In order for data collection to be able to work, a client to the datalogger must
have an up-to-date copy of the dataloggers table definitions so that the binary
record objects can be properly interpreted. This can be done by using the
GetTableDefsTran transaction. The result of this transaction will be in storing
a raw table definitionsbuffer in the Datalogger object which can be
accessed using the get_raw_table_defs() method. The datalogger will also
parse these raw table definitions into a collection of table definition objects
and their constituent column definition objects.
It is possible for an application to cache the raw table definitions for a station
using Datalogger.get_raw_table_defs() and to restore this using the
Datalogger.set_raw_table_defs(Packet) method. This can save the
application the considerable amount of time that it can take to download the
raw table definitions from the datalogger.
The application can access a stations table definitions by using the
get_tables_count(), get_table(index), and get_table(name) methods.
5.3 Starting Data Collection
Data collection is handled by the DataCollectTran class. This class manages
the details of forming the command message(s) and interpreting their results in
terms of records. The DataCollectClient class declares a method that gets
called when a group of records has been collected (on_records()) and also
when the transaction is complete (on_complete()). The data collection
transaction is controlled by an application assigned collect modeobject. The
following collect modes are available:
DataCollectModeAllRecords
Specifies that all of the records currently available in the table should be
collected.
DataCollectModeDateRange
Specifies that all of the records stored in the datalogger that have a time
stamp on or after a specified beginning time and earlier (but not including)
than a specified ending time should be collected.
DataCollectModeDateToNewest
Specifies that all records starting with the record at or newer than a
specified begin date up to the newest record in the table should be
collected.
DataCollectModeMostRecent
Specifies that the most recent number of records should be collected.
DataCollectModeRecordNoRange
Specifies that all records on or after the specified begin record number up
to but not including the end record number should be collected.
8
Zobrazit stránku 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 29 30

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

Žádné komentáře

Muvit MUSLI0537 manuals

Owner’s manuals and user’s guides for Mobile phone cases Muvit MUSLI0537.
We providing 1 pdf manuals Muvit MUSLI0537 for download free by document types: Datasheet


Muvit MUSLI0537 Datasheet (1 pages)


Brand: Muvit | Category: Mobile phone cases | Size: 0.06 MB |

 

Table of contents





More products and manuals for Mobile phone cases Muvit

Models Document Type
MUCUN0280 Datasheet   Muvit MUCUN0280 mobile phone case, 1 pages
MUSLI0525 Datasheet   Muvit MUSLI0525 mobile phone case, 1 pages
MUCUN0284 Datasheet   Muvit MUCUN0284 mobile phone case, 1 pages
MUSLI0606 Datasheet   Muvit MUSLI0606 mobile phone case, 1 pages
SEBMC0039 Datasheet   Muvit SEBMC0039 mobile phone case, 1 pages
MUCUN0285 Datasheet   Muvit MUCUN0285 mobile phone case, 1 pages
MUSLI0465 Datasheet   Muvit MUSLI0465 mobile phone case, 1 pages
SESLI0086 Datasheet   Muvit SESLI0086 mobile phone case, 1 pages
MUCUN0281 Datasheet   Muvit MUCUN0281 mobile phone case, 1 pages
MUMAG0006 Datasheet   Muvit MUMAG0006 mobile phone case, 1 pages
MUCUN0232 Datasheet   Muvit MUCUN0232 mobile phone case, 1 pages
MUCUN0278 Datasheet   Muvit MUCUN0278 mobile phone case, 1 pages
MUSNS0072 Datasheet   Muvit MUSNS0072 mobile phone case, 1 pages
MUSNS0003 Datasheet   Muvit MUSNS0003 mobile phone case, 1 pages
MUCUN0227 Datasheet   Muvit MUCUN0227 mobile phone case, 1 pages
MUCUN0229 Datasheet   Muvit MUCUN0229 mobile phone case, 1 pages
MUSLI0542 Datasheet   Muvit MUSLI0542 mobile phone case, 1 pages
MUSLI0563 Datasheet   Muvit MUSLI0563 mobile phone case, 1 pages
MUSLI0303 Datasheet   Muvit MUSLI0303 mobile phone case, 1 pages
SEMAG0002 Datasheet   Muvit SEMAG0002 mobile phone case, 1 pages