
Planning Your Application
Chapter 4
4-23
As you develop your application, the amount of PanelView memory that
the file will require is displayed in the lower left corner of the screen.
You can estimate the size of an application file before you create it, by
calculating the memory requirements of each element. To calculate an
application file’s size:
1. Start with the approximate size of an empty application file:
V1 909 bytes
V2 1001 bytes
V3 967 bytes
V4 959 bytes
V5 962 bytes
2. If the application file will have Information Messages, add: (2 bytes x
Largest Message Number), plus
1 byte per message, plus
1 byte per character in each message.
3. If your application file will have Alarm Messages, add:
(2 bytes x Largest Message Number), plus
1 byte per message, plus
1 byte per character in each message.
If options are defined for each alarm message such as activate audio,
print message, energize relay, add
(1 byte x Largest Message Number with defined flags).
4. If the application file will have Local Messages, add:
(2 bytes x Largest Message Number), plus
1 byte per message, plus
1 byte per character in each message.
5. For application screens, add:
(2 bytes x Largest Screen Number), plus
26 bytes per screen, plus
1 byte for each character in the Screen Name.
6. For each object on each screen, add:
the object’s memory size specified on the next page, plus
1 byte for each character in the Object Name.
7. For the first background object on each screen (excluding Arcs) add 2
bytes.
8. For all text including Background Text object and text associated
with an object on each screen, such as button text, state text, outer
text, and list text, add:
8 bytes for each text element, plus
1 byte for each character.
Estimating PanelView Terminal
Memory Requirements
Komentáře k této Příručce