Trigger two times of valueChange Event

5 Posts
4 Users
0 Likes
19 Views
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Hello,

Why does it trigger two times of valueChange Event of Alarm variable for every value change in VBA scripting? Other types of variable are OK, only one time for every value change.
My PcVue version is 11.2.6048.

Did you experience this case? Is it a bug?

BRs
Mark

 
Posted : 12/09/2017 1:50 pm
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
 

It is maybe because an alarm is a bit plus an alarm ?

Maybe it can trigger the 0 -> 1 / 1 -> 0 change and then after the alarm status change??? Ack, Noack, On, Off...

 
Posted : 12/09/2017 1:53 pm
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Yes,it sounds reasonable.

 
Posted : 12/09/2017 2:12 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Mark, please create a SPR for that. That's not normal

 
Posted : 13/09/2017 7:00 am
RT
 RT
(@r-toussaintarcinfo-com)
Posts: 38
Eminent Member
 

Nico D. did a improvement in VBA for alarm variable values.
It was SPR 61514.
May be you can make the connection with this SPR, which seems to have changed the behaviour of ValueChange in VBA.

RT

 
Posted : 13/09/2017 5:10 pm