Disappearing Variables on upgrade V6 to V10

7 Posts
3 Users
0 Likes
25 Views
RM
 RM
(@r-martinarcinfo-com)
Posts: 56
Estimable Member
Topic starter
 

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

 
Posted : 24/03/2014 10:15 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi Robin,

Could you please attach the C directory or at least varexp.dat and if exist station.dat

KR
Edouard

 
Posted : 24/03/2014 10:26 pm
RM
 RM
(@r-martinarcinfo-com)
Posts: 56
Estimable Member
Topic starter
 

Here it is

 
Posted : 24/03/2014 10:43 pm
RM
 RM
(@r-martinarcinfo-com)
Posts: 56
Estimable Member
Topic starter
 

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

 
Posted : 25/03/2014 5:35 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

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

 
Posted : 25/03/2014 7:28 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

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

 
Posted : 25/03/2014 8:17 pm
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
 

Hello Robin,

Did you wrote a SPR?
If it is easy to reproduce it is maybe easy to fix.

Ludo

 
Posted : 27/03/2014 2:36 pm