ck add signallogger

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)

Synopsis

signallogger [SIGNALS] [--auto-restart] [--col-separator] [--data-bytes-converter-limit] [--data-decimals] [--decimal-separator] [-f|--format] [-l|--language] [-n|--name] [-p|--path] [--size-limit] [--skip-file-header] [--start-id] [--start-operator] [--start-signal-qualified-name] [--start-signal-value] [--start-timeout] [--stop-id] [--stop-operator] [--stop-signal-qualified-name] [--stop-signal-value] [--stop-timeout] [--time-decimals] [--time-limit] [--time-reference] [--use-calendar-time] [--use-enum-values] [--use-local-time] [--write-counter] [--write-data-frames] [--write-data-in-dec] [--write-fully-qualified-names] [--write-id-in-dec] [--write-units-on-own-row]

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)

Arguments

  • SIGNALS

    A comma separated list containing the qualified names of the signals to log.

Options

  • --auto-restart

    Automatically restart after stop.

  • --col-separator

    Use either a comma (1) or semicolon (2) as the column separator. Default value is a comma (1).

  • --data-bytes-converter-limit

    Number of data bytes a converter will max write to the log file (1-64). Default value is 64.

  • --data-decimals

    Number of data decimals (0-9). Default value is

  • --decimal-separator

    Use either a dot (1) or comma (2) as the decimal separator. Default value is a dot (1).

  • -f|--format

    Format of the file to log messages to. If not given the format will be extracted from the path.

  • -l|--language

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

  • -n|--name

    Name of the node. Default value is ‘Signal Logger’

  • -p|--path

    Name of the file to log messages to, including full path (required).

  • --size-limit

    Max file size in megabytes before writing to a new file.

  • --skip-file-header

    Skip writing file header

  • --start-id

    The Message ID to use as start trigger. Prefix with 0x to indicate hex format.

  • --start-operator

    The operator to use as start trigger. Default is 1 (EqualTo).

  • --start-signal-qualified-name

    The Signal Qualified Name to use as start.

  • --start-signal-value

    The Signal Value to use as start trigger. Prefix with 0x to indicate hex format.

  • --start-timeout

    A timeout in milliseconds, to be used as start trigger.

  • --stop-id

    The Message ID to use as stop trigger. Prefix with 0x to indicate hex format.

  • --stop-operator

    The operator to use as stop trigger. Default is 1 (EqualTo).

  • --stop-signal-qualified-name

    The Signal Qualified Name to use as stop.

  • --stop-signal-value

    The Signal Value to use as stop trigger. Prefix with 0x to indicate hex format.

  • --stop-timeout

    A timeout in milliseconds, to be used as stop trigger.

  • --time-decimals

    Number of time decimals (0-9). Default value is

  • --time-limit

    Max number of seconds between first and last event before writing to a new file.

  • --time-reference

    Use either first trigger (1) or start of measurement (2) as time reference. Default value is 1 (first trigger).

  • --use-calendar-time

    Write timestamps in calendar time instead of seconds.

  • --use-enum-values

    Use strings from database instead of integer 
    

values.

  • --use-local-time

    Use local time instead of UTC for absolute timestamps.

  • --write-counter

    Write counter.

  • --write-data-frames

    Write both signals and data frames.

  • --write-data-in-dec

    Write data in decimal format.

  • --write-fully-qualified-names

    Write fully qualified names.

  • --write-id-in-dec

    Write ID in decimal format.

  • --write-units-on-own-row

    Write units on an own row.

Examples

  • ck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal

  • ck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal --start-timeout 500 --stop-timeout 13000

  • ck add signallogger dbcfile.engine.speed dbcfile.engine.gear --name "Signal Logger" -p path/to/logfile --format csvsignal --start-id 0x3F --stop-id 0x0F

  • ck 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