# Dashboard configuration file.
# Can be loaded via Communicator GUI.

# Comments are introduced by a hash ('#') character.

# The MODEL property is optional but it is required for BLOCK PARAMETER configurations.
# The Communicator tries to load the Model from the XML file and overwrites an already loaded Model.
MODEL=C:\Users\Jirka\Desktop\skola\Diplomka\Dynamo\STM\NucleoG474_X2C_IRAMY\X2CCode\dynamo_sim.xml

# ATTENTION
# This Dashboard configuration file uses the Variable feature.
# The Variable feature requires a loaded MAP file in the Communicator which is only available for specific devices and does not work for 
# Generic Devices being used in all Demo Applications.
# To use this file with a Blinky Demo Application the following steps are required:
# - open the Demo Application project in the appropriate IDE (e.g. Code Composer Studio)
# - remove the macro containing 'GENERIC' from the defined macros list
# - add a device specific macro (e.g. __TM4C123GH6__ for the TI LaunchPad demo)
# - compile the project and download it to the target

# Block Parameter configuration:
#
# BLOCK ....... Block name including sub-system names separated by a dot ('.')
# PARAMETER ... Block Parameter name (as the name specified in the block's help)
# VALUE ....... Initial Dashboard value
# ALIAS ....... Parameter name shown in Dashboard
# MIN ......... Minimum value limit; empty/no value to not set a limit
# MAX ......... Maximum value limit; empty/no value to not set a limit
# OFFSET ...... Offset value for Gain-Offset calculation
# GAIN ........ Gain value for Gain-Offset calculation
# UNIT ........ Unit shown in Dashboard; empty/no value to not set an unit

# Configures a Block Parameter editor element.
# This element configures the 'Amplitude' Constant Block which controls the amplitude for both, 'SinGen' and 'Sin3Gen' blocks
# Initial value: 7.5 V
# Range: 0 - 10 V
# Block Parameter value = Dashboard value * GAIN + OFFSET = Dashboard value * 0.1 + 0.0
# Unit: V
# BLOCK=Amplitude
# PARAMETER=Value
# VALUE=7.5
# ALIAS=Sine Amplitude
# MIN=0
# MAX=10
# OFFSET=0.0
# GAIN=0.1
# UNIT=V

# Configures a Block Parameter editor element.
# This element configures the 'Frequency' Constant Block which controls the frequency for both, 'SinGen' and 'Sin3Gen' blocks
# Initial value: 10 Hz
# Range: 0 - 1000 Hz
# Block Parameter value = Dashboard value * GAIN + OFFSET = Dashboard value * 0.001 + 0.0
# Unit: Hz
# BLOCK=Rizeni.ManualSwitch
# PARAMETER=Value
# VALUE=1
# ALIAS=Excitation current
# MIN=0
# MAX=2
# OFFSET=0.0
# GAIN=1
# UNIT=A

# Configures a Block Parameter editor element.
# This element configures the 'Ki' Parameter of Integrator Block 'I' in sub-system 'Oscillator'.
# Initial value: 30
# Range: 0 - Infinite (no limit)
# Block Parameter value = Dashboard Value * GAIN + OFFSET = Dashboard value * 1.0 + 0.0 -> Dashboard value = Block Parameter value
# Unit: (no unit)
# BLOCK=Oscillator.I
# PARAMETER=Ki
# VALUE=30
# ALIAS=Oscillator Integral Factor
# MIN=0
# no maximum limit
# MAX=
# OFFSET=0.0
# GAIN=0.2
# no unit
# UNIT=

# Configures a Variable element.
# ATTENTION: A variable element requires a loaded MAP file containing the variable name.
#            The MAP file parser only works for specific devices and is not supported for generic target types.
#            Therefore, Demo Applications which use a generic target type cannot use the Variable feature.
# This element uses the Variable 'globalVarIncrement' assuming data type 'int16'.
# Dashboard Value = (Target Value - OFFSET) / GAIN = (Target value - 0.0) / 1.0
# Unit: rpm
# VARIABLE=globalVarIncrement
# TYPE=int16
# ALIAS=Speed
# OFFSET=0.0
# GAIN=1.0
# UNIT=rpm

# Configures a Variable element.
# ATTENTION: A variable element requires a loaded MAP file containing the variable name.
#            The MAP file parser only works for specific devices and is not supported for generic target types.
#            Therefore, Demo Applications which use a generic target type cannot use the Variable feature.
# This element uses the Variable 'globalVarConst' assuming data type 'uint8'.
# Dashboard Value = (Target Value - OFFSET) / GAIN = (Target value - 10.0) / 2.0
# Unit: uF
VARIABLE=rpm
TYPE=float32
ALIAS=RPM
OFFSET=0.0
GAIN=0.0
UNIT=rpm
