List Box Buttons
103
PDesign4 Touch Panel Design Software (v2.10 or higher)
Working With Dynamic List Box Data
Dynamic List Box Data
Dynamic List Box data populates button information based upon communications between the panel and
a NetLinx Master. Unlike static data, the list information displayed on the device is present on the Master
and not the device.
Dynamic List data must be included in the NetLinx code running on the NetLinx Master in order to be
available for use on List Box Buttons.
Dynamic tables are great for creating parameters for displaying changing options, i.e., date, time or
temperature; however, if the device loses power it will not be able to display the last known states.
Creating a Dynamic List Data Table
Dynamic List Data is provided to the associated List Box Button by the NetLinx Code running on the
NetLinx Master that the panel is connected to.
Use List Box commands (Data List and Command Structure List View commands to define List Box
Data in your NetLinx Code. See the List Box Commands section on page 103 for descriptions of these
commands.
Once you have created a list Box Button, and defined List Data in your NetLinx Code (with Data List
Commands), you are ready to associate the List Data Table to the List Box Button. It is this association
that allows the data in the List Data to be displayed on the List Box Button.
List Box Commands
There are two types of List Box Commands that can be used to define List Box Data in your NetLinx
Code: Data List Commands and Command Structure List View.
Data List Commands
Dynamic List Box buttons require the same List Box navigation buttons as static
tables do. See List Box Buttons - Navigation Buttons section on page 95 for details.
Data List Commands
^LDN
Create a new data list
Creates a new data list. Unique list addresses and names are handled pro-
grammatically.
Syntax:
"'^LDN-<list port>,<list address>,<column count>,<list
name>'"
Variables:
• list port = port where data resides
• list address = address where data resides
• column count = the number of data columns (includes hidden columns)
• list name = User specified name for the data list
Example:
SEND_COMMAND Keypad, "'^LDN-5,1,4,my songs'"
Creates a data list of 4 columns named "my songs" and places it at port 5,
address 1.