beautypg.com

Example of data returned by function call, 10 getdataheader(), Syntax – Campbell Scientific BMP5 Direct SDK User Manual

Page 17: Parameters

background image

Section 2. SimplePB.DLL Reference

Example of data returned by function call

"2004-04-16 14:18:03",1 (Time stamp, Record number)
1,OSversion,v03A

(Field number, Field name, Field value)

2,OSDate,06-Jan-04
3,ProgName,BATT.CR2
4,ProgSig,54451
5,CalOffset,2.625
6,PakBusAddress,1
7,RfInstalled,424
8,RfNetAddr,0
9,RfAddress,0
10,RfHopSeq,0
11,RfPwrMode,RF1_Sec
12,Rf_ForceOn,0
13,RfSignalLevel,0
14,RfRxPakBusCnt,0
15,VarOutOfBounds,0
16,SkipScan,0
17,TrapCode,0
18,WatchDogCnt,0
19,ResetTables,0
20,BattVoltage,12.3943

2.10 GetDataHeader()

Query the datalogger for only the header information from one of its tables.

Syntax

GetData(pakbus_address, device_type, table_no, return_data, return_data_len)

Parameters

pakbus_address: Integer – The PakBus address of the datalogger.

device_type: Integer – The type of datalogger:

• 1=CR200

• 2=CR10XPB, CR23XPB, CR510PB

• 3=CR1000

• 4=CR3000

• 5=CR800, CR850

table_no: Integer – The number of the table from which to collect data.

return_data: Char – The location in memory where the data returned from the
datalogger exists.

2-7