Text IO Field

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
chandra
Posts:32
Joined: Fri Oct 06, 2017 12:25 pm

Text IO Field

Post by chandra »

Hellow Everyone,

Is it possible to Dag the Text IO field in VISION?

I want to change the position of the IO field by drag and drop is it possible is VISION?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Text IO Field

Post by leoknipp »

Can you please describe more accurate.
What is a text IO field in this case?

Changing the position of objects in a panel is normally made in the graphical editor GEDI.
Why shall the user have the possibility to change it by Drag&Drop?

Best Regards
Leopold Knipp
Senior Support Specialist

chandra
Posts:32
Joined: Fri Oct 06, 2017 12:25 pm

Re: Text IO Field

Post by chandra »

My Application is like first we will select one image in a panel then after we want to monitor some (around 20 DPE) on top of the image in different places and those places of DPE will change based on a test what we are doing on the machine so those places of DPE's must be selectable in VISION.

If any possibility to Dag a Texfield in VISION then first we will select an image then we can keep Texfield in different places(by Dragging) on top of an image then we can dag DPE's on those Textfields.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Text IO Field

Post by leoknipp »

The following information is based on WinCC OA 3.15 + P007.
If you have defined a "DragDrop" event for the panel you get a information and position when someones has tried to "drop" information to the panel.
This information can then be used in the "DragDrop" script, e.g. to add a reference to the panel using addSymbol().

If the panel is defined during runtime you can save it as panel file using the function "writeToFile", e.g. started by using the dot notation or a setValue().

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1