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.
Is it possible to change the background colour of a value field if the point hasn't updated for a certain period of time?
Solution
Yes, this can be configured by following the steps below:
1) Create a new group and add a the following objects: Internal Analog input point, three Internal String points and a Logic Function Block Diagram program. The tree should look like this:
tree.JPGtree.JPG
2) Open the 'timer logic' function block logic program and add the following function blocks: NOW, DT_TO_TOD, SUB_TOD_TIME and DATE_AND_TIME_TO_TIME_OF_DAY
3) Drag the intenal analog and string points on to to logic program (one at a time) and configure then as shown in the screenshot below (Note the 'Type' that each point is set to in the list at the top of the screenshot)
logic.JPGlogic.JPG
4) Next, open the mimic and drag across the internal points along with their values as shown in the screen shot below:
mimic.JPGmimic.JPG
(Note: the 'last updated time' shown for the AIN1 point will likely be displayed in local time whereas the 'New String Point' and 'timeNow' current values will be shown in UTC time.)
5) Edit the value field for the AIN1 point and go into the 'Animations' dialog. Select the Fill.FillColour field and hit the 'Flowchart' button. Add a decision box and enter the following expression:
expression.JPGexpression.JPG
The Flowchart and final expression will look like this:
final expression.JPGfinal expression.JPG
In this example if the point has been updated within the last 10 seconds then its background will be red. Otherwise if 10 seconds or more has elapsed since the last update then the background colour will be green as shown in the screenshots below:
results.JPGresults.JPG
The example is attached as a .sde file that can be imported into ViewX using ClearSCADA 2009 R1 or higher.