This system configuration provides a framework for testing instances
of the FLASHER4
and LED_HMI
FB types in one remote
device (FLASHER
), with their control elements in a
separate remote device (CONTROL
).
By using the Tagged Data design pattern for UDP
multicast communication, the CONTROL.HMI
and FLASHER.LEDS
Resources can be configured identically to the CONTROL.RES1
and FLASHER.RES1
Resources of the FLASHER_TESTD
System configuration, respectively.
The side-by-side screen images below show the results of the following procedure:
-
Launching the
FLASHER
device from the screen on the right, which is connected to a Raspberry Pi 2 Model B running the Raspbian operating system, using the following terminal commands:
-
Launching the
CONTROL
device from the screen on the left, which is connected to a desktop PC running the Bodhi Linux operating system with a single-core, 32-bit CPU clocked at 2.6 GHz with a 64-GB disk drive, using the following terminal commands:
- Launching the configuration with the FBDK in a separate terminal or one of the target devices.
- Resizing the CONTROL and FLASHER windows and moving them into adjacent positions on the two displays.
-
Changing the inter-event time interval
DT
from the initial value oft#250ms
tot#500ms
. -
Changing the
MODE
from the initial value ofFLASH_ALL
toCHASE_DOWN
. - Initiating FLASHER operation by clicking on the RUN button.
This System configuration uses the Local
Multicast design pattern, as well as UDP
multicast, for the communication of data and events among
Resources. The FBDK uses the Tagged
Data design pattern to ensure consistency of the communicated
events and data, as shown in the table below. This is implemented in
the TAGS
Resources as shown below.
Tag Name | Type(s) | UDP Channel | Description |
---|---|---|---|
MODE
|
UINT
|
225.0.0.1:1025
|
|
RUNSTOP
|
BOOL,TIME
|
225.0.0.2:1027
|
(1=START,0=STOP), DT
|