Difference between revisions of "TestIT:Configuration Folder File"

From Nolek Wiki
Jump to navigation Jump to search
 
Line 39: Line 39:
  
 
Find a code example and the parameters in the functions window, in section files.
 
Find a code example and the parameters in the functions window, in section files.
 +
 +
 +
[[TestIT:Configuration#Devices_in_TestIT%3A|Back to Configuration]]

Latest revision as of 15:51, 11 September 2019

6.3.3 Folder (File)

This file folder can be used for reading and writing from and to text files.

Setup fields:

  • Configuration
  • Test device

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 – The type of file to use
    2. Folder for the files – Path to the folder on the disk
    3. Delimiter – Which character to split texts
    4. If exists – Which action if the object exists
    5. File format – The name of the file if created. File name or File name and date time
    6. File encoding – Is windows specific
  4. Press Save

Test device:

  1. Select the test symbol
  2. Press Get files and the files in the folder will be shown
  3. Select the wanted file; if there is no name in the file name box then write one
  4. Press Read file
  5. To add a new element to the file, Press Add element to file
  6. Write a value in the value area and continue until all the needed values have been created
  7. Press Write file and all the values will be added to the file

6.3.3.1 Commands

Commands in file folder are:

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


Back to Configuration