Back

Topic

[KB333]How to include/exclude configuration files in the varexp.dat file?

Tags: Migration, Varexp

14 years ago
By RM
Options
Print
Applies to:

PcVue version 8.10 onwards


Summary:

Since PcVue version 8.10, it has not been possible include additional configuration files in the Varexp.dat file. When creating a new project all files are excluded by default.

For project migration it is recommended not to include any configuration files in Varexp.dat especially when editing it with an external tool.


Details:

With PcVue versions prior to 8.10 it was possible, from the configuration menu, to exclude/include the contents of other configuration files in
varexp.dat file as shown below.

KB333 - Database file format

Click on the Advanced Operation button to select the files to be included.

KB333 - Data types to include

These dialog boxes are no longer available. However it can still be done by modifying the line “VARINCLUDEDFILES, 0xXXXX“ in the Param.dat file. XXXX is replaced with an hexadecimal value. The default value is 0x7e00 (no files).

Each file you want to include has a specific binary weight. They are given here in decimal and hexadecimal format:

1          0x1                Action.dat
2          0x2                Event.dat
4          0x4                Cyclic.dat
8          0x8                Histo.dat
16        0x10              Comm.dat
32        0x20              Formula.dat
64        0x40              Key.dat
128       0x80             Exprm.dat
256       0x100           Exprv.dat

Add the weight of each of the required files and add 32256 (or 0x7e00) to obtain the correct value.

For example if you want to include all the files, the corresponding line will be:

VARINCLUDEDFILES, 0x7fff

If you want to include only the Comm.dat file:

32256 + 16 = 32272 (0x7e10)
VARINCLUDEDFILES, 0x7e10


Attached file

Created on: 30 Dec 2010 Last update: 13 May 2024