Connecting to ATS9440-14 bit, 125 MS/s, 4 ch by Alazartech in Python
Instrument Card
ATS9440 is a 4-channel, 14-bit, 125 MS/s waveform digitizer based on the 8-lane PCI Express interface
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 ATS9440-14 bit, 125 MS/s, 4 ch 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 ATS9440-14 bit, 125 MS/s, 4 ch DAQ board:
from qcodes.instrument_drivers.AlazarTech.ATS9440 import AlazarTechATS9440
# Connect to the ATS9440 boarddaq = AlazarTechATS9440('daq', dll_path='C:\\WINDOWS\\System32\\ATSApi.dll')
# Print the available parametersprint(daq.parameters)
# Set the clock source to INTERNAL_CLOCKdaq.clock_source('INTERNAL_CLOCK')
# Set the sample rate to 125 MS/sdaq.sample_rate(125_000_000)
# Set the channel range for channel 1 to 0.1Vdaq.channel_range1(0.1)
# Set the channel range for channel 2 to 0.1Vdaq.channel_range2(0.1)
# Set the channel range for channel 3 to 0.1Vdaq.channel_range3(0.1)
# Set the channel range for channel 4 to 0.1Vdaq.channel_range4(0.1)
# Set other parameters as needed
# Close the connection to the boarddaq.close()
Note: Make sure to replace 'C:\\WINDOWS\\System32\\ATSApi.dll'
with the correct path to the ATSApi.dll file on your system.