Raptor:SPN Write: 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 Write == Description == <p>Use this bl…')
 
No edit summary
 
(4 intermediate revisions by 4 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:RaptorSPNWrite.jpg|right|frame|Raptor SPN Write]]
[[File:RaptorSPNWrite.jpg|right|frame|Raptor™ SPN Write]]


== Description ==
== Description ==
Line 19: Line 19:
| Current value of SPN
| Current value of SPN
|-
|-
!  
! isValid
| boolean
| boolean
| Set to false if SPN is not valid, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
| Set to false if SPN is not valid, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
|-
|-
!  
! isAvailable
| boolean
| boolean
| Set to false if SPN is not available, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
| Set to false if SPN is not available, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
|}
|}


== Outputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Output
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}


== Parameters ==
== Parameters ==
Line 47: Line 40:
| This is the name of the J1939 bus.
| This is the name of the J1939 bus.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 14:24, 14 September 2023

Return to the main Raptor page

Return to SPN page

Raptor™ SPN Write

Description

Use this block to write the value of an SPN. The block input is in engineering units. The isValid input can be used to set the SPN to the corresponding J1939 invalid value.

Inputs

Input Type Description
Data double Current value of SPN
isValid boolean Set to false if SPN is not valid, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.
isAvailable boolean Set to false if SPN is not available, the J1939 library will cause the appropropriate error value to be transmitted for this SPN.


Parameters

Parameter Type Description
J1939 Bus Name String This is the name of the J1939 bus.