Raptor:SPN Read: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
== Description ==
== Description ==
<p>Use this block to read the value of an SPN. The block output is in engineering units.</p>
<p>Use this block to read the value of an SPN. The block output is in engineering units.</p>
== Inputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Input
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}


== Outputs ==
== Outputs ==
Line 23: Line 15:
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|-
|-
!  
! Value
| double
| double
| Current value of SPN as set by corresponding SPN write block.
| Current value of SPN as set by corresponding SPN write block.
|-
! isValid
| boolean
| Returns true if SPN value is valid, false otherwise.
|-
! isAvailable
| boolen
| Returns true if SPN value is available, false otherwise.
|}
|}


Line 38: Line 38:
| uint32
| uint32
| The SPN to read.
| The SPN to read.
|-
! Show isValid Port
| checkbox
|Whether to show the isValid port.
|-
! Show isAvailable Port
| checkbox
| Whether to show the isAvailable port.
|}
|}

Latest revision as of 14:22, 14 September 2023

Return to the main Raptor page

Return to SPN page

Raptor™ SPN Read

Description

Use this block to read the value of an SPN. The block output is in engineering units.

Outputs

Output Type Description
Value double Current value of SPN as set by corresponding SPN write block.
isValid boolean Returns true if SPN value is valid, false otherwise.
isAvailable boolen Returns true if SPN value is available, false otherwise.

Parameters

Parameter Type Description
SPN uint32 The SPN to read.
Show isValid Port checkbox Whether to show the isValid port.
Show isAvailable Port checkbox Whether to show the isAvailable port.