2025-12-16 14:46:37 +01:00
2025-11-18 14:56:46 +01:00
2025-11-18 14:56:46 +01:00
2025-11-18 14:56:46 +01:00
2025-12-16 14:46:37 +01:00
2025-11-18 14:56:46 +01:00
2025-11-18 14:58:13 +01:00

Lakeshore 336 Cryogenic Temperature Controller

This repository contains the driver code and "default" Midas frontend for the Lakeshore 336 cryogenic temperature controller.

The manual can be found under the following link: https://www.lakeshore.com/docs/default-source/product-downloads/336manual.pdf?sfvrsn=fa4e3a80_12 A copy of the manual has been placed in this repository.

Requirements

Requires a Midas installation with the environment variable MIDASSYS pointing to the built Midas artifacts and headers.

Build

Clone this repository, enter the cloned directory, and then build via CMake.

cmake -S "$(pwd)" -B <directory-to-build-in> -DBUILD_FRONTEND=ON
cmake --build <directory-to-build-in> --clean-first -- -j8

Run

/build/driver/lakeshore_336_fe -e flame

Including in Custom Frontend

To include this driver in a custom frontend, you should ensure the environment variable MIDASSYS points to your system install and include a snippet in your CMakeLists.txt similar to the following:

# If the path to the lakeshore_336 repository is outside of the frontend
# repository, you also need to provide a location for the lakeshore_336
# artifacts as a second argument to `add_subdirectory`
# e.g. `./device/lakeshore_336`
add_subdirectory(
    <path-to-lakeshore_336-repository>
)

add_executable(
  <frontend-name>
  <frontend-code-path-1>
  <frontend-code-path-2>
  :
)

set_property(
  TARGET
    <frontend-name>
  PROPERTY
    CXX_STANDARD 11
)

target_include_directories(
  <frontend-name>
  PRIVATE
    $ENV{MIDASSYS}/drivers
    $ENV{MIDASSYS}/include
)

target_link_libraries(
  <frontend-name>
  lakeshore_336
  <additional-library-1>
  <additional-library-2>
  :
)
S
Description
Driver for the LakeShore 336 Cryogenic Temperature Controller
Readme 7.9 MiB
Languages
C++ 92.9%
C 4.3%
CMake 2.8%