Variables calculated by expression, no overwrite

2 Posts
2 Users
0 Likes
25 Views
f.cubattoli
(@f-cubattoliarcinfo-com)
Posts: 167
Reputable Member
Topic starter
 

Hello,

Imagine to have 3 internal register with command checkbox set:

  • MEAS1
  • MEAS2
  • RESULT

Ok: now imagine to create a simply expression: RESULT = MEAS1 + MEAS2 and create 3 animation Send Register in a mimic to set these 3 values.

With PcVue 8.xx and 9.00 probably:
You can set any variable: if you set RESULT, your manual value remains until MEAS1 or MEAS2 doesn't change. When MEAS1 or MEAS2 change, RESULT is re-calculated and overwritten.

With PcVue 10.00 and onwards:
You can only set MEAS1 and MEAS2. If you try to set RESULT you have an error on the event viewer:

xxxx/xx/xx,xx:xx:xx,xxx,5,a,,,5040,,1,The variable RESULT is a result of an expression, it can be updated only by the engine of expression.

My question is: for compatibility purposes, since I'm upgrading a very big old project, is it possible to allows the overwriting of these variables? Maybe a compatibility flag somewhere?

I don't want to redo the logic of this project from scratch... :blush: :blush: :blush:

Thank you!

 
Posted : 14/08/2015 3:20 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

No, it's not possible anymore.

 
Posted : 17/08/2015 9:23 am