GetCoreFrequency

GetCoreFrequency 1:

This method returns the set and current clock frequency of a defined real-time core via references. These can differ if the core has to throttle its frequency.

GetCoreFrequency 2: Return value

Name

Type

Description

GetCoreFrequency

HRESULT

In the event of an error, returns the error code for the error that has occurred.

GetCoreFrequency 3: Inputs

Name

Type

Description

nCurrentCoreFrequency

REFERENCE TO UDINT

Returns the current frequency of the CPU core.

nConfiguredCoreFrequency

REFERENCE TO UDINT

Returns the set frequency of the CPU core.