Available Rate in Historical Server Association

8 Posts
4 Users
0 Likes
35 Views
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

Is the AvailableRate a property of a station or a property of a station-association-relation?

On customer-site I find the case that a server station is a realtime data producer in a realtime association and also a historical server in a single-active server historical association. Of course, both associations shall be treated independently.

For switching the active server in the realtime association my customer uses the SCADA Basic verbs LAN("SET_SERVER_MODE", [Assoc], [Station], [value]) and LAN("SET_AVAILABLE_RATE", [Assoc], [Station], [value]).

The problem is that I do not know if setting the available rate for the realtime association also affects the rate in the historical association or not. Anyway: Why is it that in SCADA Basic we need to pass an association name for setting a property that is actually defined on station-level?

 
Posted : 15/10/2012 5:28 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Hello,

Available Rate is a property of a station within an association.
A server that is used as realtime server and historical server will have one available rate value for each association.
The value you find in the station properties dialog box is it's default value for each association.

If you use LAN("SET_AVAILABLE_RATE", [Assoc], [Station], [value]) in a RT association, then LAN("SET_SERVER_MODE", [Assoc], [Station], [value]) will not work anymore as the station with the highest availabilty will be active

 
Posted : 15/10/2012 5:33 pm
(@r.buisson@arcinfo.com)
Posts: 31
Eminent Member Guest
 

I'm agree with Florent, available rate is independant for each association.

It will be a good idea to make improvment on dialog box in order to show all the available rate depending on association.

 
Posted : 15/10/2012 5:36 pm
ED
 ED
(@e-duvalarcinfo-com)
Posts: 138
Estimable Member
 

Florent is correct.
I discussed with Dominique regarding having the available rate visible on the station dialog box. Apparently it is difficult to do since at the time of creation the station does not belong to any association and after the station can be member of a number of association (both real-time and historical).
The rule is to set the available rate per station for each association at the project start-up.

But careful about the ping pong mecahanims. In order to avaoid a ping poing mechanism (at the station start-up), the available rate parameter at the station configuration should be set to 0.
Then i Scada BASIC you can set each individaul available rate according to your requirment.
I think Florent wrote a little document regarding this mechanism following the SCORE project experience.

 
Posted : 19/10/2012 2:28 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Yes, I wrote something, in French... It was the report of the support.

 
Posted : 22/10/2012 12:43 pm
ED
 ED
(@e-duvalarcinfo-com)
Posts: 138
Estimable Member
 

French... No problem for Armin, isn't it?

 
Posted : 22/10/2012 2:13 pm
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

No, reading French documents for sure is not the problem.

What I have learnt so far from this thread is already sufficient. But what I do not understand in terms of configuration environment: Why wouldn't it be possible or useful to define the availability rate (additionally to the default setting for a station in the station's properties) on the station-to-association relation?

 
Posted : 22/10/2012 2:19 pm
ED
 ED
(@e-duvalarcinfo-com)
Posts: 138
Estimable Member
 

Hum discussing with Dominique Leblanc about such feature it seems to be difficult to do... I don't know why but I trust the man :P.
Maybe you could create an SPR and see what Dominique Leblanc would reply.

 
Posted : 22/10/2012 5:23 pm