SYSTEM FLASHER_TESTR

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:

  1. 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:
    cd fbdk3
    java -jar device.jar FLASHER RMT_FRAME MGR_ID 192.168.0.14:61499
  2. 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:
    cd fbdk3
    java -jar device.jar CONTROL RMT_FRAME MGR_ID 192.168.0.9:61499
  3. Launching the configuration with the FBDK in a separate terminal or one of the target devices.
  4. Resizing the CONTROL and FLASHER windows and moving them into adjacent positions on the two displays.
  5. Changing the inter-event time interval DT from the initial value of t#250ms to t#500ms.
  6. Changing the MODE from the initial value of FLASH_ALL to CHASE_DOWN.
  7. 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
CONTROL
CONTROL.TAGS
FLASHER
FLASHER.TAGS