As shown below, an instance of this composite
function block type provides a set of four simulated LEDs for use in
display configurations such as FLASHER_TEST, FLASHER_TESTD
and FLASHER_TESTR
.
The screenshot above shows the results of the following test procedure:
- An instance of the FB type is launched from a test window using the FBDK.
-
The FB is initialized by setting the C0 input to
red
and the C1 input togreen
, then clicking the INIT event input button. -
The LED0 and LED1 inputs are set to
TRUE (ON)
by clicking the corresponding check boxes. - The outputs are set to the corresponding colors by clicking the REQ event input button.