MeasurementEngine
 
Component MeasurementEngine
MeasurementEngine
Component Level: Low
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component Name - Name of the component.
  • Trigger configuration - Measurement trigger configuration. This group allows selection of a module for hardware triggering of a ADC module. In case that no module is selected for hardware triggering, 'Software' triggering is selected in ADC module.
    • PDB module - PDB module (Programmable Delay Block) is used/unused in measured system.
      The following items are available only if the group is enabled (the value is "Used"):
      • PDB - Inherited component for configuration of PDB module (for details about settings see Component Inheritance & Component Sharing).
      • Trigger settings - Trigger settings of PDB module. This group allows to set parameters for triggering of ADC module.
        • Trigger mode - If 'Continuous mode' is set - set of PDB trigger(s) will continuously trigger ADC module according to PDB trigger setting.
          If 'One-shot' mode is set, only one set of PDB trigger(s) is enabled.
        • Trigger int. service/event - Support of interrupt service. If this property is set to "Enabled", the component functionality depends on the interrupt service and will not operate if the CPU interrupts are disabled. For details please refer to chapter "interrupt service in the component's generated code".
          The following items are available only if the group is enabled (the value is "Enabled"):
        • PDB period - Period of measuring or triggering (for more details please see General Info page and hint of OnPeriodEnd event). It is necessary to specify both a value and a unit (see Timing Setting Syntax). The setting can be made with the help of the Timing dialog box that opens when clicking on the button (...).
        • Trigger source type - Trigger source type for PDB module (Software/Hardware).
          There are 2 modes:
        • ADC module channel assignment - This group allows to assign A/D channel to trigger and select trigger parameters. Number in second column represents 'Number of ADC modules' used in measuring system.
          One Item of the list looks like:
          ADC module 0 - ADC module 'x'. This property shows what ADC module index (x) is assigned to selected ADC device in A/D converter property. In case that measuring system contains more than one ADC module this index is intended to use within ADC_StartSingleConversion, and ADC_Calibrate methods.
          Information about selected ADC device shows the following properties: A/D converter, ADC module 'x', and Device property in inherited ADC init. component.
          • Settings only if PDB contains trigger B
            • Trigger B - Trigger B is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger B in initialization - Trigger B is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay B - Trigger delay B. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select B - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode B - Enable/disable differential mode.
              • A/D conversion time B - A/D conversion time B (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete B interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger C
            • Trigger C - Trigger C is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger C in initialization - Trigger C is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay C - Trigger delay C. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select C - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode C - Enable/disable differential mode.
              • A/D conversion time C - A/D conversion time C (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete C interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger D
            • Trigger D - Trigger D is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger D in initialization - Trigger D is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay D - Trigger delay D. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select D - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode D - Enable/disable differential mode.
              • A/D conversion time D - A/D conversion time D (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete D interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger E
            • Trigger E - Trigger E is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger E in initialization - Trigger is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay E - Trigger delay E. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select E - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode E - Enable/disable differential mode.
              • A/D conversion time E - A/D conversion time E (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete E interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger F
            • Trigger F - Trigger F is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger F in initialization - Trigger is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay F - Trigger delay F. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select F - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode F - Enable/disable differential mode.
              • A/D conversion time F - A/D conversion time F (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete F interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger G
            • Trigger G - Trigger G is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger G in initialization - Trigger is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay G - Trigger delay G. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select G - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode G - Enable/disable differential mode.
              • A/D conversion time G - A/D conversion time G (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete G interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
          • Settings only if PDB contains trigger H
            • Trigger H - Trigger H is used/unused in measured system.
              The following items are available only if the group is enabled (the value is "Used"):
              • Trigger H in initialization - Trigger is Enabled/Disabled within initialization. EnableTrigger/DisableTrigger methods are intended to run-time handling this property.
              • Delay H - Trigger delay A. Delay related to period start. Maximal value that can be entered into this property is defined in PDB period property.
              • Initial channel select H - This item selects initial conversion source or disables module. The ADC module will start conversion of the selected channel after startup. List of available channels correspond to selected channel(s) in Signal Measuring group.
              • Differential mode H - Enable/disable differential mode.
              • A/D conversion time H - A/D conversion time H (for information only). This item is influenced by several properties from inherited initialization ADC component and appropriate Differential mode 'X' property from Measurement engine component. For more detailed information about timing info please open the inherited ADC component in Signal Measuring group.
              • Conversion complete H interrupt - Enable/disable conversion complete interrupt. When is enabled, an interrupt is generated upon completion of an ATD conversion. At this time, the appropriate result registers contain the result data generated by the conversion. The interrupt will remain pending as long as the conversion complete flag is set. If this property is disabled, then the conversion complete flag bit must be polled to determine when the conversion is complete.
        • Settings only if 'DAC' module is supported on selected CPU.
          • Trigger to DAC - Trigger to DAC module. In case that DAC module is set to 'Used in Dynamic configuration' and hardware triggering is allowed within this module, PDB module can be handled as trigger source for DAC module enabling/disabling this property.
            The following items are available only if the group is enabled (the value is "Enabled"):
    • Settings only if 'TOD' module is supported on selected CPU.
  • Signal Biasing - Signal biasing settings. This group allows selection of modules to (sensor) signal biasing. Modules within this section provides output signal.
    • Settings only if 'DAC' module is supported on selected CPU.
      • DAC module - DAC module could be set to 'Used in static configuration', 'Used in Dynamic configuration and to 'Unused' in measured system.
        Used in Static configuration - In this configuration DAC module provides voltage according to value in 'Data register 0' property in inherited init. component and selected reference voltage. Triggering, Interrupt and buffer are not used.
        Used in Dynamic configuration - In this configuration DAC module provides voltage according to values in 'Data register 0' - 'Data register 15' properties in inherited init. component and selected reference voltage. Triggering, Interrupt and buffer are used.
        There are 3 modes:
    • Settings only if 'VREF' module is supported on selected CPU.
    • GPIO module - GPIO module is used/unused in measured system. GPIO module can be used for simplest signal biasing purposes.
      The following items are available only if the group is enabled (the value is "Used"):
  • Signal Conditioning - Signal conditioning settings. This group allows selection of modules to signal conditioning to achieve requested level of input signal to process it in ADC module.
    If selected derivative does not contain a module for signal conditioning this group is empty.
    • Settings only if 'OPAMP' module is supported on selected CPU.
    • Settings only if 'TRIAMP' module is supported on selected CPU.
  • Signal Measuring - Signal measuring settings. This group allows selection of pins/internal signals to measuring.