cmdERRATTIndex

Command Code:

The Packet:

Description:

This command compares an input parameter to a reference value and calculates the error.  It attenuates this error by right-shifting it.  The ATTFAC byte is the number of shifts.  This divides the error by a power of 2.  It generates a raw input of either MSG+0 or MSG+1 based on the result:

MSG+0 -- error is less than 0

MSG+1 -- error is greater than or equal to 0

The parameter for the new raw input is the absolute value of the attenuated error.


version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.