2026-02-16 09:05:36 +01:00
2025-11-04 13:37:22 +01:00
2026-02-16 09:05:36 +01:00
2025-12-17 10:51:00 +01:00
2025-11-04 14:20:02 +01:00
2025-11-04 13:37:22 +01:00
2025-11-04 13:37:22 +01:00
2025-11-04 13:37:22 +01:00

Pfeiffer Vacuum Dual Gauge TPG 252 A Controller

This repository contains the driver code and "default" Midas frontend for the Pfeiffer Vacuum Dual Gauge TPG 252 A Controller.

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/pfeiffer_tpg252a_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 pfeiffer_tpg252a repository is outside of the frontend
# repository, you also need to provide a location for the pfeiffer_tpg252a
# artifacts as a second argument to `add_subdirectory`
# e.g. `./device/pfeiffer_tpg252a`
add_subdirectory(
    <path-to-pfeiffer_tpg252a-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>
  pfeiffer_tpg252a
  <additional-library-1>
  <additional-library-2>
  :
)
S
Description
No description provided
Readme 60 KiB
Languages
C++ 94.6%
CMake 5.3%