Using the registry (hd2000 only) – BrightSign HD2000 User Guide User Manual

Page 94

Advertising
background image

88

Using the registry (HD2000 only)

BrightSign HD2000 has an I2C EEPROM with 2K bytes of memory that supports the storage of
persistent settings. The BrightSign software uses the registry object to read and write
BrightScript data to this eeprom. The purpose of the registry is to enable customers to store
usage statistics and other small amounts of information that may change regularly.

Individual items are stored in the registry through the use of registry keys and values. For
example, you use a registry key named “NumberOfButtonPresses” to count the number of times
a button is pressed. Registry data can be organized into different registry sections if desired.

Interactive playlists support writing to the registry, deleting from the registry, and displaying the
contents of the registry (see

Using Excel to create interactive presentations

). You can also

display the contents of the registry from a playlist (see

Playlist commands

). In addition, you can

access the registry by using a custom script that includes the roRegistry object (see the
BrightSign Object Reference Manual for additional information).

The number of registry keys and values that you can use depends on a number of factors
including the number of sections, the number of keys/values per section, and the size of the keys
and values. In typical usage, there is room in the registry for about 50 keys.

Writing to the registry from an interactive playlist (HD2000 only)

When using interactive playlists on the HD2000, you can use the registry to track the number of
times that the system transitions from one state to another. To do this, add the following to the
state name in an event column:

:counter(<registry key name>)

In the demo example, the elo:110:180:350:400 event column shows the state CARS.MPG is in.
To track the number of times that the user activates this transition, enter

cars.mpg:counter(TouchToDemoMenu)

in place of CARS.MPG. Then, each time the user

requests CARS.MPG, BrightSign increments the TouchToDemoMenu key value in the registry.

Advertising
This manual is related to the following products: