Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Is it possible to use locally bound property as VTQ property?
Solved! Go to Solution.
You won't have the thumb symbol, but you can use the GetPropertyValuesVTQ service and you'll see the full VTQ for any property.
Every property will have VTQ.
What is your use case?
If it is a remote bound property, on hovering thumb symbol, i can see quality and time. How to pass that quality and time to local property?
You won't have the thumb symbol, but you can use the GetPropertyValuesVTQ service and you'll see the full VTQ for any property.
Yes this property is providing latest value. But how to get VTQ for the data other than latest value.
If you need historical data, I recommend you store it in a ValueStream by simply setting the Property to 'logged'
This is a logged property and its value updating using services. The value is of datatype of datetime. Its timestamp also we expecting to be same as its value. so that it will be easy to query using timestamp.
for example :- if the value is "2022-04-27 23:45:00.000", its timestamp also should be "2022-04-27 23:45:00.000" like a vtq property. How to achieve this?
You can force the timestamp by using the AddValueStreamProperty service. (or similar) So instead of logged, you would do a subscription to value change and then call this service to add it to the value stream with your specific VTQ.