Server list in Variable Expression

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

In PcVue 10.0 sp1 and 10.1 there is an option to select a server list for variable expressions but it is disabled.

119=21 ServerlistinVariableExpressions

Any idea how to workaround this? Is it possible to define the server list in the EXPRV.DAT?

 
Posted : 25/09/2012 9:10 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Hmmm, I suppose it's not implemented in the code...

 
Posted : 26/09/2012 6:32 am
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Through the Architect, it is possible to edit this field (with 10.0SP1).

A new SPR to create.

 
Posted : 26/09/2012 10:05 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

ha ha, where is the anomaly? in AA or AE?
The only way is to try in EXPRV.DAT
Here is the format for the V10.0:

122=22 Expression
 
Posted : 26/09/2012 11:33 am
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

Thank you!

But Nico... that is the wrong screenshot. It is the documentation for template expressions.

The table for expressions on variable reads:
Field 6 - Server list name - Not saved, but got from the attribute of the result variable

So, if understand right the expression is only evaluated on stations that are in the result variable's server list, which explains why the field is readonly and which in fact does the trick for me.

If the field can be set in the Application Architect, however, it seems to be an anomaly there.

 
Posted : 26/09/2012 12:26 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

Well, then we need to create 2 anomalies:

1/ we can't set this parameter from the AA

2/ even if the variable has a server list configured, it doesn't appear in the Expression window of the AE (I propose to suppress the field from the AE)

 
Posted : 26/09/2012 12:32 pm
(@admin_doc72)
Posts: 493
Member Admin
Topic starter
 

I agree.

 
Posted : 26/09/2012 12:43 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Argghhh indeed I ddint see my screenshot was for Expression Template object. Sorry guys.

Then, as you said Armin, the attribute containing the Server list, looks like a dirty work around done long time ago!

In the SPR we must require to enable the combo box in AE not to disable in AA.

 
Posted : 26/09/2012 12:53 pm
LM
 LM
(@l-micaudarcinfo-com)
Posts: 383
Member Admin
 

I thought an expression was calculated by the station who produce the variable result! Isn't it?

So what is the interest to force a server list?

 
Posted : 26/09/2012 1:00 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Wow, I am really not sure about that! Please ask Mr Leblanc to confirm...

 
Posted : 26/09/2012 1:08 pm
f.martin
(@f-martinarcinfo-com)
Posts: 148
Member Admin
 

This behavior is not old.
Expressions are calculated only on the producer server of the result variable since version 9.0 (maybe 8.2).

This corresponds well to what noticed Armin:

Not saved, but got from the attribute of the result variable

But at the end, the best answer will come from Dominique...

 
Posted : 26/09/2012 1:44 pm