mathis_s 94dd9eb29d
Test And Build / Format (push) Has been cancelled
Test And Build / Lint (push) Has been cancelled
Switched to find_package
2025-12-16 16:47:10 +01:00
2025-09-10 15:42:24 +02:00
2025-08-19 11:34:58 +02:00
2025-12-16 16:47:10 +01:00

Keller dV-2 PS Digital Manometer

This repository contains the driver code and Midas frontend for the Keller dV-2 PS Digital Manometer.

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/keller_dv2ps_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 keller_dv2ps repository is outside of the frontend
# repository, you also need to provide a location for the keller_dv2ps
# artifacts as a second argument to `add_subdirectory`
# e.g. `./device/keller_dv2ps`
add_subdirectory(
    <path-to-keller_dv2ps-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>
  keller_dv2ps
  <additional-library-1>
  <additional-library-2>
  :
)
S
Description
Midas driver and frontend for Keller dV-2 PS digital manometer
Readme 258 KiB
Languages
C++ 94.7%
CMake 4.6%
C 0.7%