Component: DAC Output (Outputs: General)

From Flowcode Help
Revision as of 15:45, 20 July 2016 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.3 (Release)
Category Outputs: General


Image DAC Output component

DAC - Digital to Analogue Converter support for PIC 8-bit and 16-bit devices.


Examples

No additional examples


Downloadable macro reference

SetOutput

Sets the output voltage of the DAC

Parameters

UINT DAC_Value
The value to output to the DAC


Return value

This call does not return a value


Disable

Disables the DAC output.

Parameters

This macro has no parameters


Return value

This call does not return a value


Enable

Enables the DAC Output.

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

GetValue

Gets the Name property value

Parameters

STRING Name
The name of the property


Return value

STRING


SetValue

Sets the Value for the named property

Parameters

STRING Name
Name of property to update
STRING Value
The new value for the property


Return value

This call does not return a value


GetList

No additional information


Parameters

STRING Name


Return value

STRING



Property reference

Channel

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

DAC Channel number

DAC Output Pin

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

DAC Output Pin

Vref Option

This property is of type Fixed list of ints and can be referenced with the variable name 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 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 BITS.

Number of digital control bits

Resolution

This property is of type Line of text and can be referenced with the variable name 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 VoltRes.

Specifies the Resolution per digital bit in terms of Voltage.

Scope Traces

This property is of type True or false and can be referenced with the variable name ScopeTraces.

Selects if the scope traces are automatically generated or not

Output Voltage

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

Simulated output voltage from the DAC output pin, based on VREF voltage, DAC control bits

and output control value.