Skip to content

Connecting to LDA-302P-H by Vaunix in Python

Instrument Card

The LDA-302P-H Lab Brick USB programmable 50 Ohm digital attenuator has an input power of up to +33 dBm, and offers frequency coverage of 10 to 3,000 MHz. It has an attenuation range of 31.5 dB and a step size of 0.5 dB. The unit is powered and controlled by USB connection to a PC or self-powered hub, and is programmable for fixed attenuation or swept attenuation ramps directly from the included graphical user interface (GUI) software.

LDA-302P-H

Device Specification: here

Manufacturer card: VAUNIX

VAUNIX

Vaunix Technology Corp. designs, manufactures, and services RF and microwave test equipment and digital radio communications products. Utilizing ourĀ deepĀ RF and software engineering expertise, rooted in microwave radio and wireless equipment repair and testing, Vaunix developed the Lab Brick® family of electronic test products, which set a new standard for cost, size, and simplicity of wireless testing devices. Powered by a USB connection and controlled by easy-to-use, graphical-user-interface (GUI) software, Lab Bricks have been designed to meet the needs of wireless engineers and technicians who want to create flexible, customized system solutions either in the lab or in the field. We ā€˜ve expanded our Lab Brick® family of electronic test products to include Attenuator Matrix solutions that double as WirelessĀ Handover Test SystemsĀ to give our test technicians and product engineersĀ the advanced capability to solve unique wirelessĀ _handoverĀ _testingĀ challenges and bring affordability, functionality, reliability and simplicity to the microwave test bench.

  • Headquarters: USA
  • Yearly Revenue (millions, USD): 5
  • Vendor Website: here

Connect to the LDA-302P-H in Python

PROTOCOLS > SCPI

To connect to a LDA-302P-H Digital Attenuator using Qcodes Community, you can use the following Python script:

from qcodes import Station
from qcodes_contrib_drivers.drivers.Vaunix_LDA import LDA
# Create a station to hold the instruments
station = Station()
# Connect to the LDA-302P-H Digital Attenuator
lda = LDA('lda', serial_number=302, dll_path='path/to/dll')
# Add the LDA to the station
station.add_component(lda)
# Print the IDN of the LDA
print(lda.get_idn())
# Set the attenuation to 10 dB on channel 1
lda.ch1.attenuation(10)
# Close the connection to the LDA
lda.close()

Make sure to replace 'path/to/dll' with the actual path to the DLL file for the LDA-302P-H Digital Attenuator.