Sa Configure
sa_configureConfigure a PXE200 spectrum analyzer in any mode by changing only specified frequency, span, bandwidth, level, attenuation, detector, and sweep parameters, then return the resulting settings.
Instructions
Set up the analyzer (any mode). Only the given parameters change; returns the resulting settings. In HARM / PN / IQS / DET the mode's own controls are used (HARM center/span/level, PN carrier, IQS/DET analysis bandwidth for span). ref_level_dbm is the level at the input: with an external attenuator of 40 dB and a +40 dB offset, ref_level_dbm=20 shows 60 dBm on screen. The offset is applied first, then the reference level (so the input range never drops below the one you asked for).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rbw | No | Resolution bandwidth, e.g. '30kHz' | |
| vbw | No | Video bandwidth | |
| span | No | Span | |
| stop | No | Stop | |
| start | No | Start (with stop: converted to center+span) | |
| center | No | Center frequency, e.g. '915MHz' | |
| atten_db | No | Input attenuation | |
| detector | No | One of ['Sample', 'PosPeak', 'Average', 'NegPeak', 'MaxPower', 'RMS'] | |
| amp_offset_db | No | Level offset added to all readings (external attenuator + cal), 0 to clear | |
| ref_level_dbm | No | Reference level AT THE INPUT CONNECTOR in dBm (what the ADC sees, BEFORE amp_offset_db). Keep it above the strongest signal at the input to avoid ADC overflow. The tool adds the offset for the on-screen value itself. | |
| points_accuracy | No | True = PointsAccuracy (more trace points, slower), False = SweepSpeed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||