The ltshow.txt file definition, Keyword optparam1 optparam2 – TeeJet SmartPad II Lightshow User Guide User Manual

Page 2

Advertising
background image

Page 2 of 11

After you have installed the program, turn the unit off. Remove the PC card and turn the unit back on.

Return to the Tools menu, you should see the Light Show program in the menu listings. You can now
run Light Show with out a PC card in the Smartpad PC slot.

If you want to change the Light Show sequence, you can modify the ltshow.txt file located in the install
folder of the PC card. Read the section below describing how to modify the ltshow.txt file.

The ltshow.txt File Definition

Ltshow.txt contains the list of lightbar states that the Light Show program will cycle through. Each state
takes up a single line and ends with a carriage return. Since the last state in the file is followed by a
carriage return, there will be one blank line at the end of the ltshow.txt file.

Each state is composed of a keyword and one or more optional parameters, in the form:

Keyword OptParam1 OptParam2

The keyword and parameters are space delimited. At this time, no state contains more than two
parameters. If a state does not have any parameters, its keyword is immediately followed by a carriage
return. If a keyword is entered improperly, it will be skipped by Light Show.

A definition of each of the states is given below.

Keyword: all_lights_on

[OptParam1] None

[OptParam2] None

Definition: Turns all of the lightbar (non-screen) LEDs on.

Example: "all_lights_on" - turns all lightbar LEDs on.

Keyword: all_lights_off

[OptParam1] None

[OptParam2] None

Definition: Turns all of the lightbar (non-screen) LEDS off.

Example: "all_lights_off" - turns all lightbar LEDS off.

Keyword: light_check

[OptParam1] None

[OptParam2] None

Figure 1: all_lights_on

Advertising