We use a VBA - Makro to modify a few hundred PDI Files ... is there the possiblity to somehow "suspend Layout" or prevent the Processbook from getting data.
Otherwise the processing will take hours...
I've never heard about completely disabling data update, but at least you can increase the time between updates by editing the procbook.ini file. It'll still do one initial update when you open the display, but then you can set the update frequency so high that you're able to do the changes without being interferred.
One approach is reducing the update frequency in ProcBook.INI [Data Manager] section. The default "Timer" setting is 5 seconds (Timer=5000).
The following may work even better in your case:
Application.Redraw = False
Thanks both, is there a way to prevent "the first update" .. especially some Users created "long running" Trends
Have you tried "Application.Redraw = False"?
It's a setting for ProcessBook application and when set before opening a display, it should prevent from symbols being updated with data. I've tried it with a trend and it was working for me.
1. Add a server called "default" and make sure to uncheck the confirm box. This will allow you to add a bogus server. We do this because there needs to be at least one server in the KST.
2. Set the default server to "default"
3. Remove all valid servers from the KST.
4. Make sure that auto-add servers is unchecked.
Load the displays and change them. The initial update should go quickly because none of the servers are in the KST, so they will just fail quickly. If you are using SetTagName on symbols, the calls will give you an error (which you can just handle with a Resume Next), but the tag name will still get set.
In addition to the above, how about for the machine/user where your scripts are running use a temporary PI mapping to PI Identity that has no read permission on data but has read permission on the Point table.
Retrieving data ...