Connecting to Gentec EO Maestro by Gentec Eo in Python
Instrument Card
Touchscreen display device for power & energy measurement. Single-channel, multiple outputs (USB, Ethernet, analog).
Device Specification: here
Manufacturer card: GENTEC EO
Gentec-EO is a manufacturer of laser beam measurement technologies
- Headquarters: Canada - QC
- Yearly Revenue (millions, USD): 14
- Vendor Website: here
Connect to the Gentec EO Maestro in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a Gentec EO Maestro Screen Display using Qcodes Community, you can use the following Python script:
This script creates a Gentec_Maestro
class that inherits from VisaInstrument
provided by Qcodes. It initializes the instrument by setting the baud rate, querying the instrument information, and adding parameters for power, wavelength, and zero offset enabled.
To connect to the Gentec EO Maestro powermeter, you can create an instance of the Gentec_Maestro
class with the appropriate name, address, and baud rate. In the example above, it connects to the instrument with the name 'maestro'
, address 'ASRL1::INSTR'
, and baud rate 115200
.
You can then use the added parameters to retrieve the power reading, wavelength setting, and check if the zero offset is enabled. The clear_zero_offset
and set_zero_offset
methods can be used to clear or set the zero offset, respectively.
Finally, the script closes the connection to the powermeter using the close
method.
Note: Make sure to replace 'ASRL1::INSTR'
with the correct address of your Gentec EO Maestro powermeter.