Difference between revisions of "Component: Output DAC (DSP)"

From Flowcode Help
Jump to navigationJump to search
(XML import)
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{| style="width:50%"
 
 
{| width="50%"
 
 
|-
 
|-
| width="20%" style="color: gray;" | Author
+
| width="20%" style="color:gray;" | Author
 
| Matrix Ltd
 
| Matrix Ltd
 
|-
 
|-
| width="20%" style="color: gray;" | Version
+
| width="20%" style="color:gray;" | Version
| 1.2 (Release)
+
| 1.2
 
|-
 
|-
| width="20%" style="color: gray;" | Category
+
| width="20%" style="color:gray;" | Category
 
| DSP
 
| DSP
 
|}
 
|}
  
  
 
+
==Output DAC component==
==[[File:Component Icon 4483da18_fa5a_4436_9edb_0cfb55a4bce1.png|Image]] Output DAC component==
 
 
Allows the values from a buffer to be passed directly to an internal DAC output.
 
Allows the values from a buffer to be passed directly to an internal DAC output.
  
==Examples==
+
==Component Pack==
''<span style="color:red;">No additional examples</span>''
 
  
 +
DSP
  
==Downloadable macro reference==
+
==Detailed description==
  
===<span style="font-weight: normal;"><u><tt>OutputDACArray</tt></u></span>===
 
Outputs an array of values from the input buffer appropriatley scaled to suit the DAC.
 
  
'''Parameters'''
 
  
:[[Variable Types|UINT]] ''Delay''
 
::Delay in microseconds between outputting each sample.
 
  
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
===<span style="font-weight: normal;"><u><tt>ControlDAC</tt></u></span>===
 
Enable or disable the DAC output,
 
  
Disabled by default.
 
  
'''Parameters'''
 
  
:[[Variable Types|BOOL]] ''State''
+
''No detailed description exists yet for this component''
  
 +
==Examples==
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
===<span style="font-weight: normal;"><u><tt>OutputDAC</tt></u></span>===
 
Outputs a single value from the input buffer appropriatley scaled to suit the DAC.
 
  
'''Parameters'''
 
  
:''This macro has no parameters''
 
  
  
'''Return value'''
 
  
:''This call does not return a value''
 
  
  
  
==Simulation macro reference==
+
''<span style="color:red;">No additional examples</span>''
  
''This component does not contain any simulation macros''
 
  
 +
==Downloadable macro reference==
  
==Property reference==
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
<span style="font-weight: normal;"><u>Connect To</u></span>
+
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputDACArray'''
 +
|-
 +
| colspan="2" | Outputs an array of values 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="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
This property is of type ''Panel object'' and can be referenced with the variable name ''ConnectTo''.
 
  
''<span style="color:red;">No additional information</span>''
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ControlDAC'''
 +
|-
 +
| colspan="2" | Enable or disable the DAC output,  Disabled by default.&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="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
  
 +
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 +
|-
 +
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 +
| 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" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID
 +
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 +
|}
  
<span style="font-weight: normal;"><u>Channel</u></span>
 
  
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''DAC_Output1::CHANNEL''.
 
  
DAC Channel number
 
  
<span style="font-weight: normal;"><u>DAC Output Pin</u></span>
+
==Property reference==
  
This property is of type ''Single digital pin'' and can be referenced with the variable name ''DAC_Output1::PORT''.
+
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
+
|-
DAC Output Pin
+
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
 
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
<span style="font-weight: normal;"><u>Vref Option</u></span>
+
|-
 
+
|-
This property is of type ''Fixed list of ints'' and can be referenced with the variable name ''DAC_Output1::VREFOP''.
+
| width="10%" align="center" | [[File:Fc9-type-17-icon.png]]
 
+
| width="90%" | Connect To
Selects the maximum reference value for the DAC
+
|-
 
+
| colspan="2" | &nbsp;
<span style="font-weight: normal;"><u>Vref Voltage</u></span>
+
|-
 
+
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
This property is of type ''Floating point'' and can be referenced with the variable name ''DAC_Output1::VrefVol''.
+
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Connections
 
+
|-
Reference Voltage, Used to calculate the Voltage resolution.
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
<span style="font-weight: normal;"><u>Control Bits</u></span>
+
| width="90%" | Channel
 
+
|-
This property is of type ''Signed integer'' and can be referenced with the variable name ''DAC_Output1::BITS''.
+
| colspan="2" | DAC Channel number&nbsp;
 
+
|-
Number of digital control bits
+
| width="10%" align="center" | [[File:Fc9-type-5-icon.png]]
 
+
| width="90%" | DAC Output Pin
<span style="font-weight: normal;"><u>Resolution</u></span>
+
|-
 
+
| colspan="2" | DAC Output Pin&nbsp;
This property is of type ''Line of text'' and can be referenced with the variable name ''DAC_Output1::Res''.
+
|-
 
+
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
Maximum output resolution based on number of control bits.
+
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | DAC
 
+
|-
<span style="font-weight: normal;"><u>Voltage Resolution</u></span>
+
|-
 
+
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]]
This property is of type ''Floating point'' and can be referenced with the variable name ''DAC_Output1::VoltRes''.
+
| width="90%" | Auto Adjust Scale
 
+
|-
Specifies the Resolution per digital bit in terms of Voltage.
+
| colspan="2" | Yes: Automatically convert samples to match the full bit depth of the DAC. No: Leave the samples at the native bit depth.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]]
 +
| width="90%" | Vref Option
 +
|-
 +
| colspan="2" | Selects the maximum reference value for the DAC&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Vref Voltage
 +
|-
 +
| colspan="2" | Reference Voltage, Used to calculate the Voltage resolution.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]]
 +
| width="90%" | Control Bits
 +
|-
 +
| colspan="2" | Number of digital control bits&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-10-icon.png]]
 +
| width="90%" | Resolution
 +
|-
 +
| colspan="2" | Maximum output resolution based on number of control bits.&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-type-15-icon.png]]
 +
| width="90%" | Voltage Resolution
 +
|-
 +
| colspan="2" | Specifies the Resolution per digital bit in terms of Voltage.&nbsp;
 +
|}

Latest revision as of 17:19, 9 November 2022

Author Matrix Ltd
Version 1.2
Category DSP


Output DAC component

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

Component Pack

DSP

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png OutputDACArray
Outputs an array of values from the input buffer appropriatley scaled to suit the DAC. 
Fc9-u16-icon.png - UINT Delay
Delay in microseconds between outputting each sample. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ControlDAC
Enable or disable the DAC output, Disabled by default. 
Fc9-bool-icon.png - BOOL State
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png OutputDAC
Outputs a single value from the input buffer appropriatley scaled to suit the DAC. 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-17-icon.png Connect To
 
Fc9-conn-icon.png Connections
Fc9-type-16-icon.png Channel
DAC Channel number 
Fc9-type-5-icon.png DAC Output Pin
DAC Output Pin 
Fc9-conn-icon.png DAC
Fc9-type-7-icon.png 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. 
Fc9-type-16-icon.png Vref Option
Selects the maximum reference value for the DAC 
Fc9-type-15-icon.png Vref Voltage
Reference Voltage, Used to calculate the Voltage resolution. 
Fc9-type-14-icon.png Control Bits
Number of digital control bits 
Fc9-type-10-icon.png Resolution
Maximum output resolution based on number of control bits. 
Fc9-type-15-icon.png Voltage Resolution
Specifies the Resolution per digital bit in terms of Voltage.