Difference between revisions of "Component: Input ADC (DSP Inputs)"
From Flowcode Help
Jump to navigationJump to search(4 intermediate revisions by the same user not shown) | |||
Line 60: | Line 60: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 98: | Line 108: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
− | |||
− | |||
Line 133: | Line 141: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:Fc9-type- | + | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] |
− | | width="90%" | | + | | width="90%" | Bit Depth |
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Maximum number of bits for each ADC sample. |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
Line 152: | Line 160: | ||
|- | |- | ||
| colspan="2" | Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. | | colspan="2" | Number of micro seconds to wait for the ADC input to charge before starting the analogue sample. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
+ | | width="90%" | Remap Values | ||
+ | |- | ||
+ | | colspan="2" | Map the analog input range to a selected output range. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Mapping | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
+ | | width="90%" | Input Full Range | ||
+ | |- | ||
+ | | colspan="2" | Selects if the entire range of the ADC is mapped. Yes: Use the full ADC range No: Use a custom ADC range | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
− | | width="90%" | | + | | width="90%" | Input Min |
+ | |- | ||
+ | | colspan="2" | Min value provided by the ADC input | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
+ | | width="90%" | Input Max | ||
+ | |- | ||
+ | | colspan="2" | Max value provided by the ADC input | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Output Min | ||
+ | |- | ||
+ | | colspan="2" | Min value to output | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
+ | | width="90%" | Output Max | ||
+ | |- | ||
+ | | colspan="2" | Max value to output | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation Slider | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
+ | | width="90%" | Show Slider | ||
+ | |- | ||
+ | | colspan="2" | Allows the ADC input to be driven from a slider. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-21-icon.png]] | ||
+ | | width="90%" | Major Tick Step | ||
+ | |- | ||
+ | | colspan="2" | The number of minor tick marks to show a major tick mark value. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-15-icon.png]] | ||
+ | | width="90%" | Minor Tick Step | ||
+ | |- | ||
+ | | colspan="2" | The scale value between consecutive minor tick marks. | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-10-icon.png]] | ||
+ | | width="90%" | Label Format | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | |
|} | |} |
Latest revision as of 16:34, 17 May 2023
Author | Matrix Ltd |
Version | 1.2 |
Category | DSP Inputs |
Contents
Input ADC component
Allows the values from a buffer to be assigned driectly from an analog enabled pin. Either a single sample at a time or a number of samples. Auto scales the digital value to fill the entire range of the specified buffer type.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_ADCInput.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_ADCInput.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
AddSample
AddSampleArray