It is currently Sat Aug 02, 2014 12:35 am




Post new topic Reply to topic  [ 3 posts ] 
 Get binding of a component 
Author Message
Sergeant
Sergeant

Joined: Thu Jul 22, 2010 12:46 pm
Posts: 45
Location: St. Paul, MN
Post Get binding of a component
Is it possible to get the current binding of say, the value attribute of a numeric label component? My thought is to replace the pointID custom property of the CTG custom components to just pull the tag path from the binding of the component.

I have screens with many components that are not driven by indirect tags, and want to CTG enable all of them without having to fill in the custom property for each of them.


Mon Jul 16, 2012 11:14 am
Profile
Moderator
Moderator

Joined: Wed Dec 01, 2010 1:12 pm
Posts: 299
Post Re: Get binding of a component
Unfortunately no. There is no way to make a call to get the binding value for a certain property. You'll have to set each of the point id properties manually.

_________________
Dave Fogle
Technical Support
Inductive Automation


Mon Jul 30, 2012 8:57 am
Profile
General
General

Joined: Tue Oct 26, 2010 5:58 pm
Posts: 152
Post Re: Get binding of a component
This would be a cool feature to add though.

That way you could use drag and drop bindings to properties and then extract the tag path for further use in scripting (i.e. showing a quick, script driven high speed trend)

Currently I usually have to create a custom string property containing the tag path, then use a mixture of indirect binding and scripting to obtain what I need.


Mon Jul 30, 2012 10:43 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron