Wednesday, July 26, 2006

Crestron Analog RAM 101

In an earlier post, I summed up some guidelines for the use of NVRAM symbols in a Crestron program. I have received some feedback that indicates that some programmers have questions about how to go about storing a variable through a reboot.

This is easy to do. Insert an Analog RAM (ARAM) symbol in your Crestron program (remember to read the earlier post on memory allocation for information about the impact of where in your program you insert the symbol)



By placing a 1 on the store, recall, and select1 inputs, you can set up the Analog RAM to constantly store all of the analog values that are connected to it. When your Crestron processor reboots, these values will be recalled because there is a 1 on recall. Any analog signal can now be stored by adding it to both the input and output side of the symbol.

As mentioned in the memory allocation article, it is a good practice to add a few lines for expansion and comment them out. This way, you won't impact memory usage if you need to add a few more signals later on.

0 Comments:

Post a Comment

<< Home