Connecting to LDA-802-12 by Vaunix in Python
Instrument Card
The LDA-802-12 Digital Attenuator is a rack mounted 12-channel high dynamic range, bidirectional, 50 Ohm step attenuator. The LDA-802-12 provides 120 dB of attenuation control range from 200 to 8000 MHz with a step size of 0.1 dB. 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.
Device Specification: here
Manufacturer card: 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-802-12 in Python
PROTOCOLS > SCPI
To connect to a LDA-802-12 Digital Attenuator using Qcodes Community, you can use the following Python script:
from qcodes import Stationfrom qcodes_contrib_drivers.drivers.Vaunix_LDA import LDA
# Create a station to hold the instrumentsstation = Station()
# Connect to the LDA-802-12 Digital Attenuatorattenuator = LDA('attenuator', serial_number=80212)
# Add the attenuator to the stationstation.add_component(attenuator)
# Print the IDN of the attenuatorprint(attenuator.get_idn())
# Set the attenuation to 10 dBattenuator.attenuation(10)
# Close the connection to the attenuatorattenuator.close()
This script creates a Station
object to hold the instruments. It then connects to the LDA-802-12 Digital Attenuator using the LDA
driver from the qcodes_contrib_drivers
package. The attenuator is added to the station, and its IDN is printed. The attenuation is set to 10 dB, and finally, the connection to the attenuator is closed.