Analog Output

Sets an analog output pin.

Description

An 'Analog Output' block sets the 12-bit digital to analog conversion on the selected pin.

Input

Desired analog value (0-4095), where 4095 on the E407 equals 3.3 Volt
The used datatype is uint16.

Parameters
Output pin
Selects the analog output pin.
Sample time
Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.