# CAN Send Packet

## Overview

![The CAN Send Packet Node.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-e4f09a0658e11da285ebbd156bd2d3a79064b8ab%2Fcansendpacketupdatedimage.png?alt=media)

The **CAN Send Packet Node** is used to send a data **Packet** along the **CAN** network, once a **CAN** `Message` is selected from the **Drop-down Menu**.

[**Scope**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2022.2/toolbox/communication/overview.md#scopes): **Project**, **Scene**.

## Attributes

![The CAN Send Packet Node Attributes.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-e45d459e37f48d3a1ac18215052b1624e8c3529d%2Fcansendpacketattributes.png?alt=media)

| Attribute      | Type          | Description                                          |
| -------------- | ------------- | ---------------------------------------------------- |
| `Message Name` | **Drop-down** | The selected `Message` from the uploaded *DBC* file. |

## Inputs

| Input             | Type      | Description                                                             |
| ----------------- | --------- | ----------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**.   |
| `Signal [n]`      | **Float** | The *Signal* or *Signals* of a *Message* from the specified *DBC* file. |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## Example

To visualize how the **Node** works a bit better, refer to the images below. The first is an example *DBC* file, which would have been added in the **CAN Project Settings**. There are two *Messages* and two *Signals*, each of which correspond to one of the *Messages*.

![DBC File Example.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-354878f48362599e26946a6363565b0654183604%2Fdbcfilereal.png?alt=media)

When the connection has been added in **Project Settings** and those changes are saved, the user can select the desired `Message Name` -- here Message1 -- which will make an input appear called `Signal1`. If a *Message* has multiple *Signals* -- for example if Message1 had two *Signals* called Signal1a and Signal1b -- all appear as inputs of the **Node**.

![CAN Send Packet Node with Connection.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-51ccc7ea99cbf9a89f1bf65a48d4cc6ab70373e4%2Fcansendpacketexample.png?alt=media)

## See Also

* [**CAN Start**](https://docs.incari.com/incari-studio/2022.2/toolbox/communication/can/canstart)
* [**CAN Stop**](https://docs.incari.com/incari-studio/2022.2/toolbox/communication/can/canstop)

## External Links

* The example [*DBC* file.](https://www.csselectronics.com/pages/can-dbc-file-database-intro)
