Raptor:Table 2D: Difference between revisions
(Created page with 'Return to the main Raptor page Return to Table Lookup page right|frame|Raptor Table 2D == Description == <p>T…') |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor:Table Lookup|Return to Table Lookup page]] | [[Raptor:Table Lookup|Return to Table Lookup page]] | ||
[[File:RaptorTable2D.jpg|right|frame| | [[File:RaptorTable2D.jpg|right|frame|Raptor™ Table 2D]] | ||
== Description == | == Description == | ||
Line 30: | Line 30: | ||
! scope="col" style="width: 15%;"|Type | ! scope="col" style="width: 15%;"|Type | ||
! scope="col" style="width: 70%;"|Description | ! scope="col" style="width: 70%;"|Description | ||
|- | |||
! Value | |||
| Data Type | |||
| The interpolated value from a data table. | |||
|} | |} | ||
Line 185: | Line 189: | ||
| Sets the location where the variables 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 variables appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model. | ||
|} | |} | ||
Latest revision as of 15:49, 14 September 2023
Return to the main Raptor page
Description
The Raptor Table 2d block is similar to the Matlab 2-D Lookup Table block. This block accepts two values and uses them to output an interpolated value from the table data and two sets of breakpoint data. This is similar to the functionality obtained by using the Raptor Table Axis block and Raptor Table Interpolate 2d block. To visualize the initial data in a matlab figure, select the block and then use the raptor_visualize_table() function from the command window.
Inputs
Input | Type | Description |
---|---|---|
y lookup | Value used to lookup into the Y breakpoint data, and then interpolate a value from the table data. | |
x lookup | Value used to lookup into the Y breakpoint data, and then interpolate a value from the table data. |
Outputs
Output | Type | Description |
---|---|---|
Value | Data Type | The interpolated value from a data table. |
Parameters
Parameter | Type | Description |
---|---|---|
Name | String | This is the name used to store the axis data. It is also used to identify the axis in the calibration tool. |
Table Initial Value | Matrix | This is the initial table data. |
Table Data Type | Specifies the data type of the table data and output port. | |
Table Storage | Specifies the storage class of the table data. | |
Breakpoint Initial Value X | Vector | This is the initial X breakpoint data. |
Breakpoint Initial Value Y | Vector | This is the initial Y breakpoint data. |
Breakpoint Data Type | Specifies the data type of the breakpoint data and input ports. | |
Breakpoint Storage | Specifies the storage class of the breakpoint data. | |
Visible in Cal Tool | Controls the visibility of the table data in the calibration tool. When the interpolate block in visible in the cal tool. | |
Show Table Settings | Shows/Hides the calibration tool parameters for the table data. | |
Table Gain | Number | This controls the scaling used to display the table data in the cal tool.
display value = (Gain * actual value) + Offset |
Table Offset | Number | This controls the scaling used to display the table data in the cal tool.
display value = (Gain * actual value) + Offset |
Table Max | Number | Sets the maximum value that can be set to any table data point in the calibration tool. |
Table Min | Number | Sets the minimum value that can be set to any table data point in the calibration tool. |
Table Format | Format String | Sets the display format to use for the table data in the calibration tool. |
Table Unit Text | String | Sets the unit text that is displayed in the calibration tool. |
Table Help Text | String | Sets the help text that is displayed in the calibration tool. |
Show Breakpoint X Settings | Shows/Hides the calibration tool parameters for the X breakpoint data. | |
Breakpoint Gain X | Number | This controls the scaling used to display the x breakpoint data in the cal tool.
display value = (Gain * actual value) + Offset |
Breakpoint Offset X | Number | This controls the scaling used to display the x breakpoint data in the cal tool.
display value = (Gain * actual value)+ Offset |
Breakpoint Max X | Number | Sets the maximum value that can be set to any x breakpoint data point in the calibration tool. |
Breakpoint Min X | Number | Sets the minimum value that can be set to any x breakpoint data point in the calibration tool. |
Breakpoint Format X | Format String | Sets the display format to use for the x breakpoint data in the calibration tool. |
Breakpoint Unit Text X | String | Sets the unit text that is displayed in the calibration tool. |
Breakpoint Help Text X | String | Sets the help text that is displayed in the calibration tool. |
Show Breakpoint Y Settings | Shows/Hides the calibration tool parameters for the y breakpoint data. | |
Breakpoint Gain Y | Number | This controls the scaling used to display the y breakpoint data in the cal tool.
display value = (Gain * actual value) + Offset |
Breakpoint Offset Y | Number | This controls the scaling used to display the y breakpoint data in the cal tool.
display value = (Gain * actual value) + Offset |
Breakpoint Max Y | Number | Sets the maximum value that can be set to any y breakpoint data point in the calibration tool. |
Breakpoint Min Y | Number | Sets the minimum value that can be set to any y breakpoint data point in the calibration tool. |
Breakpoint Format Y | Format String | Sets the display format to use for the y breakpoint data in the calibration tool. |
Breakpoint Unit Text Y | String | Sets the unit text that is displayed in the calibration tool. |
Breakpoint Help Text Y | 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 variables appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model. |