.. cli_overview:

Overview
========

The CanKing CLI is a command line interface for Kvaser CanKing. It is installed with CanKing and can be found in the installation folder, typically `C:\\Program Files\\Kvaser CanKing\\cli\\ck.exe` on Windows and `/opt/canking/cli/ck` on Linux.

To get started with the CanKing CLI, open a terminal and type `ck --help` to see the available commands and options.

For more information on a specific command, type `ck <command> --help`.

.. _cli_canking_terminal:

CanKing Terminal
----------------

The CanKing CLI can be accessed from within the CanKing application. To do this, open CanKing and go to the `Tools Panel` in the lower part of the main window. From there, select `Terminal` to open a terminal view with the CanKing CLI ready to use.

If the `Tools Panel` isn't visible, then select 'More'->'View'->'Toggle Tools Panel' from the head menu.

.. _cli_windows_terminal:

Windows Terminal
----------------

On Windows, you can open a Command Prompt or PowerShell window and navigate to the CanKing CLI installation folder. You can then run the `ck.exe` executable with the desired commands and options.

To make CanKing CLI available from any folder, you can add the installation folder to your system's PATH environment variable.

**Adding CanKing CLI to PATH on Windows**

1. Open the Start menu and search for "Environment Variables"
2. Click "Edit the system environment variables"
3. In the System Properties dialog, click "Environment Variables..."
4. In the Environment Variables dialog, find "Path" in the System variables section and click "Edit..."
5. Click "New" and add the CanKing CLI installation folder path (typically `C:\\Program Files\\Kvaser CanKing\\cli`)
6. Click "OK" to close all dialogs
7. Restart your Command Prompt or PowerShell window

After adding to PATH, you can run `ck` commands from any directory without specifying the full path to the executable.

.. _cli_linux_terminal:

Linux Terminal
--------------

On Linux, you can open a terminal and run the `ck` executable with the desired commands and options. A symbolic link to the `ck` executable is already added to `/usr/bin` making it available from any directory.

.. _cli_commands:

Commands
--------

.. toctree::
   :maxdepth: 1

   ck get devices <get/devices>
   ck get meas-setup <get/meas-setup>
   ck get log-formats <get/log-formats>
   ck get nodes <get/nodes>
   ck get about <get/about>
   ck get event-log <get/event-log>
   ck set meas-setup <set/meas-setup>
   ck add canchannel <add/canchannel>
   ck add linchannel <add/linchannel>
   ck add traffic <add/traffic>
   ck add logreplay <add/logreplay>
   ck add filter <add/filter>
   ck add db <add/db>
   ck add extension <add/extension>
   ck add messagelogger <add/messagelogger>
   ck add signallogger <add/signallogger>
   ck add interpreter j1939 <add/interpreter/j1939>
   ck delete source <delete/source>
   ck delete dataproc <delete/dataproc>
   ck delete target <delete/target>
   ck connect nodes <connect/nodes>
   ck disconnect nodes <disconnect/nodes>
   ck enable node <enable/node>
   ck disable node <disable/node>
   ck start meas <start/meas>
   ck start channel <start/channel>
   ck start stream <start/stream>
   ck start traffic <start/traffic>
   ck start logreplay <start/logreplay>
   ck stop meas <stop/meas>
   ck stop channel <stop/channel>
   ck stop traffic <stop/traffic>
   ck stop logreplay <stop/logreplay>
   ck send can <send/can>
   ck send lin <send/lin>
   ck send lin-wakeup <send/lin-wakeup>
   ck send lin-request <send/lin-request>
   ck send lin-update <send/lin-update>
   ck send lin-clear <send/lin-clear>
   ck install extension <install/extension>
   ck uninstall extension <uninstall/extension>
.. _cli_tree_overview:

Tree Overview
-------------

