Raptor:Data Read: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor | [[Raptor-Dev-Data-Storage-Library|Return to Data Storage page]] | ||
[[File:RaptorDataRead.jpg|right|frame|Raptor Data Read]] | [[File:RaptorDataRead.jpg|right|frame|Raptor Data Read]] | ||
Line 67: | Line 67: | ||
| The column index of the element to access in a matrix or vector. | | The column index of the element to access in a matrix or vector. | ||
|} | |} | ||
Latest revision as of 17:02, 16 December 2016
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. |