Skip to content

WIP: Add multi-process protection to multi-part power supply commands

Karol Krizka requested to merge kk_lockps into devel

The ICom interface supports obtaining a process lock on the device. It is currently used in the ICom::sendreceive function to prevent process B from reading a response to a command send by process A.

This MR uses the locking mechanism to add multiprocess protection to multipart Power Supply commands. The main example is that commands that set a channel and then read data should not be interrupted by another process that potentially changes the channel.

The following classes are modified:

  • SCIPPs
  • DT54xxPs
  • SorensenPs
  • Keithley24XX
  • Keithley22XX

WIP:

  • test test test
  • Finish implementing all power supplies
Edited by Karol Krizka

Merge request reports