Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Message ID: 2437     Entry time: 10 Oct 2022
Author: Zaher Salman 
Topic: Suggestion 
Subject: JSON-RPC function to read files 
Hello ,

The midas sequencer uses the function js_seq_list_files to get a list of files in the /Sequencer/State/Path with extension *.msl. It would be nice to generalize this function to be able to read files with other (or any) extension.

Based on the js_seq_list_files I added a function in js_any_list_files mjsonrpc_user.cxx (attached) which does the job. Maybe a better/safer implementation can be made in midas. Are there any plans to do this?

thanks.
Attachment 1: mjsonrpc_user.cxx  8 kB  Uploaded 10 Oct 2022  | Show | Show all
ELOG V3.1.4-2e1708b5