# Scripting

parameter values can be changed automatically with the scripting window. It is started with the button from the parameter editor.

The script is written into a textfile, which is generated by an arbitrary editor. The textfile must be in csv-format with the following layout:

The script contains 5 columns, which are separated by a semicolon.

1. Time in seconds

2. value of the parameter without unit.

3. device name. It must be the same name than used in the parameter editor.

4. parameter id

5. sub id

An example looks as following:

5;0;CAN-IO;3104;0

10;1;CAN-IO;3104;0

In this example the parameter 3104 is set to 0 after 5 seconds past pressing the start button. 5 seconds later (10 seconds after start) the parameter is set to 1.

If the button loop is pressed, the script restarts after the last line.