Examples, Preloading images – BrightSign HD2000 User Guide User Manual

Page 40

Advertising
background image

34

Examples

Demo_menu.bmp:gpios(1;3;5)

When BrightSign enters the demo_menu.bmp state, LED’s 1, 3, and 5 are turned on; the other
LED’s are turned off.

aq.mpg:gpiosOn(2)

When BrightSign enters the aq.mpg state, LED 2 is turned on and the other LED’s are unaffected.

ppt10.bmp:gpiosOff(0;2;4)

When BrightSign enters the ppt10.bmp state, LED’s 0, 2, and 4 are turned off; and the other LED’s
are unaffected.

product1.bmp:gpios()

When BrightSign enters the product1.bmp state, All LED’s are turned off.

Preloading images

The autoplay script preloads still images so that appear automatically when a user triggers their
display. Here are the rules that apply to preloading an image:

If a state row only has one possible next image state, then the next image is preloaded.
If a state row has more than one possible next image state, and one of them is the next row in

the state table, then the image associated with the next state is preloaded. Therefore, if you
have a sequence of images that display one after the other and you want them to preload, put
them in sequential rows in the state table. To see an example of this, look at the BS1.BMP,
BS2.BMP, etc. state rows in the interactive playlist demo.

Advertising
This manual is related to the following products: