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-connectedAdd all connected channels. Use this option or the –number option.
-r|--bit-rateThe bit rate in bits per second, 1000-20000.
-d|--databaseThe LDF database file to get schedule table definition from.
-l|--languageSpecify the preferred language to be used in all output strings. Default value is English (en).
--lin-message-infoRecord LIN Message Info
-m|--masterConnect to the bus as master.
--nameName of the node. Default value is ‘CAN {X}’ where X is a number
-n|--numberThe canlib channel number.
-v|--protocol-versionThe LIN protocol version, 1.3, 2.0, 2.1 or 2.2.
-t|--schedule-tableName 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.3ck add linchannel --number 1 -r 9600 -v 1.3 --master --database path/to/ldffile --schedule-table "schedule table name"