VariablesSaved.dat and .bak files

4 Posts
3 Users
0 Likes
38 Views
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
Topic starter
 

Since a long time in PcVue we have this kind of files to save the status and values of internal variables.

But in fact .bak file was useless, the restore aspect of this backup file has just been integrated in version 11.2 Update 4

At PcVue startup, the integrity of .dat file is checked basically. If all lines in this file begin with "VAR," then PcVue try to load this file. If not then PcVue try to load .bak file.

If .dat file is not correct and .bak file don't exist or is corrupted (normaly it cannot happen) then nothing is loaded.

Comment for changeset #19661 created on 10/01/2017 by DL

For the issue 62757, if at least one line of the VariablesSaved.dat not begin with the string "VAR," then I conclude that the file is corrupted and then I used VariablesSaved.bak file to load the saved variables.
For alarms saved, if at least one line of the AlarmSaved.dat not begin with the string "ALA," then I conclude that the file is corrupted and then I used AlarmSaved.bak file to load the saved variables.

 
Posted : 08/03/2017 10:28 pm
(@r.buisson@arcinfo.com)
Posts: 0
New Member Guest
 

What's a good news

 
Posted : 08/03/2017 10:50 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

11.2 Update 12 ????

 
Posted : 13/03/2017 8:44 am
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
Topic starter
 

It was just before Update 4 sorry

 
Posted : 22/12/2017 10:06 pm