Raptor:CAN State: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to CAN page right|frame|Raptor CAN State == Description == <p>This block report…')
 
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:CAN|Return to CAN page]]
[[Raptor-Dev-CAN-Library|Return to CAN page]]


[[File:RaptorCANState.jpg|right|frame|Raptor CAN State]]
[[File:RaptorCANState.jpg|right|frame|Raptor™ CAN State]]


== Description ==
== Description ==
Line 26: Line 26:
| uint32
| uint32
| The number of CAN messages transmitted on the CAN bus since the program started.
| The number of CAN messages transmitted on the CAN bus since the program started.
|-
! CAN State Unmasked
| uint32
| The value the of the CAN bus error register unmasked. (This feature is only available on the GCM-80)
|}
|}


Line 36: Line 40:
|-
|-
! Hardware Resource
! Hardware Resource
|  
| Select
| The hardware interface to report the status of.
| The hardware interface to report the status of.
|-
! CAN Error Reg Output
| Checkbox
| Adds CAN State Unmasked output to block. (This feature is only available on the GCM-80)
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 17:13, 12 September 2023

Return to the main Raptor page

Return to CAN page

Raptor™ CAN State

Description

This block reports back the status of the specified CAN bus. It can be used to determine if the CAN bus is communicating properly or if error conditions exist.

Outputs

Output Type Description
CAN State int16 The status of the CAN bus. Offline = 0, Online = 1
Rx Count uint32 The number of CAN messages received on the CAN bus since the program started.
Tx Count uint32 The number of CAN messages transmitted on the CAN bus since the program started.
CAN State Unmasked uint32 The value the of the CAN bus error register unmasked. (This feature is only available on the GCM-80)

Parameters

Parameter Type Description
Hardware Resource Select The hardware interface to report the status of.
CAN Error Reg Output Checkbox Adds CAN State Unmasked output to block. (This feature is only available on the GCM-80)