Skip navigationLog in to create and rate content, and to follow, bookmark, and share content with other members. Another question about PXA analyzer programming. We have a requirement that reads: "
WlNDOW PWR - Returns the frequency window at the power level specified by PWR
"
One of the guys came up with a brute force approach:TRAC:DATA? TRACE1
Syntax returns in ASCII format(default) a comma delimited list of amplitudes in dBm. Starting with first returned value, increment array index until amplitude exceeds "X" dBm. Save index as I1. Continue incrementing index until amplitude is less than "X" dBm. Save index as I2. MEAS = (I2-I1)*(StopFreq-StartFreq)/NoPTS. StopFreq, StartFreq, NoPTS are available by querying the instrument. (FREQ:STOP?,FREQ:STAR?, SWE:POIN?)
Is there any built-in functionality for this procedure?Brian
The closest I can come up with is N dB points which give you the bandwidth N dB based upon the relative power to the peak of a marker. This is located under the Meas Setup Key. This would be a quick way to determine the bandwidth, but the additional complexity would come from determining the frequency endpoints and calculated the relative points from your absolute requirement. Getting a bit more complicated is the occupied bandwidth measurement that has an X dB capability, but is also on relative terms (dB) not absolute (dBm).
For display affects only, you can turn on a limit line at your desired amplitude and this would cause all values exceeding this point to be red.
In short, I think your approach is probably the best at this time.
Regards -