Ovlonghorns
Member
Is there any way to simply read a value from an hmi tag in VB?
To sum up the issue i am trying to adjust timespan on a trend. I can accomplish that with vb and i know it works only problem is that i have to hard code the value in seconds and i dont wish to do that because the value in seconds changes between different processes. I have a tag in my hmi that has the value but i dont know how to incorporate the tag in my vb code.
Example trend1.XAxis.TimeSpan = (tag that needs to be read)
To sum up the issue i am trying to adjust timespan on a trend. I can accomplish that with vb and i know it works only problem is that i have to hard code the value in seconds and i dont wish to do that because the value in seconds changes between different processes. I have a tag in my hmi that has the value but i dont know how to incorporate the tag in my vb code.
Example trend1.XAxis.TimeSpan = (tag that needs to be read)