TestIT:Configuration Log

From Nolek Wiki
Jump to navigation Jump to search

6.3.5 Log

Log is a logging device, that will log a specified array of symbols to in an interval to a file. It will run, when started from programming, and keep running, until stopped from programming. It is possible to trigger it instant, by delay, or by a symbol.

Setup fields:

  • Configuration
  • How to start/stop parameters?
  • Setup log

Configuration:

  1. Write the device name and device description (required)
  2. Select if the device is active or not
  3. Select the following:
    1. File extension – What type of file to use
    2. Folder for the files – Path to the folder on the disk
    3. Delimiter – Delimiter sign
    4. If exists – Whether to overwrite or create a new file with a timestamp
    5. Rate – Rate of logging, 1 or 5 per second
    6. Sample rate – 1, 5, 10 or 20
  4. Press Save

How to start/stop parameters?

  1. Select start method
    1. Select between “when started”, “with delay” or “trigger by symbol”
  2. Select waiting time (in MS) – Delay time
    1. Only applying if “with delay” is selected
  3. Select trigger symbol – Symbol to get trigger value from
    1. Only applying if “trigger by symbol” is selected.
  4. Select trigger validation – Type of validation.
    1. Select between “equal”, “not equal”, “less than or equal to”, “greater than or equal”.
    2. Only applying if “trigger by symbol” is selected.
  5. Select trigger value – Value to validate against.
    1. Only applying if “trigger by symbol” is selected.

Setup log:

  1. Press Add symbol
  2. Select the symbol to log
  3. Select highest or lowest
    1. If highest, the highest value is set to this symbol
    2. If lowest, the lowest value is set to this symbol
  4. Select whether to use sample functionality or not
    1. If marked, select the sample symbol
  5. Press Save

6.3.5.1 Commands

Commands in log are:

Find a code example and the parameters in the functions window, in section internaldevice.


Back to Configuration