Campbell Scientific TDRSDK Software Developement Kit User Manual

Page 10

Advertising
background image

TDRSDK Software Development Kit for TDR100

6

11. SetAvgSetting

Allows calling application to set the number of waveforms to be averaged for
final waveform. When transaction is complete, the call-back procedure will be
called (if required), or the state machine can be queried until non-zero state is
obtained.

int SetAvgSetting(float fValue)

Parameters:

fValue: Float, value with which to set TDR100 ‘Average’
setting.

Return Code

0 = Success

1

=

Failure

12. SetPointsSetting

Allows calling application to set the TDR100 number of points in waveform.
When transaction is complete, the call-back procedure will be called (if
required), or the state machine can be queried until non-zero state is obtained.

int SetPointsSetting(float fValue)

Parameters:

fValue: Float, value with which to set TDR100 ‘Points’
setting.

Return Code:

0 = Success

1

=

Failure

13. SetDistanceSetting

Allows calling application to set the TDR100 distance to beginning of
waveform. When transaction is complete, the call-back procedure will be
called (if required), or the state machine can be queried until non-zero state is
obtained.

int SetDistanceSetting(float fValue)

Parameters:

fValue: Float, value with which to set TDR100 ‘Distance’
setting.

Return Code:

0 = Success

1

=

Failure

14. SetWndLgtSetting

Allows calling application to set the TDR100 waveform window length. When
transaction is complete, the call-back procedure will be called (if required), or
the state machine can be queried until non-zero state is obtained.

int SetWndLgtSetting(float fValue)

Parameters:

fValue: Float, value with which to set TDR100 ‘Window
Length’ setting.

Return Code:

0 = Success

1

=

Failure

Advertising