Raptor:Raptor String Length: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to Strings page right|frame|Raptor String Length == Description == <p>T…') |
No edit summary |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[Raptor-Platform|Return to the main Raptor page]] | ||
[[Raptor:Strings|Return to Strings page]] | [[Raptor:Strings|Return to Strings page]] | ||
[[File:RaptorStringLength.jpg|right|frame| | [[File:RaptorStringLength.jpg|right|frame|Raptor™ String Length]] | ||
== Description == | == Description == | ||
<p>This block outputs the current length of the string. The length is different from the size of the string defined in the raptor_string block. The length represents the length of data in the string.</p> | <p>This block outputs the current length of the string. The length is different from the size of the string defined in the raptor_string block. The length represents the length of data in the string.</p> | ||
<p>Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.</p> | |||
== Inputs == | == Inputs == | ||
Line 15: | Line 17: | ||
! scope="col" style="width: 70%;"|Description | ! scope="col" style="width: 70%;"|Description | ||
|- | |- | ||
! | ! String | ||
| | | r_string | ||
| String handle | | String handle | ||
|} | |} | ||
Line 27: | Line 29: | ||
! scope="col" style="width: 70%;"|Description | ! scope="col" style="width: 70%;"|Description | ||
|- | |- | ||
! | ! Value | ||
| uint32 | | uint32 | ||
| Length of string | | Length of string | ||
|} | |} | ||
Latest revision as of 13:58, 14 September 2023
Return to the main Raptor page
Description
This block outputs the current length of the string. The length is different from the size of the string defined in the raptor_string block. The length represents the length of data in the string.
Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.
Inputs
Input | Type | Description |
---|---|---|
String | r_string | String handle |
Outputs
Output | Type | Description |
---|---|---|
Value | uint32 | Length of string |