Jump to content

Component: Output DAC (DSP Outputs): Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(11 intermediate revisions by 2 users not shown)
Line 73: Line 73:


''<span style="color:red;">No additional examples</span>''
''<span style="color:red;">No additional examples</span>''




Line 79: Line 91:
==Macro reference==
==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===ControlDAC===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputDACArray'''
| width="90%" class="mtx-class-macrohead" | '''ControlDAC'''
|-
|-
| colspan="2" | Outputs an array of values from the input buffer appropriatley scaled to suit the DAC.&nbsp;
| colspan="2" | Enable or disable the DAC output,  Disabled by default.&nbsp;
|-
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| width="90%" | Delay
| width="90%" | State
|-
|-
| colspan="2" | Delay in microseconds between outputting each sample.&nbsp;
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Line 97: Line 110:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===OutputDAC===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ControlDAC'''
| width="90%" class="mtx-class-macrohead" | '''OutputDAC'''
|-
|-
| colspan="2" | Enable or disable the DAC output,  Disabled by default.&nbsp;
| colspan="2" | Outputs a single value from the input buffer appropriatley scaled to suit the DAC.&nbsp;
|-
|-
|-
| width="10%" align="center" | [[File:Fc9-bool-icon.png]] - BOOL
| width="90%" | State
|-
| colspan="2" | &nbsp;
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
Line 115: Line 124:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===OutputDACArray===
{| class="mtx-class-macrotable wikitable"
|-
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" class="mtx-class-macrohead" | '''OutputDACArray'''
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| colspan="2" | Outputs an array of values from the input buffer appropriatley scaled to suit the DAC.&nbsp;
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputDAC'''
|-
|-
| colspan="2" | Outputs a single value from the input buffer appropriatley scaled to suit the DAC.&nbsp;
|-
|-
| width="10%" align="center" | [[File:Fc9-u16-icon.png]] - UINT
| width="90%" | Delay
|-
| colspan="2" | Delay in microseconds between outputting each sample.&nbsp;
|-
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
|}




==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
Line 143: Line 156:
| colspan="2" | DSP component with output buffer to collect our data from.&nbsp;
| colspan="2" | DSP component with output buffer to collect our data from.&nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
| width="90%" class="mtx-class-propfolder" | Connections
|-
|-
|-
|-
Line 157: Line 170:
| colspan="2" | DAC Output Pin&nbsp;
| colspan="2" | DAC Output Pin&nbsp;
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | DAC
| width="90%" class="mtx-class-propfolder" | DAC
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

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 download the component source project: FC_Comp_Source_DSP_DAC.fcfx

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

ControlDAC

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


OutputDAC

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


OutputDACArray

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


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.