↓ Skip to main content
  1. Home projects/

lvJanus: a CAEN FERS readout board in LabVIEW

··

CAEN’s FERS-5200 front-end boards come with Janus, an open-source (GPL) readout program in C. It configures the board, talks to it over USB or Ethernet and reads the data. lvJanus wraps that code in a DLL that LabVIEW can call, so the board can be part of a larger LabVIEW measurement setup.

The DLL has four stdcall functions:

  • initialize() loads the Janus configuration file and connects to the board;
  • send_receive(out, out_size, in, in_size) sends a command buffer from LabVIEW to the board and returns the response;
  • dump_info() writes the board and firmware information to the log;
  • destroy() closes the connection.

Under it is the Janus/FERS library itself, with a thin C++ wrapper that logs through spdlog. The solution also builds a small console program that tests the same calls without LabVIEW.

Source on GitHub.

Related