Digital to Analog Convertor block
That block is an ideal Digital To Analog Converter. The regular output is computed with the formula :
with u the input, q the step and Vmin the minimum value of the output.
u is understand as a vector of integer number where the number of bit per integer is defined by the dialog parameter 'Number of bits'.
The input numbers can also be described with the 2 complement arithmetic notation.
- Step
The step of the analog output value.
Properties : Type 'vec' of size -1.
- Minimun output value
The minimun analog output value where the convertion begins.
Properties : Type 'vec' of size -1.
- Number of bits
The length in bits of the digital input code.
Properties : Type 'vec' of size -1.
- 2's complement (0:no, 1:yes)
Unsigned input integer (0) or signed intput integer (1).
Properties : Type 'vec' of size -1.
- Inherit (no:0, yes:1)
Herits events by its regular input ports (disable the event input port).
Properties : Type 'vec' of size -1.
- always active: no
- direct-feedthrough: yes
- zero-crossing: no
- mode: no
- regular inputs:
- port 1 : size [1,1] / type 1
- regular outputs:
- port 1 : size [1,1] / type 1
- number/sizes of activation inputs: 0
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: no
- object discrete-time state: no
- name of computational function: dac
- MODNUMCOS/macros/scicos_blocks/NonLinear/DAC_c.sci [view code]
- MODNUMCOS/routines/nonlinear/dac.c (Type 4) [view code]
INRIA Alan Layec