Campbell-scientific BMP5 Direct SDK Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Měřící nástroje Campbell-scientific BMP5 Direct SDK. Campbell Scientific BMP5 Direct SDK User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - BMP5 Direct SDK

BMP5 Direct SDKRevision: 12/11Copyright © 2004-2011Campbell Scientific, Inc.

Strany 2

Section 1. BMP5 Direct SDK Overview 1-2

Strany 3 - License For Use

Section 2. SimplePB.DLL Reference The SimplePB.DLL is a call-level API that does not need to be registered on the PC. However, the SimplePB.DLL wrap

Strany 4

Section 2. SimplePB.DLL Reference 2.3 OpenIPPort() Opens an IP port to allow a connection to a datalogger. Syntax OpenIPPort(ip_address, tcp_port) P

Strany 5 - Limited Warranty

Section 2. SimplePB.DLL Reference device_ type: Integer – The type of datalogger: • 1=CR200 • 2=CR10XPB, CR23XPB, CR510PB • 3=CR1000 • 4=CR3000 •

Strany 6

Section 2. SimplePB.DLL Reference return_data: Char – The location in memory where the data returned from the datalogger exists. return_data_len: Int

Strany 7 - Appendix

Section 2. SimplePB.DLL Reference return_data_len: Integer – Number of bytes in the data returned from the datalogger. Return Codes 0 = Successful.

Strany 8

Section 2. SimplePB.DLL Reference 2.9 GetData() Query the datalogger for column names and data from one of its tables. Syntax GetData(pakbus_address

Strany 9

Section 2. SimplePB.DLL Reference Example of data returned by function call "2004-04-16 14:18:03",1 (Time stamp, Record number) 1,OSversi

Strany 10

Section 2. SimplePB.DLL Reference return_data_len: Integer – Number of bytes in the data returned from the datalogger. Return Codes 0 = Successful.

Strany 11 - 2.2 ClosePort()

Section 2. SimplePB.DLL Reference return_data: Char – The location in memory where the data returned from the datalogger exists. return_data_len: Int

Strany 13 - 2.6 SetClock()

Section 2. SimplePB.DLL Reference Return Codes 0 = Successful. 1 = Success but more data to transfer. -1 = Communication timed out. -2 = Port is no

Strany 14 - 2.7 GetValue()

Section 2. SimplePB.DLL Reference Return Codes 0 = Successful. -1 = Communication timed out. -2 = Port is not open. Example of data returned by func

Strany 15 - 2.8 SetValue()

Section 2. SimplePB.DLL Reference Compile Status: Datalogger Program Running Program Name: BATT.CR2 Program Sig.: 54451 Compile Result: Program Runni

Strany 16 - 2.9 GetData()

Section 2. SimplePB.DLL Reference 2.16 GetDLLVersion() Get the version of the SimplePB.dll being used. Syntax GetDLLVersion(return_data, return_data

Strany 17 - 2.10 GetDataHeader()

Section 2. SimplePB.DLL Reference 2-14 Parameters pakbus_address: Integer - The PakBus address of the datalogger. device_type: Integer - The type of

Strany 18 - 2.11 GetCommaData()

Appendix A. Sample Program Table Structure The table structure of a PakBus datalogger is given in the example below. This example shows a datalogger

Strany 19 - 2.12 File_Send()

Appendix A. Sample Program Table Structure CR200 Datalogger Program Tables The following tables show the table structure from a program installed in

Strany 20 - 2.13 GetAddress()

Appendix A. Sample Program Table Structure Table Number 2 – Hourly: The Hourly table contains the minimum battery voltage and the minimum and maximum

Strany 21 - 2.14 GetStatus()

Appendix A. Sample Program Table Structure WeatherHawk Weather Station Tables The following tables show the table structure from a default WeatherHaw

Strany 22 - 2.15 GetTableNames()

Appendix A. Sample Program Table Structure Table Number 2 – SiteVal: The SiteVal table contains values that are stored for calculations by the Weathe

Strany 23 - 2.18 FileControl()

License For Use This BMP5 Direct Software Development Kit software, hereinafter referred to as the BMP5 Direct SDK, is protected by both United States

Strany 24 - Return Codes

Appendix A. Sample Program Table Structure A-6 Table Number 4 – Data2: This table contain daily data values. Field Number Field Name Units Notes:

Strany 26

Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbel

Strany 27 - CR200 Datalogger Program

ii • Not to develop applications that compete directly with any application developed by Campbell Scientific, Inc. or its affiliates. • To assure th

Strany 28

Limited Warranty The following warranties are in effect for ninety (90) days from the date of shipment of the original purchase. These warranties are

Strany 29

Campbell Scientific may from time-to-time, and without notice, make changes to one or more components of the SDK or make changes to one or more compon

Strany 30

BMP5 Direct SDK Table of Contents PDF viewers note: These page numbers refer to the printed version of this document. Use the Adobe Acrobat® bookmar

Strany 32

Section 1. BMP5 Direct SDK Overview The BMP5 Direct Software Development Kit (SDK) is a programming interface that facilitates simple and direct comm

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

Žádné komentáře