.. code-block:: text

   CLI Configuration
   ├── Application Name ck   
   ├── Parsing Mode: Relaxed
   └── Commands
       ├── get
       │   ├── Description Command(s) to get configurations in CanKing Service.
       │   └── Child Commands
       │       ├── devices
       │       │   ├── Description Gets all available devices.
       │       │   ├── Type CanKingCli.Commands.GetDevicesCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.GetDevicesCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── SkipVirtualChannels --no-virtuals System.Boolean
       │       │   │   └── Verbose --verbose | -v System.Boolean
       │       │   └── Examples
       │       │       └── get devices --no-virtuals
       │       ├── meas-setup
       │       │   ├── Description Gets the current measurement setup.
       │       │   ├── Type CanKingCli.Commands.GetMeasurementSetupCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.GetMeasurementSetupCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── Indented --indented | -i System.Boolean
       │       │   └── Examples
       │       │       └── get meas-setup --indented
       │       ├── log-formats
       │       │   ├── Description Gets all supported log file formats.
       │       │   ├── Type CanKingCli.Commands.GetLogFileFormatsCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.GetLogFileFormatsCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── MessageLog --msg-log | -m System.Boolean
       │       │   │   ├── SignalLog --signal-log | -s System.Boolean
       │       │   │   └── ReadSupport --read-support | -r System.Boolean
       │       │   └── Examples
       │       │       └── get log-formats --msg-log --signal-log
       │       ├── nodes
       │       │   ├── Description Gets all nodes in the measurement.
       │       │   ├── Type CanKingCli.Commands.GetNodesCommand
       │       │   ├── Settings Type: CanKingCli.Commands.GetNodesCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── Sources --sources | -s System.Boolean
       │       │   │   ├── Dataprocessors --dataprocessors | -d System.Boolean
       │       │   │   └── Targets --target | -t System.Boolean
       │       │   └── Examples
       │       │       ├── get nodes
       │       │       ├── get nodes -s -d -t
       │       │       └── get nodes -s -d
       │       ├── about
       │       │   ├── Description Gets information about CanKing.
       │       │   ├── Type CanKingCli.Commands.GetAboutInformationCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.GetAboutInformationCommand+Settings
       │       │   ├── Parameters
       │       │   │   └── Language --language | -l System.String
       │       │   └── Examples
       │       │       └── get about
       │       └── event-log
       │           ├── Description Gets the CanKingServce event log entries from
       │           │               windows event logs and gets the CanKing log  
       │           │               file.                                        
       │           ├── Type CanKingCli.Commands.GetEventLogCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.GetEventLogCommand+Settings
       │           └── Parameters
       │               ├── Language --language | -l System.String
       │               ├── OutDirectory --out | -o System.String
       │               └── Start --start | -s System.DateTime
       ├── set
       │   ├── Description Command(s) to set configurations in CanKing Service.
       │   └── Child Commands
       │       └── meas-setup
       │           ├── Description Sets a new measurement setup.
       │           ├── Type CanKingCli.Commands.SetMeasurementSetupCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.SetMeasurementSetupCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── Setup Setup position 0 System.String
       │           └── Examples
       │               ├── set meas-setup path/to/CanKing/project
       │               └── set meas-setup [JSON string]
       ├── add
       │   ├── Description Command(s) to add nodes in the Measurement Setup used
       │   │               in CanKing Service.                                  
       │   └── Child Commands
       │       ├── canchannel
       │       │   ├── Description Adds a CAN Channel to the current measurement
       │       │   │               setup.                                       
       │       │   ├── Type CanKingCli.Commands.AddCanChannelCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddCanChannelCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── Number --number | -n System.Int32
       │       │   │   ├── Name --name System.String
       │       │   │   ├── AllConnected --all-connected | -a System.Boolean
       │       │   │   ├── BitRate --bit-rate | -r System.Int32
       │       │   │   ├── BitRateDataPhase --bit-rate-data System.Int32
       │       │   │   ├── AccessMode --access-mode 
       │       │   │   │   Kvaser.CanKing.Protos.Measurement.AccessMode
       │       │   │   ├── SilentMode --silent-mode System.Boolean
       │       │   │   ├── Prop --prop System.Int32
       │       │   │   ├── Phase1 --phase1 System.Int32
       │       │   │   ├── Phase2 --phase2 System.Int32
       │       │   │   ├── SyncJumpWidth --sjw System.Int32
       │       │   │   ├── Prescaler --prescaler System.Int32
       │       │   │   ├── Phase1DataPhase --phase1-data System.Int32
       │       │   │   ├── Phase2DataPhase --phase2-data System.Int32
       │       │   │   ├── SyncJumpWidthDataPhase --sjw-data System.Int32
       │       │   │   └── PrescalerDataPhase --prescaler-data System.Int32
       │       │   └── Examples
       │       │       ├── add canchannel --name "CAN 1" --number 0 -r 1000000
       │       │       ├── add canchannel --number 1 -r 1000000
       │       │       └── add canchannel --number 1 -r 1000000 --bit-rate-data 
       │       │           2000000
       │       ├── linchannel
       │       │   ├── Description Adds a LIN Channel to the current measurement
       │       │   │               setup.                                       
       │       │   ├── Type CanKingCli.Commands.AddLinChannelCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddLinChannelCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── Number --number | -n System.Int32
       │       │   │   ├── Name --name System.String
       │       │   │   ├── AllConnected --all-connected | -a System.Boolean
       │       │   │   ├── BitRate --bit-rate | -r System.Int32
       │       │   │   ├── ProtocolVersion --protocol-version | -v System.String
       │       │   │   ├── Master --master | -m System.Boolean
       │       │   │   ├── DatabaseFile --database | -d System.String
       │       │   │   ├── ScheduleTable --schedule-table | -t System.String
       │       │   │   └── LinMessageInfo --lin-message-info System.Boolean
       │       │   └── Examples
       │       │       ├── add linchannel --name "LIN 1" --number 1 -r 9600 -v 1.3
       │       │       └── add linchannel --number 1 -r 9600 -v 1.3 --master 
       │       │           --database path/to/ldffile --schedule-table "schedule 
       │       │           table name"
       │       ├── traffic
       │       │   ├── Description Adds a Traffic Generator to the current      
       │       │   │               measurement setup.                           
       │       │   ├── Type CanKingCli.Commands.AddTrafficGeneratorCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddTrafficGeneratorCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   ├── Id --id | -i System.String
       │       │   │   ├── Rtr --rtr System.Boolean
       │       │   │   ├── Fdf --fdf System.Boolean
       │       │   │   ├── Brs --brs System.Boolean
       │       │   │   ├── Data --data | -d System.String
       │       │   │   ├── IntervalMs --interval | -r System.Int32
       │       │   │   ├── NumberOfMessages --number-of-messages | -n System.Int32
       │       │   │   ├── RandomDataLength --random-length System.Boolean
       │       │   │   ├── RandomMessageData --random-data System.Boolean
       │       │   │   ├── RandomInterval --random-interval System.String
       │       │   │   ├── RandomIdentifier --random-id System.String
       │       │   │   ├── ScanIdentifier --scan-id System.String
       │       │   │   ├── BurstSize --bs | --burst-size | -b System.Int32
       │       │   │   ├── RandomBurstSize --random-bs System.String
       │       │   │   └── Name --name System.String
       │       │   └── Examples
       │       │       └── add traffic "CAN 1" --id 0xABx -d 0001020304 --interval 
       │       │           500 --name "C1 traffic generator"
       │       ├── logreplay
       │       │   ├── Description Adds a Log Replay node to the current        
       │       │   │               measurement setup.                           
       │       │   │                                                            
       │       │   │               The supported file formats are: .csv, .log,  
       │       │   │               .mf4, .txt, .asc, .blf, .kme, .kme25, .kme40,
       │       │   │               .kme50                                       
       │       │   ├── Type CanKingCli.Commands.AddLogReplayCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddLogReplayCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannels CHANNELMAPPINGS position 0 System.String
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── FileName --path | -p System.String
       │       │   │   ├── Iterations --iterations | -i System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── SampleRateMs --samplerate | -s System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── TransceiverMode --transceiver-mode | -t 
       │       │   │   │   System.Nullable`1[System.Int32]
       │       │   │   ├── IncludeErrorFrames --include-error-frames 
       │       │   │   │   System.Nullable`1[System.Boolean]
       │       │   │   ├── SendFirstMessageMode --send-first-message-mode | -m 
       │       │   │   │   System.Nullable`1[System.Int32]
       │       │   │   ├── TimeOffsetMs --time-offset | -o System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── TimeFactor --time-factor System.Nullable`1[
       │       │   │   │   System.Double]
       │       │   │   ├── LowerVariance --lower-variance System.Nullable`1[
       │       │   │   │   System.Double]
       │       │   │   ├── HigherVariance --higher-variance System.Nullable`1[
       │       │   │   │   System.Double]
       │       │   │   └── DecreaseSpeed --decrease-speed System.Nullable`1[
       │       │   │       System.Boolean]
       │       │   └── Examples
       │       │       └── add logreplay '{"1":"abc1-def2-ghi3-4567j"}' -p 
       │       │           full/path/to/file -t 3
       │       ├── filter
       │       │   ├── Description Adds a CAN Message Filter to the current     
       │       │   │               measurement setup.                           
       │       │   ├── Type CanKingCli.Commands.AddCanMessageFilterCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddCanMessageFilterCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── StdCanIds --std-ids | -s System.String
       │       │   │   ├── ExtCanIds --ext-ids | -x System.String
       │       │   │   ├── FilterType --filter-type | -f System.String
       │       │   │   ├── PreviousNodeId --previous-node | -p System.String
       │       │   │   └── NextNodeId --next-node System.String
       │       │   └── Examples
       │       │       └── add filter --std-ids "1,2,3,5-10" --ext-ids "1,2,3,5-10"
       │       │           --filter-type block --previous-node "CAN 1" --name 
       │       │           C1filter
       │       ├── db
       │       │   ├── Description Adds a Databases node to the current         
       │       │   │               measurement setup.                           
       │       │   ├── Type CanKingCli.Commands.AddDatabasesCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddDatabasesCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── DatabaseFiles Database Files position 0 System.String[]
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── PreviousNodeId --previous-node | -p System.String
       │       │   │   └── NextNodeId --next-node System.String
       │       │   └── Examples
       │       │       └── add db path/to/databasefile -n C1db -p "CAN 1"
       │       ├── extension
       │       │   ├── Description Adds a Service Extension node to the current 
       │       │   │               measurement setup. To add a DataProcessor you
       │       │   │               need to specify either previous node or next 
       │       │   │               node, otherwise a Target will be added.      
       │       │   ├── Type CanKingCli.Commands.AddServiceExtensionCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddServiceExtensionCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── ExtensionName Extension Name position 0 System.String
       │       │   │   ├── Configuration --config | -c System.String
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── PreviousNodeId --previous-node | -p System.String
       │       │   │   └── NextNodeId --next-node System.String
       │       │   └── Examples
       │       │       └── add extension my-extension-name -n Ext1 -p "CAN 1"
       │       ├── messagelogger
       │       │   ├── Description Adds a Message Logger to the current         
       │       │   │               measurement setup.                           
       │       │   │                                                            
       │       │   │               Only one type of trigger can be used at a    
       │       │   │               time for start and stop seperatly. The       
       │       │   │               available triggers are Timeout, Signal and   
       │       │   │               Identifier.                                  
       │       │   │                                                            
       │       │   │               The supported file formats are: csv, mdf,    
       │       │   │               mdfv4, txt, asc, blf, blffd, kme, kme25,     
       │       │   │               kme40, kme50                                 
       │       │   │                                                            
       │       │   │               The signal operators that can be used are: 1 
       │       │   │               (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4   
       │       │   │               (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 
       │       │   │               (GreaterThan)                                
       │       │   ├── Type CanKingCli.Commands.AddMessageLoggerCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddMessageLoggerCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── FileName --path | -p System.String
       │       │   │   ├── FileFormat --format | -f System.String
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── StdCanIds --std-ids System.String
       │       │   │   ├── ExtCanIds --ext-ids System.String
       │       │   │   ├── FilterType --filter-type System.String
       │       │   │   ├── StartTimeoutTrigger --start-timeout System.Double
       │       │   │   ├── StartMessageIdTrigger --start-id System.String
       │       │   │   ├── StopTimeoutTrigger --stop-timeout System.Double
       │       │   │   ├── StopMessageIdTrigger --stop-id System.String
       │       │   │   ├── AutoRestartAfterStop --auto-restart System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── SkipFileHeader --skip-file-header System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteDataInDec --write-data-in-dec System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteIdInDec --write-id-in-dec System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── DecimalSeparator --decimal-separator System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── ColSeparator --col-separator System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── DataBytesConverterLimit --data-bytes-converter-limit 
       │       │   │   │   System.Nullable`1[System.Int32]
       │       │   │   ├── SizeLimit --size-limit System.Nullable`1[System.Int32]
       │       │   │   ├── TimeLimit --time-limit System.Nullable`1[System.Int32]
       │       │   │   ├── NumberOfTimeDecimals --time-decimals System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── UseCalendarTime --use-calendar-time System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── UseLocalTime --use-local-time System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── TimeReference --time-reference System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── StartSignalValueTrigger --start-signal-value 
       │       │   │   │   System.String
       │       │   │   ├── StopSignalValueTrigger --stop-signal-value System.String
       │       │   │   ├── StartSignalQualifiedName --start-signal-qualified-name 
       │       │   │   │   System.String
       │       │   │   ├── StopSignalQualifiedName --stop-signal-qualified-name 
       │       │   │   │   System.String
       │       │   │   ├── StartOperator --start-operator 
       │       │   │   │   Kvaser.CanKing.Protos.Measurement.SignalValueTriggerOper
       │       │   │   │   ator
       │       │   │   └── StopOperator --stop-operator 
       │       │   │       Kvaser.CanKing.Protos.Measurement.SignalValueTriggerOper
       │       │   │       ator
       │       │   └── Examples
       │       │       ├── add messagelogger --name "Message Logger" -p 
       │       │       │   path/to/logfile --format csv
       │       │       ├── add messagelogger --name "Message Logger" -p 
       │       │       │   path/to/logfile --format csv --start-timeout 500 
       │       │       │   --stop-timeout 13000
       │       │       ├── add messagelogger --name "Message Logger" -p 
       │       │       │   path/to/logfile --format csv --start-id 0x3F --stop-id 
       │       │       │   0x0F
       │       │       └── add messagelogger --name "Message Logger" -p 
       │       │           path/to/logfile --format csv --start-id 0x3F --stop-id 
       │       │           0x0F --start-signal-qualified-name dbcfile.startsignal 
       │       │           --stop-signal-qualified-name dbcfile.stopsignal 
       │       │           --start-signal-value 0xAB --stop-signal-value 0x12
       │       ├── signallogger
       │       │   ├── Description Adds a Signal Logger to the current          
       │       │   │               measurement setup.                           
       │       │   │                                                            
       │       │   │               Only one type of trigger can be used at a    
       │       │   │               time for start and stop seperatly. The       
       │       │   │               available triggers are Timeout, Signal and   
       │       │   │               Identifier.                                  
       │       │   │                                                            
       │       │   │               The supported file formats are: csv, mdf,    
       │       │   │               mdfv4, mat, dat                              
       │       │   │                                                            
       │       │   │               The signal operators that can be used are: 1 
       │       │   │               (EqualTo), 2 (NotEqualTo), 3 (LessThan), 4   
       │       │   │               (LessThanOrEqual), 5 (GreaterThanOrEqual), 6 
       │       │   │               (GreaterThan)                                
       │       │   ├── Type CanKingCli.Commands.AddSignalLoggerCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.AddSignalLoggerCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── FileName --path | -p System.String
       │       │   │   ├── FileFormat --format | -f System.String
       │       │   │   ├── SelectedSignals SIGNALS position 0 System.String[]
       │       │   │   ├── Name --name | -n System.String
       │       │   │   ├── StartTimeoutTrigger --start-timeout System.Double
       │       │   │   ├── StartMessageIdTrigger --start-id System.String
       │       │   │   ├── StopTimeoutTrigger --stop-timeout System.Double
       │       │   │   ├── StopMessageIdTrigger --stop-id System.String
       │       │   │   ├── AutoRestartAfterStop --auto-restart System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── SkipFileHeader --skip-file-header System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteDataInDec --write-data-in-dec System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteIdInDec --write-id-in-dec System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── DecimalSeparator --decimal-separator System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── ColSeparator --col-separator System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── DataBytesConverterLimit --data-bytes-converter-limit 
       │       │   │   │   System.Nullable`1[System.Int32]
       │       │   │   ├── SizeLimit --size-limit System.Nullable`1[System.Int32]
       │       │   │   ├── NumberOfDataDecimals --data-decimals System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── TimeLimit --time-limit System.Nullable`1[System.Int32]
       │       │   │   ├── NumberOfTimeDecimals --time-decimals System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── UseCalendarTime --use-calendar-time System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── UseLocalTime --use-local-time System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── TimeReference --time-reference System.Nullable`1[
       │       │   │   │   System.Int32]
       │       │   │   ├── StartSignalValueTrigger --start-signal-value 
       │       │   │   │   System.String
       │       │   │   ├── StopSignalValueTrigger --stop-signal-value System.String
       │       │   │   ├── StartSignalQualifiedName --start-signal-qualified-name 
       │       │   │   │   System.String
       │       │   │   ├── StopSignalQualifiedName --stop-signal-qualified-name 
       │       │   │   │   System.String
       │       │   │   ├── StartOperator --start-operator 
       │       │   │   │   Kvaser.CanKing.Protos.Measurement.SignalValueTriggerOper
       │       │   │   │   ator
       │       │   │   ├── StopOperator --stop-operator 
       │       │   │   │   Kvaser.CanKing.Protos.Measurement.SignalValueTriggerOper
       │       │   │   │   ator
       │       │   │   ├── UseEnumValues --use-enum-values System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteFullyQualifiedNames --write-fully-qualified-names 
       │       │   │   │   System.Nullable`1[System.Boolean]
       │       │   │   ├── WriteCounter --write-counter System.Nullable`1[
       │       │   │   │   System.Boolean]
       │       │   │   ├── WriteUnitsOnOwnRow --write-units-on-own-row 
       │       │   │   │   System.Nullable`1[System.Boolean]
       │       │   │   └── WriteDataFrames --write-data-frames System.Nullable`1[
       │       │   │       System.Boolean]
       │       │   └── Examples
       │       │       ├── add signallogger dbcfile.engine.speed 
       │       │       │   dbcfile.engine.gear --name "Signal Logger" -p 
       │       │       │   path/to/logfile --format csvsignal
       │       │       ├── add signallogger dbcfile.engine.speed 
       │       │       │   dbcfile.engine.gear --name "Signal Logger" -p 
       │       │       │   path/to/logfile --format csvsignal --start-timeout 500 
       │       │       │   --stop-timeout 13000
       │       │       ├── add signallogger dbcfile.engine.speed 
       │       │       │   dbcfile.engine.gear --name "Signal Logger" -p 
       │       │       │   path/to/logfile --format csvsignal --start-id 0x3F 
       │       │       │   --stop-id 0x0F
       │       │       └── add signallogger dbcfile.engine.speed 
       │       │           dbcfile.engine.gear --name "Signal Logger" -p 
       │       │           path/to/logfile --format csvsignal --start-id 0x3F 
       │       │           --stop-id 0x0F --start-signal-qualified-name 
       │       │           dbcfile.startsignal --stop-signal-qualified-name 
       │       │           dbcfile.stopsignal --start-signal-value 0xAB 
       │       │           --stop-signal-value 0x12
       │       └── interpreter
       │           ├── Description Command(s) to add interpreter nodes in the   
       │           │               Measurement Setup used in CanKing Service.   
       │           └── Child Commands
       │               └── j1939
       │                   ├── Description Adds a J1939 Interpreter to the      
       │                   │               current measurement setup.           
       │                   ├── Type CanKingCli.Commands.AddJ1939InterpreterComma
       │                   │        nd                                          
       │                   ├── Settings Type: 
       │                   │   CanKingCli.Commands.AddJ1939InterpreterCommand+Setti
       │                   │   ngs
       │                   ├── Parameters
       │                   │   ├── Language --language | -l System.String
       │                   │   ├── Name --name | -n System.String
       │                   │   ├── PreviousNodeId --previous-node | -p 
       │                   │   │   System.String
       │                   │   └── NextNodeId --next-node System.String
       │                   └── Examples
       │                       └── add interpreter j1939 --name J1939 -p C1filter
       ├── delete
       │   ├── Description Command(s) to delete nodes in the Measurement Setup  
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       ├── source
       │       │   ├── Description Deletes a source from the current measurement
       │       │   │               setup.                                       
       │       │   ├── Type CanKingCli.Commands.DeleteSourceCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.DeleteSourceCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── delete source "CAN 1"
       │       │       └── delete source 1875f340-a9c4-4d5b-993c-b08ce4bdfca2
       │       ├── dataproc
       │       │   ├── Description Deletes a data processor from the current    
       │       │   │               measurement setup.                           
       │       │   ├── Type CanKingCli.Commands.DeleteDataProcessorCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.DeleteDataProcessorCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── delete dataproc J1939
       │       │       └── delete dataproc 2073f340-b9d7-a55c-cc18-b4e1c43dfc2f
       │       └── target
       │           ├── Description Deletes a target from the current measurement
       │           │               setup.                                       
       │           ├── Type CanKingCli.Commands.DeleteTargetCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.DeleteTargetCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── NameOrIdentifier NameOrIdentifier position 0 
       │           │       System.String
       │           └── Examples
       │               ├── delete target "Message Logger"
       │               └── delete target 58e31d82-c9e2-4557-a612-4408504bdd36
       ├── connect
       │   ├── Description Command(s) to connect nodes in the Measurement Setup 
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       └── nodes
       │           ├── Description Connects two nodes in the current measurement
       │           │               setup.                                       
       │           ├── Type CanKingCli.Commands.ConnectNodesCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.ConnectNodesCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   ├── Start Start position 0 System.String
       │           │   └── End End position 1 System.String
       │           └── Examples
       │               ├── connect nodes J1939 "Message Logger"
       │               └── connect nodes 2073f340-b9d7-a55c-cc18-b4e1c43dfc2f 
       │                   58e31d82-c9e2-4557-a612-4408504bdd36
       ├── disconnect
       │   ├── Description Command(s) to disconnect nodes in the Measurement    
       │   │               Setup used in CanKing Service.                       
       │   └── Child Commands
       │       └── nodes
       │           ├── Description Disconnects two nodes in the current         
       │           │               measurement setup.                           
       │           ├── Type CanKingCli.Commands.DisconnectNodesCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.DisconnectNodesCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   ├── Start Start position 0 System.String
       │           │   └── End End position 1 System.String
       │           └── Examples
       │               ├── disconnect nodes J1939 "Message Logger"
       │               └── disconnect nodes 2073f340-b9d7-a55c-cc18-b4e1c43dfc2f 
       │                   58e31d82-c9e2-4557-a612-4408504bdd36
       ├── enable
       │   ├── Description Command(s) to enable nodes in the Measurement Setup  
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       └── node
       │           ├── Description Enables a node in the current measurement    
       │           │               setup.                                       
       │           ├── Type CanKingCli.Commands.EnableNodeCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.EnableNodeCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── NameOrIdentifier NameOrIdentifier position 0 
       │           │       System.String
       │           └── Examples
       │               ├── enable node "Message Logger"
       │               └── enable node 58e31d82-c9e2-4557-a612-4408504bdd36
       ├── disable
       │   ├── Description Command(s) to disable nodes in the Measurement Setup 
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       └── node
       │           ├── Description Disables a node in the current measurement   
       │           │               setup.                                       
       │           ├── Type CanKingCli.Commands.DisableNodeCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.DisableNodeCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── NameOrIdentifier NameOrIdentifier position 0 
       │           │       System.String
       │           └── Examples
       │               ├── disable node "Message Logger"
       │               └── disable node 58e31d82-c9e2-4557-a612-4408504bdd36
       ├── start
       │   ├── Description Command(s) to start nodes in the Measurement Setup   
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       ├── meas
       │       │   ├── Description Starts the current measurement setup.
       │       │   ├── Type CanKingCli.Commands.StartMeasurementCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StartMeasurementCommand+Settings
       │       │   ├── Parameters
       │       │   │   └── Language --language | -l System.String
       │       │   └── Examples
       │       │       └── start meas
       │       ├── channel
       │       │   ├── Description Start a channel, i.e. go bus on.
       │       │   ├── Type CanKingCli.Commands.StartChannelCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StartChannelCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── start channel "CAN 1"
       │       │       └── start channel 58e31d82-c9e2-4557-a612-4408504bdd36
       │       ├── stream
       │       │   ├── Description Starts streaming data to the console.
       │       │   │                                                    
       │       │   │               Use q to quit the stream.            
       │       │   ├── Type CanKingCli.Commands.StartStreamCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StartStreamCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── Id --id | -i System.String
       │       │   │   ├── Can --can System.Boolean
       │       │   │   ├── CanFd --canfd System.Boolean
       │       │   │   ├── Lin --lin System.Boolean
       │       │   │   ├── Brs --brs System.Boolean
       │       │   │   └── Signals --signal System.String[]
       │       │   └── Examples
       │       │       └── start stream
       │       ├── traffic
       │       │   ├── Description Starts a Traffic Generator.
       │       │   ├── Type CanKingCli.Commands.StartTrafficGeneratorCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StartTrafficGeneratorCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── start traffic "C1 traffic generator"
       │       │       └── start traffic 58e31d82-c9e2-4557-a612-4408504bdd36
       │       └── logreplay
       │           ├── Description Starts a Log Replay node.
       │           ├── Type CanKingCli.Commands.StartLogReplayCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.StartLogReplayCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── NameOrIdentifier NameOrIdentifier position 0 
       │           │       System.String
       │           └── Examples
       │               ├── start logreplay Logreplay
       │               └── start logreplay 58e31d82-c9e2-4557-a612-4408504bdd36
       ├── stop
       │   ├── Description Command(s) to stop nodes in the Measurement Setup    
       │   │               used in CanKing Service.                             
       │   └── Child Commands
       │       ├── meas
       │       │   ├── Description Stops the current measurement.
       │       │   ├── Type CanKingCli.Commands.StopMeasurementCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StopMeasurementCommand+Settings
       │       │   ├── Parameters
       │       │   │   └── Language --language | -l System.String
       │       │   └── Examples
       │       │       └── stop meas
       │       ├── channel
       │       │   ├── Description Stop a channel, i.e. go bus off.
       │       │   ├── Type CanKingCli.Commands.StopChannelCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StopChannelCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── stop channel "CAN 1"
       │       │       └── stop channel 58e31d82-c9e2-4557-a612-4408504bdd36
       │       ├── traffic
       │       │   ├── Description Stops a Traffic Generator.
       │       │   ├── Type CanKingCli.Commands.StopTrafficGeneratorCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.StopTrafficGeneratorCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   └── NameOrIdentifier NameOrIdentifier position 0 
       │       │   │       System.String
       │       │   └── Examples
       │       │       ├── stop traffic "C1 traffic generator"
       │       │       └── stop traffic 58e31d82-c9e2-4557-a612-4408504bdd36
       │       └── logreplay
       │           ├── Description Stops a Log Replay node.
       │           ├── Type CanKingCli.Commands.StopLogReplayCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.StopLogReplayCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   └── NameOrIdentifier NameOrIdentifier position 0 
       │           │       System.String
       │           └── Examples
       │               ├── stop logreplay Logreplay
       │               └── stop logreplay 58e31d82-c9e2-4557-a612-4408504bdd36
       ├── send
       │   ├── Description Command(s) to send CAN/LIN messages in CanKing       
       │   │               Service.                                             
       │   └── Child Commands
       │       ├── can
       │       │   ├── Description Sends out a CAN message.
       │       │   ├── Type CanKingCli.Commands.SendCanMessageCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.SendCanMessageCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   ├── Id --id | -i System.String
       │       │   │   ├── Data --data | -d System.String
       │       │   │   ├── Rtr --rtr System.Boolean
       │       │   │   ├── Fdf --fdf System.Boolean
       │       │   │   └── Brs --brs System.Boolean
       │       │   └── Examples
       │       │       └── send can "CAN 1" --id 0xAB -d 0001020304
       │       ├── lin
       │       │   ├── Description Sends out a LIN message. Only available in   
       │       │   │               master mode.                                 
       │       │   ├── Type CanKingCli.Commands.SendLinMessageCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.SendLinMessageCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   ├── Id --id | -i System.String
       │       │   │   └── Data --data | -d System.String
       │       │   └── Examples
       │       │       └── send lin "LIN 1" --id 1 --data 0102030405060708
       │       ├── lin-wakeup
       │       │   ├── Description Sends out a LIN wakeup message.
       │       │   ├── Type CanKingCli.Commands.SendLinWakeupMessageCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.SendLinWakeupMessageCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   ├── Count --count | -c System.Int32
       │       │   │   └── Interval --interval | -i System.Int32
       │       │   └── Examples
       │       │       └── send lin-wakeup "LIN 1" -c 10 -i 100
       │       ├── lin-request
       │       │   ├── Description Writes a LIN message header to the LIN bus. A
       │       │   │               slave in the system is then expected to fill 
       │       │   │               in the header with data. Only available in   
       │       │   │               master mode.                                 
       │       │   ├── Type CanKingCli.Commands.SendLinRequestMessageCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.SendLinRequestMessageCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   └── Id --id | -i System.String
       │       │   └── Examples
       │       │       └── send lin-request "LIN 1" -i 1
       │       ├── lin-update
       │       │   ├── Description Updates a message buffer in a slave. The     
       │       │   │               contents of the message buffer will be used  
       │       │   │               the next time the slave is polled for the    
       │       │   │               specified LIN message id.                    
       │       │   ├── Type CanKingCli.Commands.SendLinUpdateMessageCommand
       │       │   ├── Settings Type: 
       │       │   │   CanKingCli.Commands.SendLinUpdateMessageCommand+Settings
       │       │   ├── Parameters
       │       │   │   ├── Language --language | -l System.String
       │       │   │   ├── OutputChannel OutputChannel position 0 System.String
       │       │   │   ├── Id --id | -i System.String
       │       │   │   └── Data --data | -d System.String
       │       │   └── Examples
       │       │       └── send lin-update "LIN 1" -i 1 -d 0102030405060708
       │       └── lin-clear
       │           ├── Description Clears a message buffer for a LIN slave. The 
       │           │               slave will not answer next time it is polled.
       │           ├── Type CanKingCli.Commands.SendLinClearMessageCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.SendLinClearMessageCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   ├── OutputChannel OutputChannel position 0 System.String
       │           │   └── Id --id | -i System.String
       │           └── Examples
       │               └── send lin-request "LIN 1" -i 1
       ├── install
       │   ├── Description Command(s) to install/update extensions in CanKing   
       │   │               Service                                              
       │   └── Child Commands
       │       └── extension
       │           ├── Description Installs a CanKing service extension.
       │           ├── Type CanKingCli.Commands.InstallServiceExtensionCommand
       │           ├── Settings Type: 
       │           │   CanKingCli.Commands.InstallServiceExtensionCommand+Settings
       │           ├── Parameters
       │           │   ├── Language --language | -l System.String
       │           │   ├── FilePath FilePath position 0 System.String
       │           │   └── ReplaceExisting --replace | -r System.Boolean
       │           └── Examples
       │               └── install extension path/to/extensionfile --replace
       └── uninstall
           ├── Description Command(s) to uninstall extensions in CanKing Service
           └── Child Commands
               └── extension
                   ├── Description Uninstalls a CanKing service extension.
                   ├── Type CanKingCli.Commands.UninstallServiceExtensionCommand
                   ├── Settings Type: 
                   │   CanKingCli.Commands.UninstallServiceExtensionCommand+Setting
                   │   s
                   ├── Parameters
                   │   ├── Language --language | -l System.String
                   │   └── Name Name position 0 System.String
                   └── Examples
                       └── uninstall extension extensionname
