[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)

***

[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [ipc](../README.md) / sendCanMessage

# Function: sendCanMessage()

> **sendCanMessage**(`channelId`, `canId`, `data`, ...`flags`): `Promise`\<`void`\>

Sends out a CAN message on the specified out channel.

## Parameters

### channelId

`string`

Identifier of the out channel to be used when sending out the message, must be a CAN channel.

### canId

`number`

The CAN identifier.

### data

`number`[]

The message data.

### flags

...[`CanFrameFlag`](../../models/enumerations/CanFrameFlag.md)[]

Any extra [CanFrameFlag](../../models/enumerations/CanFrameFlag.md) values to control how the message is sent out.

## Returns

`Promise`\<`void`\>
