Component: Output DAC (DSP)

From Flowcode Help
Revision as of 09:11, 12 October 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.2 (Release)
Category DSP


Image Output DAC component

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

Examples

No additional examples


Downloadable macro reference

OutputDACArray

Outputs an array of values from the input buffer appropriatley scaled to suit the DAC.

Parameters

UINT Delay
Delay in microseconds between outputting each sample.


Return value

This call does not return a value


ControlDAC

Enable or disable the DAC output,

Disabled by default.

Parameters

BOOL State


Return value

This call does not return a value


OutputDAC

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

This component does not contain any simulation macros


Property reference

Connect To

This property is of type Panel object and can be referenced with the variable name ConnectTo.

No additional information


Channel

This property is of type Fixed list of ints and can be referenced with the variable name DAC_Output1::CHANNEL.

DAC Channel number

DAC Output Pin

This property is of type Single digital pin and can be referenced with the variable name DAC_Output1::PORT.

DAC Output Pin

Vref Option

This property is of type Fixed list of ints and can be referenced with the variable name DAC_Output1::VREFOP.

Selects the maximum reference value for the DAC

Vref Voltage

This property is of type Floating point and can be referenced with the variable name DAC_Output1::VrefVol.

Reference Voltage, Used to calculate the Voltage resolution.

Control Bits

This property is of type Signed integer and can be referenced with the variable name DAC_Output1::BITS.

Number of digital control bits

Resolution

This property is of type Line of text and can be referenced with the variable name DAC_Output1::Res.

Maximum output resolution based on number of control bits.

Voltage Resolution

This property is of type Floating point and can be referenced with the variable name DAC_Output1::VoltRes.

Specifies the Resolution per digital bit in terms of Voltage.