Making Widgets Flash

Discuss issues and ideas you have to configuring displays with PowerVision
DrJ
Posts: 1
Joined: Tue Aug 23, 2016 2:04 pm

Making Widgets Flash

Post by DrJ » Wed Nov 29, 2017 10:57 am

Hello all,

This is my first post, so please be gentle.

I inherited this software from a co-worker, and am trying to catch up as quickly as possible. My configuration is in a highway vehicle environment, so being able to alert, without interrupting the driver, is important. The idea is to make a standard item flash when the alarm limit is exceeded.

I started by taking a standard widget, the battery percentage with a diamond graphic using a signal showing the battery percentage on the Battery Display Driving screen.. And when it gets below 10% it needs to simply start flashing red. You will see that the battery percentage colors (green, yellow, orange, red) are all simply display layers that hide and show based on this signals value. Which works great.

Then I added a J1939 signal from an external controller that turns off/on every 0.5s to eliminate the need to have a timer constantly running on the device. And because I don't know how to make items flash at all otherwise..
But by doing this - I now have to link the widget to TWO signals.
So I made the widget itself visible by the actual value of battery percentage - and the graphic INSIDE the widget visible based on the on/off signal.

This seemed like a reasonable way to do this to me..
But it does not flash when it gets to the threshold.

Additionally, the other problem is that I need a different widget to link TWO signals, PLUS the signal for flashing.
So I created a variable called OrangeModeVariable.
The idea is that it monitors those two signals, then when it reaches '2' it will act similarly as the one above (with the value as the visible condition, which is showing the widget to begin with, then the signal turning on/off every half second visible as visible condition on the image inside the widget). But it also does not work.

So.
I am lost. I'm sure there is a much easier way to make this work. But I am very much an amateur at this software still.

Please someone take a look at my logic and see if I am way out of line here. I will post the configuration file as soon as I figure out what file formats are valid since apparently I can not figure that out either.. I am using version 2.9.20040 on a PV780 (10 Key).

Thank you in advance.
Justin