mathis_s 830549c0c2
Test And Build / Format (push) Failing after 3s
Test And Build / Lint (push) Failing after 16s
Initial commit for Oxford fieldcontrol driver
2026-07-27 14:44:23 +02:00

Oxford FieldControl Labview driver

This repository contains the driver code and Midas frontend for the Oxford FieldControl Labview Application.

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/oxford_fieldcontrol_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 oxford_fieldcontrol repository is outside of the frontend
# repository, you also need to provide a location for the oxford_fieldcontrol
# artifacts as a second argument to `add_subdirectory`
# e.g. `./device/oxford_fieldcontrol`
add_subdirectory(
    <path-to-oxford_fieldcontrol-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>
  oxford_fieldcontrol
  <additional-library-1>
  <additional-library-2>
  :
)
S
Description
Driver for the Oxford Fieldcontrol LabView application.
Readme
61 KiB
Languages
C++ 88.7%
C 9.6%
CMake 1.7%