Jump to content

Component: Output DAC (DSP Outputs)

From Flowcode Help
Revision as of 15:13, 20 January 2023 by Wiki bot (talk | contribs)
Author Matrix Ltd
Version 1.2
Category DSP Outputs


Output DAC component

Allows the values from a buffer to be passed directly to an internal DAC output.

Component Source Code

Please click here to view the component source code (Beta): FC_Comp_Source_DSP_DAC.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

OutputDACArray
Outputs an array of values from the input buffer appropriatley scaled to suit the DAC. 
- UINT Delay
Delay in microseconds between outputting each sample. 
- VOID Return


ControlDAC
Enable or disable the DAC output, Disabled by default. 
- BOOL State
 
- VOID Return


OutputDAC
Outputs a single value from the input buffer appropriatley scaled to suit the DAC. 
- VOID Return



Property reference

Properties
Connect To
DSP component with output buffer to collect our data from. 
Connections
Channel
DAC Channel number 
DAC Output Pin
DAC Output Pin 
DAC
Auto Adjust Scale
Yes: Automatically convert samples to match the full bit depth of the DAC. No: Leave the samples at the native bit depth. 
Vref Option
Selects the maximum reference value for the DAC 
Vref Voltage
Reference Voltage, Used to calculate the Voltage resolution. 
Control Bits
Number of digital control bits 
Resolution
Maximum output resolution based on number of control bits. 
Voltage Resolution
Specifies the Resolution per digital bit in terms of Voltage. 
Bit Depth
Max number of bits for each DAC sample. 

==Macro reference==

OutputDACArray
Outputs an array of values from the input buffer appropriatley scaled to suit the DAC. 
- UINT Delay
Delay in microseconds between outputting each sample. 
- VOID Return


ControlDAC
Enable or disable the DAC output, Disabled by default. 
- BOOL State
 
- VOID Return


OutputDAC
Outputs a single value from the input buffer appropriatley scaled to suit the DAC. 
- VOID Return



Property reference

Properties
Connect To
DSP component with output buffer to collect our data from. 
Connections
Channel
DAC Channel number 
DAC Output Pin
DAC Output Pin 
DAC
Auto Adjust Scale
Yes: Automatically convert samples to match the full bit depth of the DAC. No: Leave the samples at the native bit depth. 
Vref Option
Selects the maximum reference value for the DAC 
Vref Voltage
Reference Voltage, Used to calculate the Voltage resolution. 
Control Bits
Number of digital control bits 
Resolution
Maximum output resolution based on number of control bits. 
Voltage Resolution
Specifies the Resolution per digital bit in terms of Voltage. 
Bit Depth
Max number of bits for each DAC sample.