Write/Read
About SA Application

DetectorFunction Property


Description

Set and read the detector type.

VB Syntax

sa.DetectorFunction = value

Variable

(Type) - Description

sa

A SpectrumAnalyzer (object)

value

(Enum as NASADetectorFunction) Choose from:

0 - naDTAverage

1 - naDTSample

2 - naDTPeak

3 - naDTNormal

4 - naDTNegPeak

5 - naDTPeakSample

6 - naDTPeakAverage

Learn more about these settings.

Return Type

Enum

Default

2 - naDTPeak

Examples

sa.DetectorFunction = naDTAverage 'Write

value = sa.DetectorFunction 'Read

See an example program.

C++ Syntax

HRESULT put_DetectorFunction(tagNASADetectorType type);

HRESULT get_DetectorFunction(tagNASADetectorType* type);

Interface

ISpectrumAnalyzer