cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

How do I get the point source of a property binding in a thing

ST_10465152
4-Participant

How do I get the point source of a property binding in a thing

I have an industrial thing where the Property is bound to the points in the kepserver. I want to get the address of the point bound to the current property when the point data changes.For example, how do I get the Source value on device1 (my.device.point1)?

ST_10465152_0-1731898419710.png

 

ACCEPTED SOLUTION

Accepted Solutions

@ST_10465152 

The GetRemotePropetyBinding service has a propertyName parameter to specify the remote property name.

You can use this service to get point source.

View solution in original post

8 REPLIES 8
Velkumar
19-Tanzanite
(To:ST_10465152)

Hi @ST_10465152 

 

What do you mean by Source Value?

 

If you are looking for Kepware tag details (Register details ) you have to check it in KepServerEX only. 

 

/VR

ST_10465152
4-Participant
(To:Velkumar)

How to obtain the Source(my.device.point1) of property(device1) in service?

ST_10465152
4-Participant
(To:Velkumar)

I can only find the value of the fetch property in thingworx, not the point name of the KepServerEX he is tied to

ST_10465152
4-Participant
(To:Velkumar)

I can get Kepware tag details for all properties through GetPropertySubscriptions. How can I find Kepware tag details for the specified property.

ST_10465152_1-1731907607262.png

ST_10465152_2-1731907624858.png

 

 

Have you tried GetRemotePropertyBinding?

Just iterate over the results returned by that GetPropertySubscriptions, until you find the needed property, something like that:

// Assuming we are in a service called "GetPropertyDetails", which
// takes a STRING parameter "propertyName" and returns a STRING

let allProperties = me.GetPropertySubscriptions();
let result = '';

for (let i = 0; i < allProperties.rows.length; ++i) {
    let row = allProperties.rows[i];
    if (row.edgeName == propertyName) {
        result = row.aspects.tagAddress;
        break;
    }
}

(apologies for typos, if any -- I didn't test it).

 

/ Constantine

 

@ST_10465152 

The GetRemotePropetyBinding service has a propertyName parameter to specify the remote property name.

You can use this service to get point source.

Hello @ST_10465152

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements


Top Tags