@@ -4,7 +4,6 @@ All three simulink blocks use the same underlying logic in the RCG, they differ
...
@@ -4,7 +4,6 @@ All three simulink blocks use the same underlying logic in the RCG, they differ
Generally speaking the `cdsFilt*` blocks take a floating point value as input then processes that input according to the blocks configuration. The block is configured at run-time through associated EPICS channels, often controlled through medm screens. Configuration can be complex with a number of options that can be combined to achieve the desired output. These blocks contain 10 infinite impulse response (IIR) filters, but the filter coefficients can be enabled/disabled so it may only be a pass through under some configurations.
Generally speaking the `cdsFilt*` blocks take a floating point value as input then processes that input according to the blocks configuration. The block is configured at run-time through associated EPICS channels, often controlled through medm screens. Configuration can be complex with a number of options that can be combined to achieve the desired output. These blocks contain 10 infinite impulse response (IIR) filters, but the filter coefficients can be enabled/disabled so it may only be a pass through under some configurations.
### Writable EPICS Configuration
### Writable EPICS Configuration
| Channel Suffix | Function | Separate Enable/Disable Bit |
| Channel Suffix | Function | Separate Enable/Disable Bit |
| `_INMON` | The latest value inputted to the module. (In1 on medm) | 16 Hz |
| `_INMON` | The latest value inputted to the module. | 16 Hz |
| `_EXCMON` | The latest value from the excitation input to the filter. (EXC on medm) | 16 Hz |
| `_EXCMON` | The latest value from the excitation input to the filter. | 16 Hz |
| `_OUTMON` | The latest value of the filter, after all processing. (OUT on medm) | 16 Hz |
| `_OUTMON` | The latest value of the filter, after all processing. (OUT on medm) | 16 Hz |
| `_OUT16` | The latest value of the filter, after all processing and filtered/decimated to 16 Hz. TODO: Add filter description (OUT on medm) | 16 Hz |
| `_OUT16` | The latest value of the filter, after all processing and filtered/decimated to 16 Hz. TODO: Add filter description (OUT on medm) | 16 Hz |
| `_OUTPUT` | The latest value of the filter, after all processing, taking into account filter output setting. `_OUTMON` will always have the calculated output, this channel will be 0 if the module's output is configured to be off. | 16 Hz |
| `_OUTPUT` | The latest value of the filter, after all processing, taking into account filter output setting. `_OUTMON` will always have the calculated output, this channel will be 0 if the module's output is configured to be off. | 16 Hz |
...
@@ -30,10 +29,18 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th
...
@@ -30,10 +29,18 @@ Generally speaking the `cdsFilt*` blocks take a floating point value as input th
| `_SW1S` | | 16 Hz |
| `_SW1S` | | 16 Hz |
| `_Name00` - `_Name09` | The names of the individual filters, set when coefficients are loaded from the filter file. | 16 Hz |
| `_Name00` - `_Name09` | The names of the individual filters, set when coefficients are loaded from the filter file. | 16 Hz |
| `_EXC_DQ` | The latest value from the excitation input to the filter. (EXC on medm) | Full Model Rate, unless decimated in DAQ channel list |
| `_IN1_DQ` | The latest value inputted to the module. (IN1 on medm) | Full Model Rate, unless decimated in DAQ channel list |
| `_IN2_DQ` | The latest value from the excitation input summed with the input to the filter. (IN2 on medm) | Full Model Rate, unless decimated in DAQ channel list |
| `_OUT_DQ` | The latest value of the filter, after all processing. (OUT on medm) | Full Model Rate, unless decimated in DAQ channel list |