Connecting to CC126Mu by Thorlabs in Python
Instrument Card
Kiralux 12.3 MP Monochrome CMOS Camera, Hermetically Sealed Cooled Package, USB 3.0 Interface, 1/4â-20 Taps
Device Specification: here
Manufacturer card: THORLABS
Thorlabs, Inc. is an American privately held optical equipment company headquartered in Newton, New Jersey. The company was founded in 1989 by Alex Cable, who serves as its current president and CEO. As of 2018, Thorlabs has annual sales of approximately $500 million.
- Headquarters: USA
- Yearly Revenue (millions, USD): 550
- Vendor Website: here
Connect to the CC126Mu in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a CC126Mu camera using Instrumental, you can use the following Python script:
This script first lists all available instruments using the list_instruments()
function from Instrumental. Then, it connects to the first camera in the list using the instrument()
function. You can perform various operations on the camera, such as getting the camera name using the name
property. Finally, the script closes the connection to the camera using the close()
method.