I have a very odd problem. I am trying to upgrade a project from 6.04 to 10.0. It seems that some variables are disappearing - which is odd. But what is even stranger is - if you try to add again those variables that have disappeared - you don't get any errors - but they still don't appear.
One of the variables causing problems is the system variable DATE. It appears in VAREXP.DAT but doesn't appear in the variables tree when PcVue is running.
I assume it some weirdness caused by the age of the original VAREXP.DAT - but does anyone have a clue where I should look?
Cheers, Robin
Hi Robin,
Could you please attach the C directory or at least varexp.dat and if exist station.dat
KR
Edouard
Ok - I think I found the problem.
It seems that any variables at the beginning of varexp.dat, that don't have a branch, get lost. One you have passed at least one variable with a branch it is then OK to have variables without a branch.
I just cut and pasted the variables in question to the end of the file and then they worked.
Robin
I was preparing my answer when your post came.
I Tried with v9 and v10 and it works fine
One way to resolve the problem is activating the autonum option in param.dat:
VARAUTONUMTAGNAME,1
Edouard
Other advises for such migration:
- Step by step migration. For example 6 -> 7.20 -> 8.2 (with PcVue networking rework to full IP configuration) -> 9.0 -> 10
- Exclude all configuration file from varexp.dat
VARCONFIGFILE,"varexp.dat"
VARINCLUDEDFILES,0x7e00
- Be careful with old options (compatibility, histo.dat format, ...)
- Check Communication regulation in the Variable queue dialog box (with version 9.0, Configure / Communication / Queue regulation, then button Regulation)
- ...
KR
Edouard
Hello Robin,
Did you wrote a SPR?
If it is easy to reproduce it is maybe easy to fix.
Ludo


