Page tree

Selecting Detectors

Select 0D or 1D Detectors

0D and 1D counting detectors are available via the following command in spock:

expconf

Select 2D Detectors

  • Show available detectors:

    detector_list
  • Select detector for use:

    detector_use detector_name True
  • Deselect detector for use:

    detector_use detector_name False

Instead of True and False, one can also use 1 and 0.

Info on Available Detectors

NameInfo
Eiger4m_01P06 Eiger
Lambda750k_01Lambda Si 750k 01 Detector Pool
Lambda750k_02Lambda Si 750k 02 Detector Pool
Maia

Maia Detector

PCO4000_01PCO4000 EH1
PCO4000_02PCO4000 EH1
Pilatus300k_01Pilatus 300k from the detector loan pool
Pilatus300k_02Pilatus 300k from P10
SLcamSLcam

Keithley Picoameters

Some of the detectors use Keithley picoameters. To check or change the gain one can use the following command:

Reporting the Gain Setting

keithley
  • Reporting the gain setting.
  • Syntax: keithley <device>
    • <device> == The device in question.
Example
  • Show the current gain setting for i0:

    keithley i0

    Output:

    Current gain for i0 is: 10

Setting the Gain

keithley
  • Setting the gain.
  • Syntax: keithley <device> <gain_action>
    • <device> == The device in question.
    • <gain_action> == This can be an integer, setting the gain to the provided value, or a '+' | '-' sign to increase or decrease the gain setting by 1.
Examples
  • Setting the gain to 6:

    keithley i0 6

    Output:

    Changed gain for i0 to: 6
  • Decreasing/Increasing the gain by 1:

    Increase
    keithley i0 +
    Decrease
    keithley i0 -

    Output:

    Changed gain for i0 to: 7

Lakeshore Temperature Controllers

Listing the Available Controllers

Lakeshore
  • Reporting the available controllers.
  • Syntax: lakeshore
Example
lakeshore

Output:

Available devices: ['lakeshore_340_01']

Listing the Available Parameters

Lakeshore
  • Reporting the available parameters for the controller.
  • Syntax: lakeshore <device>
    • <device> == The device in question.
Example
lakeshore lakeshore_340_01

Output:

Available parameters: ['setpoint', 'temp', 'ramp_rate', 'start_ramp', 'stop_ramp', 'pid']

Reporting a Parameter

Lakeshore
  • Reporting the temperature value.
  • Syntax: lakeshore <device> <parameter> <channel>
    • <device> == The device in question.
    • <parameter> == The parameter to report the value of.
    • <channel> == Optional parameter for parameters of which are multiple.
Example with a channel
  • Show the current temperature for channel 1:

    lakeshore lakeshore_340_01 temp 1

    Output:

    Current temperature is: 25.1 C
Example without a channel
  • Show the ramp rate:

    lakeshore lakeshore_340_01 ramp_rate

    Output:

    ramp_rate is set to: 66.666

Changing a Parameter

Lakeshore
  • Changing the ramp rate.
  • Syntax: lakeshore <device> <parameter> <new_value>
    • <device> == The device in question.
    • <parameter> == The parameter to report the value of.
    • <new_value> == The value(s) to which the parameter need to be set. Depending on the parameter these can be multiple values.
Example with a single value parameter
  • Show the current temperature for channel 1:

    lakeshore lakeshore_340_01 setpoint 100

    Output:

    setpoint was set to: 100
Example with a multiple values parameter
  • Show the ramp rate:

    lakeshore lakeshore_340_01 pid 100 0.1 10

    Output:

    pid is set to: 100 0.1 10

Detector Modes

Listing Detector Modes

detectormodes_list

Setting Detector Modes

For example one wants to set for the detector "picoscale_01" the mode "source_mode" to 2:

detectormodes_set [picoscale_01,source_mode] 2

Detector Modes Descriptions

PicoScale

Frame Rate

The PicoScale only supports discrete frame rates:

ModeHz

0

1220
12441
24882
39765
419531
539062
678125
7156250


Source Mode

Determines which data sources are automatically selected when available.

ModeSelected Sources
0
  • All
1
  • Position
2
  • Position
  • Raw Signal
3
  • Position
  • Raw Signal
  • Temperature | Pressure | Humidity
Content

  • No labels