Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

[CtAPI]CpuLoadSleepMS

  • Last UpdatedJul 19, 2023
  • 1 minute read

Depending on the capability of your hardware, it is sometimes possible to overload the server's CPU while making a Trend or Alarm query using ctFindFirst(). To avoid this you can use CpuLoadSleepMS in conjunction with the CpuLoadCount parameter.

CpuLoadSleepMS allows you to control how long the request pauses (sleeps) while it is collecting data. Pausing for longer periods will cause the request to take longer but will decrease the intensity of the load on the CPU.

Note: You will need to experiment to see which values are appropriate for optimum performance on your system. When experimenting you should adjust the value of CpuLoadSleepMS before CpuLoadCount.

Allowable Values:

0 to any valid INT (milliseconds)

Default Value:

100

See Also

CtAPI Parameters

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in