How can I create a VBA code to add a trace of a PI calculation , for example,
" Tag 1.stddev"
"Tag 1" + " Tag 2" .
Could you successfully added Dataset to your trend?
Following is example to add "Dataset1" value and Standard Deviation to Trend1. (You should have "Dataset1", before running this code)
Dim MyTrend As Trend
Set MyTrend = ThisDisplay.Trend1
Set MyTrendFormat = MyTrend.GetFormat
You can find how to do by following thread.
How add a new dataset to Processbook with vba?
For adding stddev
Worked . It was the way I wanted. Congratulations.
Thank you very much!!!
Retrieving data ...