Raptor:SPN Read: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to SPN page right|frame|Raptor SPN Read == Description == <p>Use this bloc…')
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor:J1939 SPN|Return to SPN page]]
[[Raptor:J1939 SPN|Return to SPN page]]


[[File:RaptorSPNRead.jpg|right|frame|Raptor SPN Read]]
[[File:RaptorSPNRead.jpg|right|frame|Raptor™ SPN Read]]


== 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.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

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.