Campbell Scientific TDRSDK Software Developement Kit User Manual
Page 15

TDRSDK Software Development Kit for TDR100
11
error occurred, La/L corrected for probe offset will be written to the DLL and
can be retrieved using the GetMoisture (#33) API call. Result: The TDR100
sends the moisture value to the DLL.
int ReqMoisture
Parameters:
None
Return Code:
0 = Success
1
=
Failure
33. GetMoisture
This command might better be called GetLaL instead of GetMoisture. Allows
calling application to get TDR100 La/L corrected for probe offset stored in
DLL. This command, if successful, will return a floating point variable
containing the value. Result: The moisture value is passed from the DLL to the
Application.
int GetMoisture(float pValue)
Parameters:
pValue: Pointer to floating point variable
Return Codes:
0 = Success
1
=
Failure
34. ReqNewDeri
Allows calling application to request that the TDR100 acquire a new waveform
and calculate the derivative waveform and return it to the DLL. 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 ‘New Derivative’ value will be available from the DLL and can be
retrieved using the GetDeriWF (#29) API call. Result: The TDR100 will
acquire a new derivative waveform and send it to the DLL.
int ReqNewDeri
Parameters:
None
Return Code:
0 = Success
1
=
Failure
35. GetNewDeri
Allows calling application to get a single TDR100 derivative waveform data
point from an array of values stored in DLL. The index parameter specifies
which value in the derivative waveform array to retrieve. This command, if
successful will return a floating point variable containing the value Result:
One value of the Derivative Waveform (array of values) will be passed from
the DLL to the Application. Note: This command is identical to command 29,
GetDeriWF.
int GetLastDeri(float pValue, int Index)
Parameters:
pValue: Pointer to floating point variable
Index: Integer, index into 1-based derivative array
Return Codes:
0 = Success
1
=
Failure