# ck add linchannel

Adds a LIN Channel to the current measurement 
setup.

## Synopsis

```linchannel [-a|--all-connected] [-r|--bit-rate] [-d|--database] [-l|--language] [--lin-message-info] [-m|--master] [--name] [-n|--number] [-v|--protocol-version] [-t|--schedule-table]```

## Description

Adds a LIN Channel to the current measurement 
setup.

## Options

- `-a|--all-connected`
	
	 Add all connected channels. Use this option or the 
--number option.

- `-r|--bit-rate`
	
	 The bit rate in bits per second, 
1000-20000.

- `-d|--database`
	
	 The LDF database file to get schedule table definition 
from.

- `-l|--language`
	
	 Specify the preferred language to be used in all output 
strings. Default value is English (en).

- `--lin-message-info`
	
	 Record LIN Message Info

- `-m|--master`
	
	 Connect to the bus as master.

- `--name`
	
	 Name of the node. Default value is 'CAN {X}' where X is a
number

- `-n|--number`
	
	 The canlib channel number.

- `-v|--protocol-version`
	
	 The LIN protocol version, 1.3, 2.0, 2.1 or 
2.2.

- `-t|--schedule-table`
	
	 Name of the schedule table to be used if this channel is 
master.

## Examples

- ```ck add linchannel --name "LIN 1" --number 1 -r 9600 -v 1.3```

- ```ck add linchannel --number 1 -r 9600 -v 1.3 --master --database path/to/ldffile --schedule-table "schedule table name"```

