How to achieve the highest performance when using the COM InterfaceCOM-Server » How to achieve the highest performance when using the COM Interface Posted: 06.08.2018 - 11:37
Similar to data input via the user interface, CONVAL calculates each time a parameter is set via the COM interface. This means that the calculation is performed for every parameter that is set, even if not everything is complete. This leads to significant time delays with a large number of parameters.
However, this is often not necessary at all, since you usually want to set all parameters first and only then carry out the calculation.
To avoid performance problems, CONVAL provides two procedures that switch automatic calculation on or off.
These are described in the CONVAL COM interface documentation on page 19.
Since the setting of switches is also only carried out when the calculation is executed, it is recommended to first set all necessary switches in a first "BeginUpdate/EndUpdate" block and then set the parameters in a second one.