Using KPDesign
17
KPDesign Keypad Design Program
Where:
When using two or more keypad panels, you can create a single three-dimensional array for a
keypad panels, instead of separate two-dimensional arrays for each keypad panel.
Compiling the NetLinx Code
Be sure to that the newly compiled file resides in the same directory where the NetLinx Source
Code for this system exists.
Compile the program using these files:
!
DMS-IMSMOD.TKO
!
KPDesignTools.AXI
To compile the program, choose Build > Compile.
Downloading the Source Code File to the Master
Once the Source Code file has been compiled (using the DMS-IMS NetLinx module), you can use
NetLinx Studio to download the .KPD file to the system Master.
NetLinx Studio treats KPD files the same as TPD files, since they are both User-Interface (UI) file
types. When you import a KPD file into a Project, NetLinx Studio automatically stores the file in
the UI System folder (along with TPD files).
Before downloading the KPD file to the target keypad(s), be sure that you have successfully
compiled the Source Code file that contains the keypad module, and downloaded it to the Master.
To download a KPD file to a keypad in the active Project:
1.
Open the Project containing the DMS or IMS keypad(s).
2.
In the Project Navigator (FileView tab), right-click on the KPD file and select Device
Mapping.
3.
In the Device-File Mapping dialog, select the Master and System number, and click Map to
open the Device dialog.
4.
In the Device dialog, enter the device (D:P:S) information defined for the Master, and click
OK.
5.
Choose Tools > Master Comm Settings to verify the communication settings in the
Communication Setting dialog.
6.
In the Project Navigator (FileView tab), right-click on the KPD file and select Download.
DVVirt
an arbitrary Virtual Device number you define (range for keypad panels
= 32768 -36863).
DvDMS
the real device number of the DMS or IMS panel.
StrFileName
a string variable (CHAR array) containing the file name of the KPD file
to download or run.
StrVarTextArray
a two-dimensional array to store variable text in. The first dimension
should be the largest variable text string number you want to use. The
second dimension should be the maximum size of the string you want
displayed (maximum is 40 characters).
Summary of Contents for KPDesign
Page 1: ...instruction manual Software KPDesign Keypad Design Program...
Page 12: ...Introduction 8 KPDesign Keypad Design Program...
Page 22: ...Using KPDesign 18 KPDesign Keypad Design Program...
Page 24: ...Troubleshooting 20 KPDesign Keypad Design Program...