Analog Input Raw
Recovers the raw analog sample.
Block ID
Analog Input Raw
Library
MotoHawk_lib/Analog I/O Blocks
Description
This blocks recovers the current ADC value specified by the Analog Input Mode block.
The raw reading represents the raw ADC value as an unsigned 16 bit integer with a bit representation as specified via the block mask. If engineering units are required then this value can be fed into the Analog Input Engineering Units block or the Analog Input Engineering Units block used in standalone form instead.
Output format is a unsigned 16 bit result.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Reference Name | Alpha-numeric text, single-quote enclosed | Reference to the Name of the Analog Input Mode block |
ADC Bit Representation | Non-zero integer | The raw ADC value is represented using this number of bits. A 10 bit specification of an internal ADC value that is 12 bits is shifted down by 2 in order to represent the raw value in the specified number of bits. |