How to filter command for Log viewer

10 Posts
3 Users
0 Likes
40 Views
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Hello guys,

One customer is using internal register variables to do some special control, and it is only for navigation in HMI. In Log Viewer, it displays all Command logs, now they do not want display these logs. Do you have any good solutions?

Thanks in advance.

BRs,
Mark

 
Posted : 24/10/2017 2:20 pm
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

Hi,

The solution you are looking for is the SCADA Basic verb SYSTEM mode OPERATORMODE.
Using it allows you to drive the logging behavior for variable set by SCADA Basic.
Can be used globally: You set the mode at some point during the init
Can be used locally in a function
Can be used to set different behavior specifically for the Send/SendList operations.

Comes with the small disadvantage that it applies only to transitions due to setting variables in SCADA Basic. If variables are set via animations, then it is for sure a user command and it should be logged as is.

Regards

 
Posted : 24/10/2017 5:46 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Hi Mark,

I would recommend to use a Temporary Variable (%) instead an internal. Maybe (not sure) controlling a temporary variable is not logged...

Nico

 
Posted : 25/10/2017 7:21 am
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Thanks Benoit, maybe it is not the solution I want, because the customer will make the command in Animation.

 
Posted : 25/10/2017 12:31 pm
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Thanks Nico, Temporary Variable (%) may is not suitable for my requirement as these variables will be used in several places,e.g. many Mimics,Animations, Events and Scada Basic. But you remind me to use Temporary Variable created by verb Temporary_DB in SCADA Basic. Now I am not sure if this kind of temporary variable can be used globally like Variable tree variables.Do you confirm?

Mark

 
Posted : 25/10/2017 12:42 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Yes i was talking about this type of temporary variables.
They are available everywhere in the HMI only until you stop PcVue.

Nico

 
Posted : 25/10/2017 1:34 pm
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Hello Nico,

I tried just now, and it works in Animation, SCADA Basic and VBA, but failed in Event,Expression.

Mark

 
Posted : 25/10/2017 2:07 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

For event I am not really surprised.
But, in my opinion, it should work for expression.

Anyway, you said your customer is using these variables only for navigation. So, I hope he is not using event and expression for that...

Nico

 
Posted : 25/10/2017 2:30 pm
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

The customer also needs to use Event,but we have found a bypass for their requirement,thanks.

 
Posted : 26/10/2017 6:36 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Wow! Looks like your customer made a quite complicated navigation!
Anyway, if you solved your issue that's a good news.

Nico

 
Posted : 26/10/2017 8:24 am