Migration

5 Posts
4 Users
0 Likes
63 Views
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

I propose you to open this topic to share project migration experience

First observation:

Versions : 10.0 SP2 to 11.1
Functions : SCADA BASIC and Proprietary Archives
Comments : Necessary to increase the HandleDest buffer size to extract with SVLOG

I don't understand why, if you have idea ?

 
Posted : 26/08/2015 1:21 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi,

I remember seeing a HL request dealing with buffer management but impossible to get it again.

Here is what a local customer of mine has met.
With old PcVue, nothing to declare. With latest version, impossible to put into a buffer the exact size: it has to be +1

Sub Main()
dim hBuf as Long;
dim RetLectINI as Str;
dim longueur as Integer;

RetLectINI = "abc";
longueur = Len(RetLectINI);
'With new versions (11.1)
'longueur = Len(RetLectINI+1);

hBuf = Alloc_Buffer(longueur);
PUT_BUFFER(hBuf , 0 , RetLectINI);
Free_Buffer(hBuf);
End Sub

BR
Edouard

PS: just copy/paste SCADA Basic code in blank project + empty GLOBAL. 10.0 and 11.0, OK. 11.1, NOK

 
Posted : 21/04/2016 7:48 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Wow! Indeed the following code raises a Scada Basic error "Block size too small"
dim b as long;

b = Alloc_Buffer(3);
Put_Buffer(b, 0, "abc");

Free_Buffer(b);

==> SPR

 
Posted : 22/04/2016 6:58 am
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

That is what I wanted to see as error message. Of course I got the same.
You are the guy curious enough I was waiting for 😛

SPR 62133 declared!

 
Posted : 22/04/2016 12:33 pm
(@as.rasidi@arcinfo.com)
Posts: 0
New Member Guest
 

Hello Everyone,

Do any of you face an issue on mapping of word-bits migrating from ver 8.0 to older (eg. ver 11.1)

Spoiler

Hi,
I am facing some issues while upgrading a project backup from version 8.0 to 11.1.
Some of the bit variables created using word frames are not linked with the addresses in the updated file.
Please do the needful.

 
Posted : 04/05/2016 11:16 am