Raptor:Data Read
Jump to navigation
Jump to search
Return to the main Raptor page
Description
The Raptor™ data read block is used to read to the value of a data store. A data store is typically defined with a data definition block, however the measurement, adjustment, override and table lookup blocks also create data stores which can be accessed with the data read block.
Inputs
Input | Type | Description |
---|---|---|
idx | uint32 | The index of the item to access in a vector (only available in certain modes). |
rIdx | uint32 | The row index of the item to access in a matrix (only available in certain modes). |
cIdx | uint32 | The column index of the item to access in a matrix (only available in certain modes). |
Outputs
Output | Type | Description |
---|---|---|
value | Value of the data store. |
Parameters
Parameter | Type | Description |
---|---|---|
Name | String | This is the name of the data store to access. |
Data Shape | The shape of the data. This must match the shape of the initial value in the data definition block. | |
Index Source | Number | For a vector or matrix this specifies the source of the index of the element to access. |
Row Index | Number | The row index of the element to access in a matrix. |
Column Index | Number | The column index of the element to access in a matrix or vector. |