Decimal To Binary Conversion


Operator Menu Location: Data Conversion

Operator Bitmap:
 

Functional Description:
The Decimal to Binary Conversion block accepts an analog input x, and computes its binary representation (i=1,2,...,8). Two of the operator properties, and , define the range of the input signal. They are used to map the input signal into an integer value between 0 and 255. The mapping is

where is the base-10 output value to be mapped into the eight digital signals, (i=1,...,8). The round[] function above rounds its argument to the nearest integer.

User-Defined Properties:

Object Name. A string label that identifies the operator

Minimum (0) Value. The output value corresponding to a base-10 output value of 0 ( ).

Maximum (255) Value. The output value corresponding to a base-10 output value of 255 ( Ymax ).

Comments: None.

See Also:
Binary to Decimal Conversion, Multiplexer, Demultiplexer, A/D Conversion, D/A Conversion