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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Any idea how i can subscribe or make kind of listener on a property?

YD_9850038
9-Granite

Any idea how i can subscribe or make kind of listener on a property?

Hello, 

 

I have a field that is receiving string values, i want to show the current value in the pre said text field (i already done it) but when come a new value, the current value get inserted into an infotable and new get displayed in the text field!!.

 

Regards, 

Yous

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:YD_9850038)

You can add a subscription to your property DataChange event.

View solution in original post

3 REPLIES 3
PaiChung
22-Sapphire I
(To:YD_9850038)

You want to have the string historically saved and display the most current?

I would log the property, that means you'll have all values over time and you can retrieve that from the value stream.

For the updated value to display, I usually use GetProperties with the option to push updated values. But you can also use an AutoRefresh

Hello, 

 

Thanks for reply,  it should work that way but what if need something like listner (event & subscription).

 

Regards, 

Yous

PaiChung
22-Sapphire I
(To:YD_9850038)

You can add a subscription to your property DataChange event.

Announcements


Top Tags