Single choice
![]() |
![]() |
| Vector | C | |
| in the palette | on the schematic |
The block implements a special algorithm for generating logical signals in the output vector depending on the change in the type of logical signal in the input vector.
Operation algorithm of the block:
- Prior to the start of the simulation process in the block dialog, only one signal (e.g., the N-th) in the output vector can be specified as a TRUE signal, regardless of the type of the corresponding (N-th) signal in the input vector.
- All other output signals are considered FALSE, regardless of the type of corresponding signals in the input vector.
- If during the simulation process some logical signal (any other than the N-th) in the input vector changed its type from FALSE to TRUE, then the corresponding signal in the output vector changes its type to TRUE (active) and at the same time the N-th signal in the output vector becomes FALSE (inactive).
Inputs
- U - the input vector port.
Outputs
- Y - the output vector port.
Properties
- Initial number of the active element of the input vector is the number of the active element at the initial moment.
Parameters
none

