CAN Agent
Purpose
The CAN Agent manages Controller Area Network (CAN) communication by transmitting and receiving data over the CAN bus for hardware and embedded system testing.
CAN Agent Blocks
1. CAN TX
Transmits data to the CAN bus.
Properties
Inputs
Parameter Name |
Description |
|---|---|
Index |
CAN message index or identifier |
Value |
Data value to be transmitted |
CAN TX - input parameter.
Outputs
Output Code |
Description |
|---|---|
0 |
CAN data transmitted |
1 |
CAN transmission failed |
-1 |
Invalid CAN index or value |
CAN TX - output parameter.
Output Possibilities Configuration
2. CAN RX
Receives data from the CAN bus.
Properties
Inputs
Parameter Name |
Description |
|---|---|
Index |
CAN message index or identifier to read |
CAN RX - input parameter.
Outputs
Output Code |
Description |
|---|---|
0 |
CAN data received |
1 |
No CAN data available |
-1 |
Invalid CAN index |
CAN RX - output parameter.