... | @@ -44,20 +44,25 @@ You do this by adding the name of the channel (without the '_DQ' suffix) to a DA |
... | @@ -44,20 +44,25 @@ You do this by adding the name of the channel (without the '_DQ' suffix) to a DA |
|
| `_OUT_DQ` | The latest value of the filter, after all processing. (OUT 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 |
|
|
|
|
|
|
### cdsFilt
|
|
### cdsFilt
|
|

|
|
> 
|
|
|
|
|
|
The `cdsFilt` part has all the above mentioned EPICS channels.
|
|
The `cdsFilt` part has all the above mentioned EPICS channels.
|
|
|
|
|
|
### cdsFiltCtrl
|
|
### cdsFiltCtrl
|
|

|
|
> 
|
|
|
|
|
|
The `cdsFiltCtrl` block adds two additional inputs and 1 additional outputs.
|
|
The `cdsFiltCtrl` block adds two additional inputs and 1 additional output.
|
|
| Port Name | Function |
|
|
| Port Name | Function |
|
|
| --------- | -------- |
|
|
| --------- | -------- |
|
|
| In1 | Input sample, same as `cdsFilt`. |
|
|
| In1 | Input sample, same as `cdsFilt`. |
|
|
| Cin | Control input. A bitfield containing controls bits for the filter provided by the realtime logic, instead of EPICS channels like in the `cdsFilt` case. |
|
|
| Cin | Control input. A bitfield containing controls bits for the filter provided by the realtime logic, instead of EPICS channels like in the `cdsFilt` case. |
|
|
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the models realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
|
|
| Mask | Local control (LC) bitfield mask. This specifies the control bits that are controlled by the models realtime logic, instead of EPICS channels like in the `cdsFilt` case.|
|
|
|
|
|
|
|
|
#### Cin/Mask Explanation
|
|
|
|
When valid bits are set in the Mask input the filter module will use the corresponding bits from the Cin input instead of the normal `_SW1` and `_SW2` EPICS channels. This allows the realtime model to control a subset of the filters control flags.
|
|
|
|
|
|
|
|
> 
|
|
|
|
|
|
#### Additional EPICS channel
|
|
#### Additional EPICS channel
|
|
The `_MASK` channel is made available with `cdsFiltCtrl` and `cdsFiltCtrl2` parts. This is a read only channel that records the value of the Mask input port.
|
|
The `_MASK` channel is made available with `cdsFiltCtrl` and `cdsFiltCtrl2` parts. This is a read only channel that records the value of the Mask input port.
|
|
|
|
|
... | | ... | |