Variable: Synchronize (Read)
The module creates a file for adjustment of variable objects in several clients. The file can be amended and afterwards used as input for the module VariableSyncEdit to write the data back to the clients.
Designation
- Name
- info.VariableSyncRead
- Aliases
- VariableSyncRead
Configuration
- Optionen
- CSV filename (
vara-file
) - The CSV file containing the variable mapping
Description
The CSV file created contains a header line with the definitions for the individual columns. The first column always contains the name of the variable object and the second the key. The following columns contain the values from the individual clients.
The individual elements in the file are separated by a semicolon. For each of the connections, the 5 values are written to individual columns in the file.
Variable;Keyword;B4A-1;B4A-1;B4A-1;B4A-1;B4A-1;B4A-2;B4A-2;B4A-2;B4A-2;B4A-2
B4A.VARA.SYNCVARIABLE;key1;value10.1;value10.2;;;value10.5;value11.1;value11.2;value11.3;value11.4;value11.5
B4A.VARA.SYNCVARIABLE;key2;;;;;;value11;;;;
B4A.VARA.SYNCVARIABLE;key3;value10;;;;;;;;;
B4A.VARA.SYNCVARIABLE;key4;;;;;;;;;;
B4A.VARA.SYNCVARIABLE;key5; "a quoted value";;;;; "a double quote ("") in the value";;;;
B4A.VARA.SYNCVARIABLE;key6; "a quoted value with
a linebreak";;;;; "a double quote ("")
in the value with
some linebreaks";;;;