KCMS Test Suite User's Guide

Lookup Tables

Script Name

IC_lut.scr

Concept

IC_lut.scr uses data files in the data directory to set a lookup table (LUT) structure in the profile and to get the LUT from the profile.

Description

This script demonstrates that the KCMS framework can support both 8-bit and 16-bit LUTs. Not all profiles use the LUT technology within the profile, so not all profiles will have LUTs. See the KCMS Application Developer's Guide for more information on the types of LUTs.

The SETATTR: command takes the name of the data file in the data directory containing the LUT structure of values.

The GETATTR: command prints out the LUTs. The data can be very large--75,000 values. Once the LUTs are set, the profile must be saved before they are actually written into and accessed by the GETATTR: command.

Verification

Examine the log to verify that the LUT values printed out match the LUT values in the data files.