Skip to content

Connecting to LDA-133 by Vaunix in Python

Instrument Card

The LDA-133 Digital Attenuator is a bidirectional, 50 Ohm step attenuator. The LDA-133 provides fast attenuation changes from 10 to 13000 MHz with a step size of 0.5 dB and 63 dB of control range. The attenuators are easily programmable for fixed attenuation, swept attenuation ramps and fading profiles directly from the included Graphical User Interface (GUI). Alternatively, for users wishing to develop their own interface, Vaunix supplies LabVIEW drivers, Windows API DLL files, Linux drivers, Python examples and much more.

LDA-133

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-133 in Python

PROTOCOLS > SCPI

To connect to a LDA-133 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-133 Digital Attenuator
lda = LDA('lda', serial_number=133)
station.add_component(lda)
# Print the IDN of the LDA-133
print(lda.get_idn())
# Set the attenuation to 10 dB
lda.attenuation(10)
# Close the connection to the LDA-133
lda.close()

This script creates a Station object to hold the instruments. Then, it connects to the LDA-133 Digital Attenuator by creating an instance of the LDA class with the appropriate serial number. The LDA-133 is added to the station using the add_component method.

The IDN of the LDA-133 is printed using the get_idn method.

The attenuation of the LDA-133 is set to 10 dB using the attenuation parameter.

Finally, the connection to the LDA-133 is closed using the close method.