Roku HD2000 manual State

Page 23

button - Triggers on a GPIO Control Port button press. The format is: button:number, where number is between 0 and 12.

timeout - When a video or slide is displaying, you can use a “timeout” event. The format is: timeout:seconds where seconds is the number of seconds after the video/image starts that the event will trigger. This event can be used to advance a slide show to the next slide, or exit a looping video after a certain number of seconds of playback.

videoend - This event triggers when a video finishes playing. It can be used to move on to another state after the video ends. The format is: videoend. There are no parameters.

audioend – This event triggers when an mp3 file finishes playing. It can be used to move on to another state after the audio ends. The format is: audioend. There are no parameters.

NOTE: See the “Rollover Regions” section for two additional events you can use with CSV files.

STATE

After the EVENTS row, there are one or more STATE rows. These begin with the keyword STATE. The first cell after the STATE keyword is the name of the video or image file to display, or audio file to play. When the “state is entered”, this file starts playing. The remaining cells describe what state to jump to when the corresponding event happens. For example, in the above example, the first state is “demo_menu.bmp”. This is the main menu for the demo, and is displayed when the demo starts. While “in this state” (the demo_menu.bmp is showing), if the user presses the elo touch screen or clicks the mouse in the right spot to trigger the “elo:110:180:350:400” event, then the new state “cars.mpg” is jumped to. If you look at the STATE rows, you will find one that starts with “cars.mpg” (there can be only one state with a particular file).

To understand this better, look at the actual demo “autoplay.csv” file in Excel while playing the demo on your BrightSign. As you select options on the BrightSign, see how the .CSV file is telling the BrightSign what to do. You can then edit the “autoplay.csv” file in Excel and Save As… a CSV file to create your own applications.

Writing to the Registry and Displaying Registry Contents from a CSV file (HD2000 only)

When using CSV files on the HD2000, it is possible to track the number of times that the system transitions from one state to another using the registry (see the Registry section later in the document). To do this, append the following to the state name specified in an event column:

:counter(<registry key name>)

23

Image 23
Contents BrightSign Users Guide Introduction Brightsign Features Example Brightsign Setups Etting the D ATE/T IME on B Rights IGN HD2000 only Introduction BrightSign BrightSign HD2000 HD600 Display Resolutions BrightSign FeaturesPower Example BrightSign Setups Try the Demo ExamplesSoftware Versions BrightSign Documentation Get Hardware You Need Getting StartedDolby Digital AC3 5.1 audio in a video file Media Types SupportedPlaying Media with BrightSign Auto Playing a Video upon Power-upAuto Executing a Script Upon Power-Up Auto Playing a Playlist upon Power-upAuto Executing a .CSV File Upon Power-Up Page Getting Started PlaylistsPlaylist Commands Audiochan # default is Slideinterval # default isPause # Displayregistry registry section name default is nullLighton # Lightoff # Waitbuttonany Creating Interactive Displays Using Excel to Create Interactive SignsImagemode KeywordsFlipelo State Controlling Gpio Outputs from a CSV File HD2000 only Preloading Images State File CSV Examples Page Rollover Regions using State Files CSV Rollover Events Page Example Scheduling Playback HD2000 only Hello world ScriptsRoku Objects Gpio Control Port Registry HD2000 onlyLearning More and Support Autoplay.mpg does not play automatically TroubleshootingAutoplay & General Troubleshooting General Playback Problems with the BrightSignNo Audio during playback PlaylistsVideo output is red State Files CSV BrightSign and AccessoriesBrightSign isn’t booting up properly / Random lights lit Compact Flash card is not recognized by the BrightSign BrightSign Software Update FailsVideo Selector switch does not work Elo Touch Screen coordinates aren’t working properly USB Mouse is not respondingUSB Keyboard is not responding Selecting Compact Flash Cards AppendixBrightSign Compatibility Device Software Firmware and Upgrading Updating from the BrightSign Shell BrightSign ShellExample Shell Commands Playing Files & Changing Settings List of Shell CommandsTesting Compact Flash Cards Using SD Cards HD2000 onlyTesting Playlists Testing Scripts, Playlists, and .CSVMult-run Script Limitations Linux Shell HD2000 only Setting the Date/Time on BrightSign HD2000 onlyWriting Boot Script & Logo to Rom Using Your Own Boot LogoUsing Your Own Boot Script Displaying Images Widescreen vs x3 DiscussionSupported Input Devices Displaying VideosUSB Mice HD600 Connectors PortsHD2000 Connectors Ports
Related manuals
Manual 2 pages 57.54 Kb