beautypg.com

16 getdllversion(), Syntax, Parameters – Campbell Scientific BMP5 Direct SDK User Manual

Page 23: Return codes, Example of data returned by function call, 17 getlastresults(), 18 filecontrol()

background image

Section 2. SimplePB.DLL Reference

2.16 GetDLLVersion()

Get the version of the SimplePB.dll being used.

Syntax

GetDLLVersion(return_data, return_data_len)

Parameters

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

return_data_len: Integer – Length of the data returned from the DLL.

Return Codes

0 = Successful

Example of data returned by function call

SimplePB.DLL Version 2.0 / 2,2,3,0

I

2.17 GetLastResults()

Retrieves the return_data results from memory for the previous function as a
String. This function is useful for developers that don’t want to manage
memory pointers.

Syntax

GetLastResults()

Return Codes

0 = Successful

2.18 FileControl()

Used to manage programs and files on the datalogger.

Syntax

FileControl(pakbus_address, device_type, file_name, command)

2-13