BMP5 Direct SDKRevision: 12/11Copyright © 2004-2011Campbell Scientific, Inc.
Section 1. BMP5 Direct SDK Overview 1-2
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
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
Section 2. SimplePB.DLL Reference device_ type: Integer – The type of datalogger: • 1=CR200 • 2=CR10XPB, CR23XPB, CR510PB • 3=CR1000 • 4=CR3000 •
Section 2. SimplePB.DLL Reference return_data: Char – The location in memory where the data returned from the datalogger exists. return_data_len: Int
Section 2. SimplePB.DLL Reference return_data_len: Integer – Number of bytes in the data returned from the datalogger. Return Codes 0 = Successful.
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
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
Section 2. SimplePB.DLL Reference return_data_len: Integer – Number of bytes in the data returned from the datalogger. Return Codes 0 = Successful.
Section 2. SimplePB.DLL Reference return_data: Char – The location in memory where the data returned from the datalogger exists. return_data_len: Int
Section 2. SimplePB.DLL Reference Return Codes 0 = Successful. 1 = Success but more data to transfer. -1 = Communication timed out. -2 = Port is no
Section 2. SimplePB.DLL Reference Return Codes 0 = Successful. -1 = Communication timed out. -2 = Port is not open. Example of data returned by func
Section 2. SimplePB.DLL Reference Compile Status: Datalogger Program Running Program Name: BATT.CR2 Program Sig.: 54451 Compile Result: Program Runni
Section 2. SimplePB.DLL Reference 2.16 GetDLLVersion() Get the version of the SimplePB.dll being used. Syntax GetDLLVersion(return_data, return_data
Section 2. SimplePB.DLL Reference 2-14 Parameters pakbus_address: Integer - The PakBus address of the datalogger. device_type: Integer - The type of
Appendix A. Sample Program Table Structure The table structure of a PakBus datalogger is given in the example below. This example shows a datalogger
Appendix A. Sample Program Table Structure CR200 Datalogger Program Tables The following tables show the table structure from a program installed in
Appendix A. Sample Program Table Structure Table Number 2 – Hourly: The Hourly table contains the minimum battery voltage and the minimum and maximum
Appendix A. Sample Program Table Structure WeatherHawk Weather Station Tables The following tables show the table structure from a default WeatherHaw
Appendix A. Sample Program Table Structure Table Number 2 – SiteVal: The SiteVal table contains values that are stored for calculations by the Weathe
License For Use This BMP5 Direct Software Development Kit software, hereinafter referred to as the BMP5 Direct SDK, is protected by both United States
Appendix A. Sample Program Table Structure A-6 Table Number 4 – Data2: This table contain daily data values. Field Number Field Name Units Notes:
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbel
ii • Not to develop applications that compete directly with any application developed by Campbell Scientific, Inc. or its affiliates. • To assure th
Limited Warranty The following warranties are in effect for ninety (90) days from the date of shipment of the original purchase. These warranties are
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
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
Section 1. BMP5 Direct SDK Overview The BMP5 Direct Software Development Kit (SDK) is a programming interface that facilitates simple and direct comm
Komentarze do niniejszej Instrukcji