Reading Graphics X Y

Discuss issues and ideas you have to configuring displays with PowerVision
BrianM
Posts: 8
Joined: Thu Sep 27, 2012 10:51 am

Reading Graphics X Y

Post by BrianM » Thu Nov 29, 2012 3:36 pm

Hi

In script is it possible to read the X & Y co-ordinates of an on screen image widget?

Regards Brian
TStapleton
Enovation Controls Development
Enovation Controls Development
Posts: 10
Joined: Mon Feb 06, 2012 10:08 am

Re: Reading Graphics X Y

Post by TStapleton » Fri Nov 30, 2012 3:22 pm

Hi BrianM,

Welcome to our Forums! To better answer your question it would be helpful to know which version of PowerVision you trying to accomplish this with? The version number should be located at the top of the PowerVision window. If you do not see it located there you can go to the upper right hand corner and click on the About button.

Regards,
Travis
BrianM
Posts: 8
Joined: Thu Sep 27, 2012 10:51 am

Re: Reading Graphics X Y

Post by BrianM » Mon Dec 03, 2012 2:27 am

Hi

Thanks for the reply, the PowerVision I am using is version 2.3.1157 and I am working on an HV700 display.

Regards, Brian
TStapleton
Enovation Controls Development
Enovation Controls Development
Posts: 10
Joined: Mon Feb 06, 2012 10:08 am

Re: Reading Graphics X Y

Post by TStapleton » Mon Dec 03, 2012 9:19 am

BrianM,

In PowerVision, version 2.3 on an HV700 display, it is not possible to retrieve the X & Y co-ordinates of an on screen image widget via script.

Regards,
Travis
BrianM
Posts: 8
Joined: Thu Sep 27, 2012 10:51 am

Re: Reading Graphics X Y

Post by BrianM » Tue Dec 04, 2012 4:24 am

Thanks

Do you know if this be a feature that may be added?

Re Brian
TStapleton
Enovation Controls Development
Enovation Controls Development
Posts: 10
Joined: Mon Feb 06, 2012 10:08 am

Re: Reading Graphics X Y

Post by TStapleton » Wed Dec 05, 2012 11:15 am

BrianM,

This feature is not currently on the plan to be added, that does not mean that at some point in the future it will not be added.

In doing some research for this response I was informed of a work around to your issue. What you could do in your script is to keep track of where the on screen image widget starts(X/Y coords) and track where/how you move it in your script. This is not an optimal solution, but the only way that I am aware of for you to accomplish this.

Regards,
Travis