The Astronics R8000C, R8100, and R8200 radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 116 commands for it, 34 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the R8000C on a real bench.
Describe the test; TestFlow's agent uses this command set to drive your Astronics R8000C, R8100, or R8200 and writes the report from the measured results.
With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find the Astronics R8000C's VISA address
# Paste the address of your Astronics R8000C (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000 # ms
print(inst.query("*IDN?")) # identify the instrument
inst.write("SET SETUP:Auto Attn=On") # Turn On Auto Attenuation
print(inst.query("GET METER:Measured Power")) # Read Measured Power
inst.close()Describe the test; TestFlow's agent uses this command set to drive your Astronics R8000C, R8100, or R8200 and writes the report from the measured results.
Describe the test in a sentence, for example “turn on auto attenuation on the R8000C, then read measured power and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.
116 commands in 11 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The R8000C, R8100, and R8200 share this command set in TestFlow's library.
| Command | What it does | Arguments |
|---|---|---|
| SET TEST:Test Mode=<Mode> | Set Test Mode. Selects the test mode (options required for digital modes). | Text: Standard,DMR,PROJECT 25,P25 Trunk,NXDN,NXDN Trunk,TETRA Base Station,TETRA DMO,TETRA TMO,DPMR,P25 II,PTC-ITCR,PTC-ACSES,AVIONICS |
| SET SYSTEM:Mode Request=<Mode> | Set Operating Mode. Requests the operating mode. | Text: Monitor,Generate,Duplex |
| SET RF:RF Power=On | Turn On RF Power. Turns the RF generator output on (Generate/Duplex modes). | None |
| SET RF:RF Power=Off | Turn Off RF Power. Turns the RF generator output off. | None |
| SET RF:Monitor Frequency=<Freq> | Set Monitor Frequency. Sets the monitor (receive) frequency; value may include units Hz/kHz/MHz/GHz (250 kHz minimum; maximum per model). | Text |
| SET RF:Generate Frequency=<Freq> | Set Generate Frequency. Sets the generate frequency; value may include units Hz/kHz/MHz/GHz. | Text |
| SET RF:Duplex Offset=<Offset> | Set Duplex Offset. Sets the duplex offset; value may include units Hz/kHz/MHz/GHz. | Text |
| SET RF:Output Level=<Level> | Set Output Level. Sets the RF output level in dBm (-130 to 5 dBm). | Number: -130,5 |
| SET RF:Output Lvl Units=<Units> | Set Output Level Units. Sets the RF output level units. | Text: dBm,Volts,mV,uV,Watts,mW,uW |
| SET RF:Modulation Type=<Mod> | Set Modulation Type. Sets the modulation type (available values depend on test mode/options). | Text: FM,AM,USB,LSB,4FSK,C4FM,LSM,WCQPSK,PI/4 DQPSK,HCPM,HDQPSK |
| SET RF:Generate Port=<Port> | Set Generate Port. Selects the generator port. | Text: RF In/Out,Gen Out |
| SET RF:Monitor Port=<Port> | Set Monitor Port. Selects the monitor port. | Text: RF In/Out,Antenna |
| SET RF:Bandwidth=<BW> | Set IF Bandwidth. Sets the receiver IF bandwidth. | Text: 6.25 kHz (Narrow),8.33 kHz (Narrow),10 kHz (Narrow),12.5 kHz (Narrow),25 kHz (Wide),50 kHz (Wide),100 kHz (Wide),200 kHz (Wide) |
| SET RF:Attenuation=<Atten> | Set Attenuation. Sets the input attenuation (0 dB to 62 dB in 2 dB steps), e.g. '20 dB'. | Text |
| SET RF:PreAmp On=On | Turn On Preamp. Turns the receiver pre-amplifier on. | None |
| SET RF:PreAmp On=Off | Turn Off Preamp. Turns the receiver pre-amplifier off. | None |
| SET RF:Input Lvl Units=<Units> | Set Input Level Units. Sets the RF input level units. | Text: dBm,Volts,mV,uV,Watts,mW,uW |
| SET RF:Frequency Error Units=<Units> | Set Frequency Error Units. Sets the frequency error units. | Text: Hertz,PPM |
| SET AUDIO:Tone A Frequency=<Freq> | Set Tone A Frequency. Sets the Tone A frequency in Hz (0 to 20000 Hz). | Number: 0,20000 |
| SET AUDIO:Tone A=<Volts> | Set Tone A Level. Sets the Tone A audio output level in V (0 to 8 V). | Number: 0,8 |
| SET AUDIO:Gen Tone A=<kHz> | Set Tone A FM Level. Sets the Tone A modulation level in kHz deviation (0 to 100 kHz). | Number: 0,100 |
| SET AUDIO:Gen AM Tone A=<Percent> | Set Tone A AM Level. Sets the Tone A AM modulation level in percent (0 to 99%). | Number: 0,99 |
| SET AUDIO:Tone A Mode=<Mode> | Set Tone A Mode. Sets the Tone A mode. | Text: Off,Continuous,Burst |
| SET AUDIO:Tone B Frequency=<Freq> | Set Tone B Frequency. Sets the Tone B frequency in Hz (0 to 20000 Hz). | Number: 0,20000 |
| SET AUDIO:Tone B=<Volts> | Set Tone B Level. Sets the Tone B audio output level in V (0 to 8 V). | Number: 0,8 |
| SET AUDIO:Gen Tone B=<kHz> | Set Tone B FM Level. Sets the Tone B modulation level in kHz deviation (0 to 100 kHz). | Number: 0,100 |
| SET AUDIO:Tone B Mode=<Mode> | Set Tone B Mode. Sets the Tone B mode. | Text: Off,Continuous,Burst |
| SET AUDIO:Fixed 1kHz Mode=<Mode> | Set Fixed 1kHz Mode. Sets the fixed 1 kHz tone mode. | Text: Off,Continuous |
| SET AUDIO:Gen Fixed 1kHz=<kHz> | Set Fixed 1kHz FM Level. Sets the fixed 1 kHz modulation level in kHz deviation (0 to 100 kHz). | Number: 0,100 |
| SET AUDIO:Gen AM Fixed 1kHz=<Percent> | Set Fixed 1kHz AM Level. Sets the fixed 1 kHz AM modulation level in percent (0 to 99%). | Number: 0,99 |
| SET AUDIO:Fixed 1kHz=<Volts> | Set Fixed 1kHz Level. Sets the fixed 1 kHz audio output level in V (0 to 8 V). | Number: 0,8 |
| SET AUDIO:Format=<Format> | Set Synth Format. Sets the synthesizer audio format. | Text: PL,DPL,DPL Invert,A/B Sequence,5/6 Tone,POCSAG,General Sequence |
| SET AUDIO:Synth Mode=<Mode> | Set Synth Mode. Sets the synthesizer mode. | Text: Off,Continuous,Burst,Disconnect Tone |
| SET AUDIO:PL Code=<Code> | Set PL Code. Sets the PL (CTCSS) code, e.g. XZ, WZ, 1A. | Text |
| SET AUDIO:DPL Code=<Code> | Set DPL Code. Sets the DPL (DCS) code, e.g. 023. | Text |
| SET AUDIO:Gen Synth=<kHz> | Set Synth FM Level. Sets the synthesizer modulation level in kHz deviation (0 to 100 kHz). | Number: 0,100 |
| SET AUDIO:DTMF Code=<Code> | Set DTMF Code. Sets the DTMF code string (0-9, A-D, #, *). | Text |
| SET AUDIO:DTMF Mode=<Mode> | Set DTMF Mode. Sets the DTMF mode. | Text: Off,Continuous,Burst |
| SET AUDIO:Microphone Mode=<Mode> | Set Microphone Mode. Sets the microphone modulation mode. | Text: Off,Continuous |
| SET AUDIO:Mod In Mode=<Mode> | Set Mod In Mode. Sets the Mod In port mode. | Text: Off,Continuous |
| SET AUDIO:High Pass Filter=<Filter> | Set Audio High Pass Filter. Sets the audio high-pass filter. | Text: 1 Hz,300 Hz,3 kHz,None |
| SET AUDIO:Low Pass Filter=<Filter> | Set Audio Low Pass Filter. Sets the audio low-pass filter. | Text: 300 Hz,3 kHz,20 kHz |
| SET AUDIO:Audio Output Load=<Ohms> | Set Audio Output Load. Sets the audio output load in ohms (1 to 10000). | Number: 1,10000 |
| SET METER:Subzone=<Meter> | Select Meter. Selects the meter shown in the METER zone. | Text: Power Meter,Voltmeter,SINAD/Distortion,Decoder,Frequency Counter,RF Scan,SNRMeter,Current Meter |
| SET METER:PWR Meter Range=<Range> | Set Power Meter Range. Sets the power meter range. | Text: 5W,10W,50W,150W |
| SET METER:Voltmeter=<Mode> | Set Voltmeter Mode. Selects the voltmeter mode. | Text: AC Volts,DC Volts |
| SET METER:Audio Meter=<Meas> | Set Audio Meter. Selects the audio measurement. | Text: SINAD/Ext Distortion,Internal Distortion |
| SET METER:Resolution=<Res> | Set Counter Resolution. Sets the frequency counter resolution. | Text: 0.001 Hz,0.01 Hz,0.1 Hz,1.0 Hz,10 Hz |
| SET METER:Decoder=<Decoder> | Set Decoder Type. Selects the decoder type. | Text: PL/Period Counter,DPL Decode,DTMF Decode,2-Tone Decode,5/6 Tone Decode,General Sequence |
| SET SPEC_AN:Monitor Frequency=<Freq> | Set SA Center Frequency. Sets the spectrum analyzer center frequency (units Hz/kHz/MHz/GHz). | Text |
| SET SPEC_AN:Span=<Span> | Set SA Span. Sets the spectrum analyzer span (units Hz/kHz/MHz/GHz). | Text |
| SET SPEC_AN:Reference Level=<Level> | Set SA Reference Level. Sets the reference level in dBm (-120 to 90). | Number: -120,90 |
| SET SPEC_AN:Vertical Scale=<Scale> | Set SA Vertical Scale. Sets the vertical scale. | Text: 10 dB/div,5 dB/div,2 dB/div,1 dB/div |
| SET SPEC_AN:Display Mode=<Mode> | Set SA Display Mode. Sets the display mode. | Text: Normal,Freeze,Max Hold,Average |
| SET SPEC_AN:Detector=<Det> | Set SA Detector. Sets the detector. | Text: Power,Peak,Sample,Mean,Valley |
| SET SPEC_AN:OBW=On | Turn On SA OBW. Turns the occupied bandwidth measurement on. | None |
| SET SPEC_AN:OBW=Off | Turn Off SA OBW. Turns the occupied bandwidth measurement off. | None |
| SET SETUP:Analog Msr Averaging=On | Turn On Analog Averaging. Turns analog measurement averaging on. | None |
| SET SETUP:Analog Msr Averaging=Off | Turn Off Analog Averaging. Turns analog measurement averaging off. | None |
| SET SETUP:Analog Msr Avg Samples=<Samples> | Set Analog Averaging Samples. Sets the analog averaging samples (2 to 100). | Number: 2,100 |
| SET SETUP:Auto Attn=On | Turn On Auto Attenuation. Turns automatic attenuation on. | None |
| SET SETUP:Auto Attn=Off | Turn Off Auto Attenuation. Turns automatic attenuation off. | None |
| SET SETUP:RF Level Offset=On | Turn On RF Level Offset. Turns the RF level offset on. | None |
| SET SETUP:RF Level Offset=Off | Turn Off RF Level Offset. Turns the RF level offset off. | None |
| SET SETUP:RF In/Out Offset=<dB> | Set RF InOut Offset. Sets the RF In/Out offset in dB (-99 to 99). | Number: -99,99 |
| SET SETUP:Ref Clock Mode=<Mode> | Set Ref Clock Mode. Sets the reference clock mode. | Text: Output,Input |
| Command | What it does | Arguments |
|---|---|---|
| GET TEST:Test Mode | Read Test Mode. Returns the current test mode. | None |
| GET SYSTEM:Mode | Read Operating Mode. Returns the operating mode (Monitor, Generate, Duplex, Track Gen, Cable Fault, VNA). | None |
| GET SYSTEM:State | Read System State. Returns the system state (INIT, RUN, LOAD, CALIBRATE). | None |
| GET RF:RF Power | Read RF Power State. Returns the RF generator output state (Off/On). | None |
| GET RF:Monitor Frequency | Read Monitor Frequency. Returns the monitor frequency. | None |
| GET RF:Generate Frequency | Read Generate Frequency. Returns the generate frequency. | None |
| GET RF:Output Level | Read Output Level. Returns the RF output level in dBm. | None |
| GET RF:Modulation Type | Read Modulation Type. Returns the modulation type. | None |
| GET RF:RX Overload | Read RX Overload. Returns the receiver overload status. | None |
| GET MONITOR:Frequency Error | Read Frequency Error. Returns the measured frequency error in Hz. | None |
| GET MONITOR:Frequency Error PPM | Read Frequency Error PPM. Returns the measured frequency error in PPM. | None |
| GET MONITOR:Input Level | Read Input Level. Returns the measured RF input level. | None |
| GET MONITOR:Deviation+ | Read Deviation Positive. Returns the measured positive deviation. | None |
| GET MONITOR:Deviation- | Read Deviation Negative. Returns the measured negative deviation. | None |
| GET SYSTEM:Squelch State | Read Squelch State. Returns the squelch state. | None |
| GET METER:Measured Power | Read Measured Power. Returns the measured RF power (Power Meter subzone). | None |
| GET METER:AC Volts | Read AC Volts. Returns the AC voltmeter reading. | None |
| GET METER:DC Volts | Read DC Volts. Returns the DC voltmeter reading. | None |
| GET METER:SINAD | Read SINAD. Returns the SINAD reading (SINAD/Distortion subzone). | None |
| GET METER:External Distortion | Read External Distortion. Returns the external distortion reading. | None |
| GET METER:Internal Distortion | Read Internal Distortion. Returns the internal distortion reading. | None |
| GET METER:SNR | Read Audio SNR. Returns the audio SNR in dB (SNRMeter subzone). | None |
| GET METER:Frequency Counter | Read Frequency Counter. Returns the audio frequency counter reading. | None |
| GET METER:PL Frequency | Read PL Frequency. Returns the decoded PL frequency. | None |
| GET METER:DPL Code | Read DPL Code. Returns the decoded DPL code. | None |
| GET METER:DTMF Code | Read DTMF Code. Returns the decoded DTMF code. | None |
| GET METER:Ext Amps | Read External Current. Returns the external current reading in A (Current Meter subzone). | None |
| GET SPEC_AN:Resolution Bandwidth | Read SA Resolution Bandwidth. Returns the resolution bandwidth. | None |
| GET DISPLAY:Spectral Data | Read Spectral Data. Returns the spectrum sample array. | None |
| GET SYSTEM:UNITID | Read Serial Number. Returns the serial number. | None |
| GET ABOUT:SystemVersion | Read System Version. Returns the system version. | None |
| GET OPTIONS:Enabled | Read Enabled Options. Returns the enabled options. | None |
| Command | What it does | Arguments |
|---|---|---|
| GO SYSTEM:RF | Go RF Zone. Navigates to the RF zone menu. | None |
| GO SYSTEM:AUDIO | Go Audio Zone. Navigates to the AUDIO zone menu. | None |
| GO SYSTEM:METER | Go Meter Zone. Navigates to the METER zone menu. | None |
| GO SYSTEM:DISPLAY | Go Display Zone. Navigates to the DISPLAY zone menu. | None |
| GO INSTRUMENTS:SPEC_AN | Go Spectrum Analyzer. Navigates to the spectrum analyzer instrument. | None |
| GO INSTRUMENTS:O_SCOPE | Go Oscilloscope. Navigates to the oscilloscope instrument. | None |
| Command | What it does | Arguments |
|---|---|---|
| DO RF:Copy Mon to Gen | Copy Monitor To Generate. Copies the monitor frequency to the generator. | None |
| DO RF:Copy Gen to Mon | Copy Generate To Monitor. Copies the generate frequency to the monitor. | None |
| DO METER:Reset | Reset Decoder. Resets the decoder / frequency counter. | None |
| DO SPEC_AN:Find Peak | SA Find Peak. Finds the peak on the spectrum display. | None |
| DO PRESETS:Load Defaults | Load Factory Defaults. Loads the factory configuration. | None |
| Command | What it does | Arguments |
|---|---|---|
| ERR? | Read Errors. Returns the active popup or message codes. | None |
| Command | What it does | Arguments |
|---|---|---|
| CLEAR | Clear Errors. Acknowledges active error messages (no popup active). | None |
| Command | What it does | Arguments |
|---|---|---|
| NOOP | No Operation. No-operation; used to poll for a Busy (2) response. | None |
| Command | What it does | Arguments |
|---|---|---|
| <Output Variable>=<Equation> | Math. Variable equals an equation like (${Var_name}= ${Var_name}/2) | Number; Text |
| Command | What it does | Arguments |
|---|---|---|
| wait(<ms>) | Wait. Waits for number of milliseconds | Number |
| Command | What it does | Arguments |
|---|---|---|
| save2var <Variable_name> | Save2Variable. Saves last measurement to a variable | Text |
| Command | What it does | Arguments |
|---|---|---|
| *IDN? | Identify. Returns the equipment ID (manufacturer, model, serial number, system version). | None |
This reference is generated from TestFlow's instrument library, which is drafted from Astronics's programming documentation for the R8000C, R8100, and R8200 and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Astronics's programming manual: check it before you rely on an edge case. Last updated September 27, 2026.
Yes. The Astronics R8000C accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 116 SCPI commands for it: 34 queries that read values or state, and 82 settings and actions.
Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, SET SETUP:Auto Attn=On and GET METER:Measured Power.
GET METER:Measured Power (read measured power). Returns the measured RF power (Power Meter subzone). The full list of queries is in the command reference on this page, grouped by subsystem.
Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Astronics R8000C through the TestFlow desktop app, and writes the report from the measured results.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.