Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Selecting Detectors

Select 0D or 1D Detectors

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

Code Block
expconf

Select 2D Detectors

  • Show available detectors:

    Code Block
    detector_list


  • Select detector for use:

    Code Block
    detector_use detector_name True


  • Deselect detector for use:

    Code Block
    detector_use detector_name False


Info

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

MarCCD165_01MarCCD 165
PCO4000_01PCO4000 Micro Hutch
PCO4000_02PCO4000 Nano Hutch
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

Panel
borderColororange
titleBGColororange
titlekeithley
  • Reporting the gain setting.
  • Syntax: keithley <device>
    • <device> == The device in question.
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample
  • Show the current gain setting for i0:

    Code Block
    keithley i0

    Output:

    Code Block
    Current gain for i0 is: 10



Setting the Gain

Panel
borderColororange
titleBGColororange
titlekeithley
  • 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.
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExamples
  • Setting the gain to 6:

    Code Block
    keithley i0 6

    Output:

    Code Block
    Changed gain for i0 to: 6


  • Decreasing/Increasing the gain by 1:

    Code Block
    titleIncrease
    keithley i0 +


    Code Block
    titleDecrease
    keithley i0 -

    Output:

    Code Block
    Changed gain for i0 to: 7



Lakeshore Temperature Controllers

Listing the Available Controllers

Panel
borderColororange
titleBGColororange
titleLakeshore
  • Reporting
a Value
  • the available controllers.
  • Syntax: lakeshore
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample


Code Block
lakeshore

Output:

Code Block
Available devices: ['lakeshore_340_01']



Listing the Available Parameters

Panel
borderColororange
titleBGColororange
titleLakeshore
  • Reporting the available parameters for the controller.
  • Syntax: lakeshore <device>
    • <device> == The device in question.
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample


Code Block
lakeshore lakeshore_340_01

Output:

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



Reporting a Parameter

Panel
borderColororange
titleBGColororange
titlekeithleyLakeshore
  • Reporting the gain settingtemperature value.
  • Syntax: keithley 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.
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample with a channel
  • Show the current gain setting temperature for i0channel 1:

    Code Block
    keithley i0lakeshore lakeshore_340_01 temp 1

    Output:

    Code Block
    Current gain for i0 is: temperature is: 25.1 C



Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample without a channel
  • Show the ramp rate:

    Code Block
    lakeshore lakeshore_340_01 ramp_rate

    Output:

    Code Block
    ramp_rate is set to: 66.666



Changing a Parameter

Panel
borderColororange
titleBGColororange
titleLakeshore
  • 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.
Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample with a single value parameter
  • Show the current temperature for channel 1:

    Code Block
    lakeshore lakeshore_340_01 setpoint 100

    Output:

    Code Block
    setpoint was set to: 100



Panel
borderColorgreen
titleColorwhite
titleBGColorgreen
titleExample with a multiple values parameter
  • Show the ramp rate:

    Code Block
    lakeshore lakeshore_340_01 pid 100 0.1 10

    Output:

    Code Block
    pid is set to: 100 0.1 10



Detector Modes

Listing Detector Modes

Code Block
detectormodes_list

Setting Detector Modes

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

Code Block
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



Panel
borderColorblue
titleColorwhite
titleBGColorblue
titleContent

Table of Contents