collapse_allSyntax

Top  Previous  Next

 

Boonton55xxx IVI Driver Reference


 

Btn55xxx_FetchMeasurementArray Function


StatisticalMode See Also



Returns an array of the current automatic statistical measurements performed on a sample population. Measurements performed are: long term average, peak and minimum amplitude, peak-to-average ratio, amplitude at the CCDF percent cursor, statistical percent at the CCDF power cursor, and the sample population size in samples. Note the peak-to-average ratio is returned in dB for logarithmic channel units, and percent for all other channel units.

Function Tree Node: \Boonton55xxx\Instrument Specific\Channel\StatisticalMode\Fetch Measurement Array

Declaration: Btn55xxx.h

Implementation: Btn55xxx.dll

Visual C++

ViStatus Btn55xxx_FetchMeasurementArray(
 ViSession Vi,
 ViConstString Channel,
 ViReal64Pavg,
 ViInt32PavgCond,
 ViReal64Ppeak,
 ViInt32PpeakCond,
 ViReal64Pmin,
 ViInt32PminCond,
 ViReal64PkToAvgRatio,
 ViInt32PkToAvgRatioCond,
 ViReal64CursorPwr,
 ViInt32CursorPwrCond,
 ViReal64CursorPct,
 ViInt32CursorPctCond,
 ViReal64SampleCount,
 ViInt32SampleCountCond,
 ViReal64SecondsRun,
 ViInt32SecondsRunCond
);

Parameters

Vi

The ViSession handle that you obtain from the IviDriver_init or IviDriver_InitWithOptions function. The handle identifies a particular instrument session.

Channel

The physical or virtual repeated capability identifier. Pass VI_NULL or empty string if operation does not apply to a repeated capability.For valid values, see the Channel repeated capability.

Pavg

Average power of the entire population of statistical power points.

PavgCond

Measurement condition code.

Ppeak

Maximum value of the entire population of statistical power points.

PpeakCond

Measurement condition code.

Pmin

Minimum value of the entire population of statistical power points.

PminCond

Measurement condition code.

PkToAvgRatio

Peak to average ratio of the entire population of statistical power points.

PkToAvgRatioCond

Measurement condition code.

CursorPwr

Power in dB at the cursor.

CursorPwrCond

Measurement condition code.

CursorPct

Percent CCDF at the cursor.

CursorPctCond

Measurement condition code.

SampleCount

Count in Megasamples of the samples.

SampleCountCond

Measurement condition code.

SecondsRun

Time the statistical capture has been running in seconds.

SecondsRunCond

Measurement condition code.

Return Value

 

Success or failure code.

collapse_allInstrument Command

FETCh{Channel}:ARRay:AMEAsure:STATistical?

collapse_allRequirements

Supported Models

All supported

collapse_allDefined Values For Parameter PavgCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter PpeakCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter PminCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter PkToAvgRatioCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter CursorPwrCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter CursorPctCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter SampleCountCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allDefined Values For Parameter SecondsRunCond

Name

Description

BTN55XXX_VAL_COND_CODE_MEASUREMENT_STOPPED

-1 Measurement is STOPPED. Value returned is not updated.

BTN55XXX_VAL_COND_CODE_ERROR

Error return. Measurement is not valid.

BTN55XXX_VAL_COND_CODE_UNDERRANGE

An Under-range condition exists.

BTN55XXX_VAL_COND_CODE_OVERRANGE

An Over-range condition exists.

BTN55XXX_VAL_COND_CODE_NORMAL

1 Normal return. No error.

Top

collapse_allSee Also

Reference

StatisticalMode

Btn55xxx

Footer image

Copyright 2013-16 Boonton. All rights reserved.