Double To Fixed-Point (16-Bit)

This MotoHawk™ block converts from a floating-point double to a 16-bit integer fixed point number in a given B-scale.

Block ID

Double to Fixed Point

Library

MotoHawk_lib/Fixed Point Blocks

Description

Converts from a floating-point double to a 16-bit integer fixed point number in a given B-scale (B value depends on required or likely data value range -- generally, larger B values increase value range and reduce resolution). For more information, see Fixed Point Values and B Numbers.

Block Parameters

Parameter Field Values Comments/Description
Input B Scale Numeric Supply applicable numeric value for "B" - larger B values increase value range and reduce resolution.