Campbell Scientific TDRSDK Software Developement Kit User Manual

Page 17

Advertising
background image

TDRSDK Software Development Kit for TDR100

13

43. GetVariables

Allows calling application to get TDR100 values from algorithms that are
stored in DLL. This command, if successful will return a floating point
variable containing the value. Result: Variables are passed form DLL to
Application.

int GetVariables(float pStart, float pEnd, float pRMS)

Parameters:

pStart: Pointer to floating point variable, Start

pEnd: Pointer to floating point variable, End

pRMS: Pointer to floating point variable, RMS

Return Codes:

0 = Success

1

=

Failure

44. ReqVerSig

Allows calling application to request the current TDR100 versions and
signatures for BootCode and Operating System’. When transaction is
complete, the call-back procedure will be called (if required), or the state
machine can be monitored to detect completion. If no error occurred, current
version and signature values will be available from the DLL and can be
retrieved using the GetVerSig API call. Result: TDR100 sends the two version
values and the two signature values to the DLL.

int ReqVerSig

Parameters:

None

Return Code:

0 = Success

1

=

Failure

45. GetVerSig

Allows calling application to get TDR100 version and signature values stored
in DLL. This command, if successful will return a floating point variable
containing the value. Result: Version & Signature values are passed from DLL
to Application

int GetVerSig(flaot pBCver, float pBCsig,float pOSver, float pOSsig)

Parameters:

pBCver: Pointer to floating point variable, Boot Code
version

pBCsig: Pointer to floating point variable, Boot Code
signature

pOSver: Pointer to floating point variable, OS version

pOSsig: Pointer to floating point variable, OS signature

Return Codes:

0 = Success

1

=

Failure

Advertising