Raptor:SPN Read: Difference between revisions
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: | ||
[[ | [[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| | [[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> | ||
== 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
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. |