Connecting to IDUS 401 CCD by Andor in Python
Instrument Card
The Scientific Grade, 1024 x 127 deep depletion spectroscopy CCD camera is ideally suited to rapid analysis, multi-channel and low-light applications including fluorescence and Raman spectroscopy.
Device Specification: here
Manufacturer card: ANDOR
Leaders In The Development & Manufacture of Cameras, Microscopy and Spectroscopy Systems.
- Headquarters: UK
- Yearly Revenue (millions, USD): 230
- Vendor Website: here
Connect to the IDUS 401 CCD in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
Here is a Python script that uses Qcodes Community to connect to an Andor IDUS 401 CCD Spectrometer:
from qcodes import Stationfrom qcodes.instrument_drivers.Andor.Andor_IDUS import Andor_IDUS
# Create a station to hold the instrumentstation = Station()
# Connect to the IDUS 401 CCD Spectrometeridus = Andor_IDUS("idus", dll_path="C:\\Program Files\\Andor SDK\\atmcd64d.dll", camera_id=0, setup=True)
# Add the instrument to the stationstation.add_component(idus)
# Print the IDN of the instrumentprint(idus.IDN())
# Set the exposure time to 1 secondidus.exposure_time(1)
# Start the acquisitionidus.start_acquisition()
# Wait for the acquisition to completeidus.wait_for_acquisition()
# Get the acquired datadata = idus.get_acquired_data()
# Print the acquired dataprint(data)
# Close the instrument connectionidus.close()
Note: Make sure to replace the dll_path
with the correct path to the atmcd64d.dll
file on your system.