# Config file for PhysioMonitor log-filename: SurgicalLog.txt autosave-log: yes record-root: . # the folder in which the log file will be stored create-record-folder: yes # whether to create the folder in which the data will be saved record-folder-name-format: '%Y_%m_%d' # the format used to create the record folder for each experiment print-trend-data: yes print-trend-data-period: 30 # in seconds timer-sound-file: media/beep3x6.wav # the sound file used when a timer expires # Data acquisition comedi: device: /dev/comedi0 # device name sub-device: 0 sample-rate: 1000 # in Hz channels: # following this line is a series of sections describing each channel # - chan-1: # channel-id: 0 # the comedi channel number # gain: 0 # the gain of the board # ref: comedi.AREF_GROUND # reference # window-size: 30. # in secs. The length of the trace shown on screen # remanence: 5 # the number of successive traces displayed on screen # line-color: 'b' # the color of the trace # line-width: 2. # the thickness of the line # label: "Channel 1" # the name displayed on top of the graph # units: "V" # the unit of the measurement # scale: 1.0 # scaling to convert measurement from V to real unit # offset: 0.0 # scaling to convert measurement from V to real unit # trigger-mode: 0 # valid values are: AUTO = 0 # # RISINGTHRESHOLD = 1 # # FALLINGTHRESHOLD = 2 # auto-define-threshold: yes # whether to define the threshold value automatically # threshold-window: 30. # the window of time used for threshold calculation # relative-threshold-level: 0.75 # the position of the threshold with respect to the peak-2-peak amplitude of the signal # threshold-level: 0 # the absolute threshold level in case we don't want it to me calculated automatically # autoscale: yes # adjust the y-scale automatically # ymin: 0. # in case autoscale is off, the y-value at the bottom of the axes # ymax: 1. # in case autoscale is off, the y-value at the top of the axes # trend-ymin: 0. # the y-value at the bottom of the trend (right) axes # trend-ymax: 1. # the y-value at the top of the trend (right) axes # trend-width: 1800. # this is the duration over which the trend data are kept and plotted # trend-period: 30. # this is the period between trend measurements and therefore used for averaging # trend-function: 'get_HR' # trend-function-args: {} # trend-format: '%.2f' # trend-units: 'bpm' # alarm-enabled: yes # alarm-low: 0. # values under this threshold will trigger the alarm # alarm-high: 1. # values above this threshold will trigger the alarm # alarm-sound-file: media/sound.wav # the sound file to use for the alarm - chan-1: # EKG channel-id: 0 # the comedi channel number gain: 0 # the gain of the board ref: 0 # reference window-size: 1. # in secs. The length of the trace shown on screen remanence: 3 # the number of successive traces displayed on screen line-color: 'r' # the color of the trace line-width: 2. # the thickness of the line label: "EKG" # the name displayed on top of the graph units: "V" # the unit of the measurement scale: 1.0 # scaling to convert measurement from V to real unit offset: 0.0 # scaling to convert measurement from V to real unit trigger-mode: 1 auto-define-threshold: yes threshold-window: 1. relative-threshold-level: 0.75 threshold-level: 0 autoscale: yes ymin: 0. ymax: 1. trend-ymin: 250. trend-ymax: 650. trend-width: 1800. # this is the duration over which the trend data are kept and plotted trend-period: 1. # this is the period between trend measurements and therefore used for averaging trend-function: 'get_HR' trend-function-args: {} trend-format: '%.0f' trend-units: 'bpm' alarm-enabled: yes alarm-low: 300. alarm-high: 600. alarm-sound-file: media/beep1.wav # - chan-2: # Lung Pressure # channel-id: 1 # the comedi channel number # gain: 0 # the gain of the board # ref: 0 # reference # window-size: 15. # in secs. The length of the trace shown on screen # remanence: 3 # the number of successive traces displayed on screen # line-color: 'b' # the color of the trace # line-width: 2. # the thickness of the line # label: "Lung Pressure" # the name displayed on top of the graph # units: "cmH2O" # the unit of the measurement # scale: 1.0 # scaling to convert measurement from V to real unit # offset: 0.0 # scaling to convert measurement from V to real unit # trigger-mode: 0 # auto-define-threshold: yes # threshold-window: 1. # relative-threshold-level: 0.75 # threshold-level: 0 # autoscale: no # ymin: 0. # ymax: 20. # trend-ymin: 0. # trend-ymax: 20. # trend-width: 1800. # this is the duration over which the trend data are kept and plotted # trend-period: 5. # this is the period between trend measurements and therefore used for averaging # trend-function: 'get_lastPeakValue' # trend-function-args: {} # trend-format: '%.1f' # trend-units: 'cmH2O' # alarm-enabled: no # alarm-low: 0. # alarm-high: 20. # alarm-sound-file: media/beep2.wav # - chan-3: # PCO2 # channel-id: 2 # the comedi channel number # gain: 0 # the gain of the board # ref: 0 # reference # window-size: 15. # in secs. The length of the trace shown on screen # remanence: 3 # the number of successive traces displayed on screen # line-color: 'b' # the color of the trace # line-width: 2. # the thickness of the line # label: "PCO2" # the name displayed on top of the graph # units: "%" # the unit of the measurement # scale: 1.0 # scaling to convert measurement from V to real unit # offset: 0.0 # scaling to convert measurement from V to real unit # trigger-mode: triggerTypes.AUTO # auto-define-threshold: yes # threshold-window: 1. # relative-threshold-level: 0.75 # threshold-level: 0 # autoscale: no # ymin: 0. # ymax: 6. # trend-ymin: 0. # trend-ymax: 6. # trend-width: 1800. # this is the duration over which the trend data are kept and plotted # trend-period: 5. # this is the period between trend measurements and therefore used for averaging # trend-function: 'get_lastPeakValue' # trend-function-args: {} # trend-format: '%.1f' # trend-units: '%' # alarm-enabled: no # alarm-low: 3. # alarm-high: 5.5 # alarm-sound-file: media/beep3.wav # - chan-4: # Temperature # channel-id: 3 # the comedi channel number # gain: 0 # the gain of the board # ref: 0 # reference # window-size: 30. # in secs. The length of the trace shown on screen # remanence: 1 # the number of successive traces displayed on screen # line-color: 'c' # the color of the trace # line-width: 2. # the thickness of the line # label: "Temperature" # the name displayed on top of the graph # units: "°C" # the unit of the measurement # scale: 1.0 # scaling to convert measurement from V to real unit # offset: 0.0 # scaling to convert measurement from V to real unit # trigger-mode: triggerTypes.AUTO # auto-define-threshold: yes # threshold-window: 1. # relative-threshold-level: 0.75 # threshold-level: 0 # autoscale: no # ymin: 36. # ymax: 39. # trend-ymin: 36. # trend-ymax: 39. # trend-width: 1800. # this is the duration over which the trend data are kept and plotted # trend-period: 30. # this is the period between trend measurements and therefore used for averaging # trend-function: 'get_avg' # trend-function-args: {} # trend-format: '%.1f' # trend-units: '°C' # alarm-enabled: yes # alarm-low: 36.5 # alarm-high: 37.5 # alarm-sound-file: media/beep4.wav # syringe pump pump: enabled: yes com-port: /dev/ttyS0 baud-rate: 19200 device-id: 0