PDA

View Full Version : Ctouch spare memory


Dave Byron
05 Jul 06, 09:24 AM
Iam running out of the memory lots of times, meant ctouch memory.
Why the 2 different amounts and what goes into the user memory ??

dave

Total Configuration Memory Used 184544
Spare Memory 12064
Total C-Touch Memory 196608
-----------------------------------------------------------
USER SETTINGS MEMORY
Item Memory (bytes)

Spare 3660

Darren
05 Jul 06, 12:01 PM
The help file "resources" topic was a bit vague on this, so I have updated it to read :

The C-Touch Configuration Software generates a file which is transferred to a C-Touch unit. The C-Touch units have limited amounts of memory, so you are limited in the size of the configuration file that you can transfer.

To see the exact amount of memory used by your Project, select Prepare Transfer File from the Transfer menu. A file (resources.txt) is created in the project directory which has further details of the memory usage.

The 5000CTA has 192K of memory for the user configuration data. This is used to store all aspects of the Project, including Pages, Fonts, Scenes, Schedules and other Project settings.

There is an additional 8K of memory to store "user settings" which includes :
- Changes made to Scenes and Schedules since the last project transfer
- Levels of C-Bus Group Addresses.
- User settings for the backlight, screen calibration, screen contrast, daylight savings and so forth

In order to minimise the size of the transfer file, follow these hints :
- Minimise the number and size of bitmaps. A full-screen bitmap will use 10k Bytes of C-Touch memory.
- Minimise the size of Buttons
- Minimise the number of fonts used (only the fonts for clocks, level indicators and monitors are transferred)
- Make the appearance of buttons that do the same thing (eg sliders or a "back" button) identical. Identical buttons are only saved once. Anything that you can't see (eg. the group address or page link details) will not affect this. If you need lots of large buttons which are the same except for the text, use large buttons with no text (so they are the same) and over-lay text over them.

Does that answer your question, or should I put more details in there ?

Dave Byron
05 Jul 06, 01:39 PM
Darren
Very good, rest done you good.

There is an additional 8K of memory to store "user settings" which includes :
- Changes made to Scenes and Schedules since the last project transfer

so if I transfer to the ctouch unit this part should be returned to the 8k

- Levels of C-Bus Group Addresses.

is this the levels in % terms or the toolkit levels on groups

also would be nice if the check project reported out of memeory instead of haveing to do a resource check or download

Tks
dave

Darren
05 Jul 06, 03:07 PM
so if I transfer to the ctouch unit this part should be returned to the 8k


When you transfer to the C-Touch, the default settings for Scenes and Schedules are stored in this 8k. Each time you make a change, the new settings are stored here. If you select the "reset to default" option, the original value gets put back in here again.

is this the levels in % terms or the toolkit levels on groups

Level 0 - 255.

also would be nice if the check project reported out of memeory instead of haveing to do a resource check or download

This is on the list.