I am trying to simplify procedure of adding/removing FTHistorian Tags by the operator.
Oryginally, FTStudio allow operator to click on the trend chart, select pens,
choose proper pen source -> Historian Server, Add Pen(s). Then "Add Pen Configuration" window appear.
On that window we must looking for a tag in another new window from PI software "Tag Search".
The path to do this is very complicated and way too long for operator.
On another hand i am sure that i want to disable option to enter trend options. There are lot of stuff there, which operator don't want to mess up.
If i unerstood correctly the another way to add/remove Historian tag form the trend is only using VBA.
According to KB 49211 i write simple code and i am allow to connect to FTHistorian database and retrieve list of Historian Tags (Points).
The requirement for my project is to simply add/remove tags from the trend.
I'm stuck because VBA offers add option with no information to which pen number.
For instance [according to KB49311] i am able to create 10 combobox and put 10 Tags to Trends (so, 10 pens).
But how could i remove for instance only pen 5 and 8?
If my combobox will be one below another, operator can use not the one on the top, but in the middle.
The result of that will be that trend add pen with number 1.
How can i manage adding/removing pens?
Oryginally, FTStudio allow operator to click on the trend chart, select pens,
choose proper pen source -> Historian Server, Add Pen(s). Then "Add Pen Configuration" window appear.
On that window we must looking for a tag in another new window from PI software "Tag Search".
The path to do this is very complicated and way too long for operator.
On another hand i am sure that i want to disable option to enter trend options. There are lot of stuff there, which operator don't want to mess up.
If i unerstood correctly the another way to add/remove Historian tag form the trend is only using VBA.
According to KB 49211 i write simple code and i am allow to connect to FTHistorian database and retrieve list of Historian Tags (Points).
The requirement for my project is to simply add/remove tags from the trend.
I'm stuck because VBA offers add option with no information to which pen number.
For instance [according to KB49311] i am able to create 10 combobox and put 10 Tags to Trends (so, 10 pens).
But how could i remove for instance only pen 5 and 8?
If my combobox will be one below another, operator can use not the one on the top, but in the middle.
The result of that will be that trend add pen with number 1.
How can i manage adding/removing pens?