88
<RF
n
>
Restore Frame
System
Description
Restore a previously saved frame to the currently active frame
Parameters
n
= 0 to 2
- Saved Frame memory location
Modes
The <WM
n
> Write Mode has no effect on this command
Notes
This command restores a frame image saved with the <SF> command to the currently active frame.
The parameter
m
specifies which memory location the stored frame is recovered from:
n
= 0 specifies EEprom area 0
n
= 1 specifies EEprom area 1
n
= 2 specifies the scratchpad area in RAM
The scratchpad area is faster than the EEprom areas, but must be used with care as some
commands will overwrite this location. See the <SF> Save Frame command for details
Uses
The <RF> command allows:
•
Images to be transferred from one frame to another
•
Any data screen to be flashed using the sequence <SF0,2><FL><EF><BM2><RF2>
Example
Assume the display is showing some data, and our active frame is
set to the same value as the visible frame
<SF0,2>
Save frame 0 to scratchpad RAM
<CS>
Clear screen for new message
<LN>
Move down a line
<WTImportant>
Write out a message….
<LN>
<WTMessage>
<CM7,0>
<WTAny key to
confirm>
<RS>
Wait for an operator response.
N.B. Loop sending this command until either a response or timeout
<RF2>
Restore the original screen from scratchpad
Gotchas!
Attributes are not restored
The currently Active Frame may not be the currently Visible Frame
See Also
AF
Active Frame
SF
Save Frame
VF
Visible Frame