
Freedom ReAct
17
Trigger Overview
ReAct currently supports three types of trigger inputs:
GPIO - momentary contact closure connections (e.g., push buttons or motion-detection sensors). You can attach up to four
GPIO devices to the player’s GPIO port and each device can trigger a specific playlist. Attributes in the config.xml file deter-
mine whether a position is normally open or normally closed, and whether another GPIO trigger may interrupt the current
playback.
Display posts or buttons that are part of a Freedom U2 or LP3 merchandising system. Up to 68 Freedom positions are sup-
ported. Positions 65-68 are special positions that connect to the positions A through D jacks on the UIM. These four special
positions can be used to control illuminating buttons (illumination is controlled through the rs232Out attribute in the config.
xml file).
Touch points on a compatible touch screen. You can create as many touch points as you want over any media content
displayed on the screen. Each content file has its own unique set of touch point triggers and you can create as many triggers
as you like for each file.
Creating Touch Points
You can add touch points over any media file by adding touch point elements (<TP>) to the config.xml file. Each touch point
is defined by a set of four values (w,h,x,y) indicating its size and position on the screen as measured in pixels. The position is
measured from the top left corner of the screen and is always defined relative to a 1280x720 canvas.
For example, on a 26” 1280x720 monitor, a touch point 2” wide by 1” high in the center of the screen
would be defined as follows:
w=”113” h=”56” x=”584” y=”332”
Once you have defined the size and location of the touch point in the config file, there are other at-
tributes that you can add to give the touch point the look that you want. For example, you can specify
the color (r,g,b values) and the transparency level to create basic colored buttons.
You can also assign an image file to your touch point, which is useful for creating special on-screen buttons. If you assign an
image file, the player places and scales the image inside your defined rectangle. You can then also set the transparency of the
image file using the transparency attribute (transparent_level=) and set the transparency of the image background using the
alpha attribute (a=). Refer to the Appendix for additional details regarding these attributes.
Using RS-232 Capabilities
The player has the ability to output any character string that you specify out the RS-232 port when content is triggered. This is
accomplished using the RS232 attribute (rs232Out=) in the config.xml file. This can be useful for triggering or controlling external
devices.
For example, you can use this to control LEDs on buttons connected to positions A through D on the UIM. A typical installation
would be to have the LED light when the button is pressed and the content plays, then turn off when the content finishes and
player goes back to the attract loop.
Likewise, the rs232Out attribute is needed to control the light rings built into the Freedom U2 display posts. In this application,
when a U2 position becomes active, the config.xml file directs the player to send the appropriate code to the UIM, instructing the
light ring on that position to change to its active color.
Examples:
Freedom U2 positions are represented by single letters. Upper case A thru Z represent positions 1 thru 26, and lower case a thru z repre-
sent positions 27 thru 52.
To change U2 position 1 light ring to the active state, enter rs232Out=”#A” in the <content> element.
To activate multiple U2 light rings, enter rs232Out=”@ABCD”. Enter multiple letters after the @ corresponding to the positions to activate.
Buttons attached to the UIM are represented by the numbers 1 thru 4.
To light the first button, enter rs232Out=”#1”. To light multiple buttons, enter rs232Out=”@1234”.
To reset all U2 light rings to their idle state and turn all button lights off, enter rs232Out=”#0”. This is usually entered into the first <con-
tent> element of the attract loop to reset all U2 lights.
w
h
x
y
Содержание Freedom ReAct Interactive
Страница 25: ...Freedom ReAct 25 APPENDIX A Playlist Elements Attributes ...
Страница 26: ...Freedom ReAct 26 ...
Страница 27: ...Freedom ReAct 27 ...
Страница 28: ...Freedom ReAct 28 ...