AA: how to resolve 46 000 events

9 Posts
3 Users
0 Likes
45 Views
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hello friends,

A customer has a project, developed with AA. He generates variables with 46000 program events. Because of the limitation to 32000 it does not work, of course.

But in fact I think he does not really need all of them.
The program - events can be split to following functions:
- Beep on Alarm (one line of code): 10000 events
- Beep on State-Change (Bit without Alarm-declaration): 12000 events
- Beep on Register-Change: 12000 events
- Write extended Attributes (BATT#) on Alarm-Change: 12000 events

I think nothing of them could be solved with expressions, am I right?

Does anybody have an idea? B)

 
Posted : 30/01/2015 5:25 pm
(@admin_doc72)
Posts: 493
Member Admin
 

Is it possible to create Alarm Syntheses and create events on the register variable calculated by the syntheses ?
or
Increase the max number events in CUIVCONF.dat

 
Posted : 30/01/2015 5:34 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

thank you,

- do you know the max configurable size?
- Am I right, that causing a "Beep" and writing / reading Binary Attribute is only possible using SCADA Basic?

Thank you again

 
Posted : 02/02/2015 4:20 pm
(@admin_doc72)
Posts: 493
Member Admin
 

Hello
I dont know the max size for the number of events.
Playing beep sound in VBA is ok for me just using Beep instruction

You can Write/Read extended attributs uin VBA using

'Access to text extended attribute number 3
Variables("BANC_ESSAIS.VITESSE_MAXI_R1").ExProperties("TATT3") = "TEST"

 
Posted : 02/02/2015 4:40 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Ahh ok,

yes VBA could be the solution. I will talk to the customer.

 
Posted : 02/02/2015 4:43 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Johannes, I disagree declaring all those events only to make a beep.
The good answer is the one given by Nico Pasquier: Use Alarm synthesis.

 
Posted : 02/02/2015 5:20 pm
(@j.becker@pcvue.de)
Posts: 0
New Member Guest
 

Hello Nico,

problem is, that the most of them are not Alarms. (STATE, REGISTER, Binary Attribute).
So Alarm synthesis would not solve the problem.

 
Posted : 02/02/2015 5:28 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Yes I agree but at least you can remove 10000 events...

 
Posted : 02/02/2015 7:11 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

But anyway i am confused about what your customer wants to do.
He wants making a beep (or serie of beep?) when a data change???
What will happen when he will have an avalanche?

I think you must request from him his needs.

 
Posted : 02/02/2015 7:13 pm