Monochromator: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
Line 36: Line 36:


== Device class programming ==
== Device class programming ==
=== Filter-wavelength dependence ===
A dependence between filter number and wavelength could be defined like:
1 <- 500 nm -> 3 <- 1000 nm -> 2 <- 1500 nm -> 4
Here, filter 1 is used until 500 nm, followeed by filter until 1000 nm. Filter 2 is used until 1500 nm and for all higher wavelength, filter 4 is used.
We recommend to stick with the above scheme to have a uniform handling for all device classes that are created for the module Monochromator. An example can be found in the device class 'Monochromator-Newport_OrielCornerstone260'.
=== Grating-wavelength dependence ===
Similarly to a filter-wavelength dependence, a grating-wavelength dependence could be defined like:
1 <- 800 nm -> 3 <- 1400 nm -> 2


=== Go home ===
=== Go home ===

Revision as of 21:03, 24 June 2020

Graphical user interface

Wavelength in nm

key: "Wavelength"

The wavelength in nm that is applied if the Sweep mode is set to None.

Light output

key: "Output"

A drop-down menu to select available output ports if the monochromator has multiple ones.

Filter

key: "Filter"

A combo box to select a filter or add a string that defines the filter-wavelength changes.

Grating

key: "Grating"

A combo box to select a grating or add a string that defines the grating-wavelength changes.

Input slit in µm

key: "SlitInput"

The width of the input slit in µm.

Output slit in µm

key: "SlitOutput"

The width of the output slit in µm.

Current motor position

A field to enter a number that tells the driver at which position the monochromator currently is. Basically this feature is needed for older monochromators that do not remember their position after switching them off.

Device class programming

Filter-wavelength dependence

A dependence between filter number and wavelength could be defined like: 1 <- 500 nm -> 3 <- 1000 nm -> 2 <- 1500 nm -> 4

Here, filter 1 is used until 500 nm, followeed by filter until 1000 nm. Filter 2 is used until 1500 nm and for all higher wavelength, filter 4 is used. We recommend to stick with the above scheme to have a uniform handling for all device classes that are created for the module Monochromator. An example can be found in the device class 'Monochromator-Newport_OrielCornerstone260'.

Grating-wavelength dependence

Similarly to a filter-wavelength dependence, a grating-wavelength dependence could be defined like: 1 <- 800 nm -> 3 <- 1400 nm -> 2


Go home

The button "Go home" should be used to bring a monochromator to its home position. It only works if the device class has a function "go_home". In this case, the following functions are called:

  1. connect
  2. go_home
  3. disconnect

The function "go_home" should provide all necessary commands to go back to the home position, including initialize and deinitialize if needed.