Connecting to ATS9373-12 bit, 4 GS/s by Alazartech in Python
Instrument Card
ATS9373 is a 12-bit waveform digitizer board that can sample one analog input at rates up to 4 GS/s or two inputs at 2 GS/s.
Device Specification: here
Manufacturer card: ALAZARTECH
Alazar Technologies Inc. (AlazarTech) was founded in 2003 with the goal of serving the test and measurement market, in general, and the embedded waveform digitizer (OEM) market segment, in particular, by providing highly differentiated, high performance instrumentation products at affordable prices.
- Headquarters: CANADA - QC
- Yearly Revenue (millions, USD): 4
- Vendor Website: here
Demo: Record temperature over time with a LabJack DAQ board
Connect to the ATS9373-12 bit, 4 GS/s in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is a Python script that uses Qcodes to connect to an ATS9373-12 bit, 4 GS/s DAQ board:
from qcodes.instrument_drivers.AlazarTech.ATS import AlazarTech_ATSfrom qcodes.instrument_drivers.AlazarTech.ATS9373 import AlazarTechATS9373
# Connect to the ATS9373 boardats = AlazarTechATS9373('ats', dll_path='C:\\WINDOWS\\System32\\ATSApi.dll')
# Print the board IDprint(ats.get_idn())
# Set the clock source to INTERNAL_CLOCKats.clock_source('INTERNAL_CLOCK')
# Set the sample rate to 4 GS/sats.sample_rate(4_000_000_000)
# Set other parameters as needed
# Perform data acquisitiondata = ats.acquire()
# Process the acquired data as needed
# Disconnect from the boardats.close()
Note that you need to have the ATSApi.dll
file in the specified path for the script to work.