Raptor:Raptor String Length: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
== 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
| 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
|}
== Parameters ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Parameter
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}
|}

Latest revision as of 13:58, 14 September 2023

Return to the main Raptor page

Return to Strings page

Raptor™ String Length

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