PV780 --> P780B Missing API

Discuss issues and ideas you have to configuring displays with PowerVision
mzainuddin
Posts: 14
Joined: Sat Jan 31, 2015 11:35 pm

PV780 --> P780B Missing API

Post by mzainuddin » Mon Oct 23, 2017 5:05 am

Hello,

On the PV780 I used the ScreenApiMove\Rotate\Color function.

On the PV780-B the API have been removed and to achieve similar effects I'm forced to use the actions ActionIDs.Screen_AnimatePosition\Rotation\Color

Is there a combination of the action data parameter to avoid the animation and having the transformation applied instantaneously?

Could you provide a rationale on why you dropped the support for the simple but effective API in favor of clunkier animation actions?

Thanks
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PV780 --> P780B Missing API

Post by boyce » Mon Oct 23, 2017 1:59 pm

Reply from the Director of Software:
When bringing up the new platform, we had a goal to simplify the architecture and eliminate redundant features to help new users. Most recent users use animation actions since they can be used in Scripting OR State Machines and this action has enough flexibility to support all use cases.
Boyce Schrack
Enovation Controls
mzainuddin
Posts: 14
Joined: Sat Jan 31, 2015 11:35 pm

Re: PV780 --> P780B Missing API

Post by mzainuddin » Mon Oct 23, 2017 11:58 pm

Most recent users use animation actions since they can be used in Scripting OR State Machines...
I definitely agree on that...
and this action has enough flexibility to support all use cases.
but in that I cannot... not ALL the use case, mine, for example, is not covered, basically in your effort of reduction of redundancy you also trimmed down the power of expression, if you could extend the animation feature to allow instantaneous effects, than you can claim that it will cover ALL the cases, and I will be happy too!

Thanks
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PV780 --> P780B Missing API

Post by boyce » Tue Oct 24, 2017 9:54 am

You should be able to get similar behavior using the Animation calls as the older API calls. And to add to the confusion, I accidently missed copying the whole quote to the previous reply.
If you want to trigger a Animation instantly, specify 1 for your number of frames and a frame multiple of 1.
For example, set the ScreenPositionData Recurrance and AnimationFactor to 1 for an instantaneous move.
Boyce Schrack
Enovation Controls
mzainuddin
Posts: 14
Joined: Sat Jan 31, 2015 11:35 pm

Re: PV780 --> P780B Missing API

Post by mzainuddin » Wed Oct 25, 2017 1:39 am

Hi Boyce,

Tried with:

Code: Select all

scr.Recurrance = 1;
scr.AnimationFactor = 1;
But the animation effect is still very apparent.

I'm afraid it would require a rework of the animation implementation... could you please investigate a bit more as we need this feature for functional and not merely aesthetic reasons?

Thanks
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PV780 --> P780B Missing API

Post by boyce » Wed Oct 25, 2017 8:40 am

Can you provide a simple configuration that demonstrates the animation issue? If so, please Private Message it to me.
Boyce Schrack
Enovation Controls
mzainuddin
Posts: 14
Joined: Sat Jan 31, 2015 11:35 pm

Re: PV780 --> P780B Missing API

Post by mzainuddin » Thu Oct 26, 2017 1:45 am

Done, check your inbox.
Thanks
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: PV780 --> P780B Missing API

Post by boyce » Thu Oct 26, 2017 2:32 pm

Thank you for the configuration. I was able to find the cause of the issue. Because the M2 displays are so much faster, they added a variable Screen.AnimationFactor with a default value of 4. If you change that value to 1 the image will move instantaneously.
animateposition.JPG
animateposition.JPG (112.92 KiB) Viewed 87 times
Boyce Schrack
Enovation Controls