Changelog
Run Control v0.2.0 (2025-07-03)
Added
Add LED current control via PLC modbus.
Add a page of documentation on git workflow.
Changed
Acoustic data now has all only one row of ndarray per trigger, instead of one row per sample.
Change the name of acoustic file to use only the provided name, no suffix.
Change a few file paths to be interpreted relative to main run control directory, and not current working directory.
Acoustic driver will save 10s of data per trigger, instead of 100ms. (Need to parametrize this at some point).
Move status lights to the bottom area out of the tabs.
Consolidate CAEN plots into subplots. Moved legends to the side.
Moved CAEN and acoustic plotting into their own classes.
Fixed
Fix the issue that camera imdaq program not getting killed at the end of run.
Fix CAEN module seg fault and errors when in external or self trigger mode.
Added a check so that stop event only runs once per event. (Need to add similar checks for other states).
Fix sync of CAEN per group plot checkbox and individual channel boxes.
Run Control v0.1.0 (2025-06-11)
Added
Add PLC / modbus module. This enables communication between run control and PLC. It can start and stop pressure cycle, set pressure setpoint, start and stop PLC taking high resolution data.
Implement autorun. If autorun box is checked and the previous run didn’t end by pressing the “STOP RUN” button, a new run will automatically start.
Create a run_info.sbc that matches the RunData SQL table for each run, and populate the event_info.sbc to match the EventData SQL table.
Add run exit code and event exit code in SQL tables. Specific definitions to come later.
Save run control version number in run info and SQL RunData table.
Add active modules in SQL and run info file.
Change init script to create a
~/.config/runcontrol/and save the SMB and SQL tokens there.Add changelog.
Add lock file so that only one instance of run control runs at a time.
Create a symlink for current run folder in data directory, in addition to the current event folder.
Changed
Change piezo file format. Now it has “range”, “offset”, and “waveforms” columns.
Fix all status lights. The status are idle, working, active, disabled, or error.
Simplify enable boxes in settings window general tab.
Main log file is renamed rc.log, and is rotated daily.
Fixed
Define fast compress pin as output pin in trigger Arduino code.
Switch the trigger and trigger latch pins in NIUSB config, because the pin may be malfunctioning as output.
Improve terminating workers and threads when closing run contorl.
Run Control v0.0.2 (2025-05-21)
Added
Saving version number of red_caen, nius- rc_ver (
VARCHAR(100)): b_6501, and sbc_binary_format.Remove dependencies from dependencies folder. Install instead using pip from github.
Added CAEN / GaGe driver install scripts to
init.sh. Created newroot_init.shto handle the parts that needs root privileges. The script also prompts for SQL token and saves to a file with proper permission.Add event pressure display in main window.
Changed
Use
git submoduleto handle dependencies that cannot be installed using pip, instead ofgit subtree.Change the structure of config file. Specifically where PLC and pressure configs are organized.
Fixed
Update documentation and bug fixes.
Run Control v0.0.1 (2025-04-25)
First versioned release of run control.