Raptor:Measurement: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor:Data Storage|Return to Data Storage page]]
[[Raptor-Dev-Data-Storage-Library|Return to Data Storage page]]


[[File:RaptorMeasurement.jpg|right|frame|Raptor Measurement]]
[[File:RaptorMeasurement.jpg|right|frame|Raptor Measurement]]
Line 14: Line 14:
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|}
== Outputs ==
{| class="wikitable" style="width:75%;"
|-
|-
! scope="col" style="width: 15%;"|Output
! value
! scope="col" style="width: 15%;"|Type
|
! scope="col" style="width: 70%;"|Description
| The measurement value to be shown inside the calibration tool.
|}
|}


Line 85: Line 81:
| Sets the location where the variable appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model.
| Sets the location where the variable appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 19:51, 13 September 2023

Return to the main Raptor page

Return to Data Storage page

Raptor Measurement

Description

The Raptor™ measurement block is used to make values available within the calibration tool. A measurement is a value which typically read only within the calibration tool.

Inputs

Input Type Description
value The measurement value to be shown inside the calibration tool.

Parameters

Parameter Type Description
Name String This is the name of that will appear in the calibration tool. The name must be a valid C identifier.
Name Source Chooses whether the name should come from the parameter or input wire name.
Display As Specifies how to display the value in the calibration tool.
Gain Number This controls the scaling used to display the data in the cal tool.

display value = (Gain * actual value) + Offset

Offset Number This controls the scaling used to display the data in the cal tool.

display value = (Gain * actual value) + Offset

Max Number Sets the maximum value that can be set to any table data point in the calibration tool.
Min Number Sets the minimum value that can be set to any table data point in the calibration tool.
Format Format String Sets the display format to use in the calibration tool.
Enumeration Definition Cell Array of strings or struct array Provides the mapping of string representation to integer value for the enumeration.
Unit Text String Sets the unit text that is displayed in the calibration tool.
Help Text String Sets the help text that is displayed in the calibration tool.
Access Level Sets the access level of this item in the calibration tool.
Function String Sets the location where the variable appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model.