Raptor:Table 2D

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Table Lookup page

Raptor™ Table 2D

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

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.