beautypg.com

Memory management – Quantum Data 802BT User Manual

Page 61

background image

802BT/802R Video Test Generator User Guide

51

Memory management

The generator includes commands to manage its internal memory resources. These

commands or useful if the generator exhibits degraded performance or other anomolies.

To verify and correct memory related anomolies:

1. Check the generator’s memory for corruption by running a memory self test:

MEMT

// runs the memory self test

MEMT

? // returns the results of the memory self test

1

// returned value from the memory self test

A value of “0” indicates no memory corruption or inconsistency was found. A value of

“1” indicates that there is a memory anomoly.

2. If the memory self test reveals a memory corruption, re-initialize the generator:

BOIT

// re-initializes the generator

3. If the memory self test does not reveal a memory corruption, check to see if there is

enough free memory and contiguous memory:

MEMF?

// queries for the free memory

808320 // returns the amount of free memory

MEML?

// queries for the largest contiguous block of free memory

816568 // returns the largest contiguous block of free memory

If the amount of memory is low or the amount of contiguous memory is low the memory

should be compacted.

4. Compact the generators memory:

MEMC

// compacts the memory

MEML?

// queries for the largest contiguous block of free memory

818280 // should show larger block of contiguous free memory

This manual is related to the following products: