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,
ViReal64* Pavg,
ViInt32* PavgCond,
ViReal64* Ppeak,
ViInt32* PpeakCond,
ViReal64* Pmin,
ViInt32* PminCond,
ViReal64* PkToAvgRatio,
ViInt32* PkToAvgRatioCond,
ViReal64* CursorPwr,
ViInt32* CursorPwrCond,
ViReal64* CursorPct,
ViInt32* CursorPctCond,
ViReal64* SampleCount,
ViInt32* SampleCountCond,
ViReal64* SecondsRun,
ViInt32* SecondsRunCond
);
|
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.
Instrument Command
FETCh{Channel}:ARRay:AMEAsure:STATistical?
Requirements
Supported Models
All supported
Defined 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
Defined 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
Defined 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
Defined 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
Defined 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
Defined 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
Defined 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
Defined 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
See Also
Reference
StatisticalMode
Btn55xxx
Copyright 2013-16 Boonton. All rights reserved.
|