Skip to content

Attenuator Commands

:ATT?

Query the current attenuation setpoint.

Response: Floating point value in dB

Example:

:ATT?
31.25

:SETATT \<value>

Set the attenuation setpoint.

Parameters:

  • <value> — Attenuation in dB. Valid range: 0 to 62.5, in steps of 0.25.

Example:

:SETATT 45.5

Errors:

  • -108 — Invalid attenuation value (out of range or invalid step size)

:STARTUPATT:VALUE?

Query the startup attenuation value — the attenuation applied when the device boots.

Short form: :STARTUPATT:VAL?

Response: Floating point value in dB

Example:

:STARTUPATT:VALUE?
62.5

:STARTUPATT:VALUE \<value>

Set the startup attenuation value. This value is persisted and applied on every device boot.

Short form: :STARTUPATT:VAL

Parameters:

  • <value> — Attenuation in dB. Valid range: 0 to 62.5, in steps of 0.25.

Example:

:STARTUPATT:VALUE 30.0

Errors:

  • -108 — Invalid attenuation value (out of range or invalid step size)

Quick Reference

Command Description
*IDN? Query identification
*RST Reset to 0 dB
*CLS Clear error queue
:ATT? Query current attenuation
:SETATT <dB> Set attenuation (0–62.5 dB, 0.25 steps)
:STARTUPATT:VALUE? Query startup attenuation
:STARTUPATT:VALUE <dB> Set startup attenuation
:SYSTem:FIRMware:VERSion? Query firmware version
:SYSTem:FIRMware:STATus? Query update status
:SYSTem:FIRMware:UPDate <url> Install firmware from URL
:SYSTem:REBoot Reboot device