We Value Your Feedback! Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services. Learn more about the survey or Click here to Launch the survey Schneider Electric Services Innovation Team!
Using IsLoggedOn to disable Pick Actions
Geo SCADA Knowledge Base
Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Can I disable pick actions based on which user is logged on?
Solution
Yes, pick actions can be disabled on a per user basis using the IsLoggedOn opc property.
In the enclosed example (which may be imported into ClearSCADA 2009 R1 or newer) three users have been created: Eng1, Eng2 and Op1. An internal analog point has been created and a button placed on a mimic with a pick action to hand control the analog point. The 'PickDisabled' property in the 'Animations' screen of the button has been set up with the following expression (shown below in Flowchart form):
flowchart.JPGflowchart.JPG
This is what the full expression looks like:
fullExpression.JPGfullExpression.JPG
The PickDisabled property is set to 'TRUE' only if the 'Op1' user is logged on. If either the 'Eng1', 'Eng2', or 'Guest' users are logged on then the PickDisabled property is set to 'FALSE'. This means that the pick action is only disabled if the 'Op1' user is logged on.
Below is a screenshot showing the state of the button when the 'Eng1' user is logged on.
Eng1.JPGEng1.JPG
And here is a screenshot of the button when the 'Op1' user is logged on.
Op1.JPGOp1.JPG
Notice that the button is greyed out. It's operation is disabled.