Resolution Property (BaseQueryArgs)
- Last UpdatedAug 21, 2026
- 1 minute read
Gets or sets the sampling rate that is used for the query.
'Declaration
Public Property Resolution As ULong
'Usage
Dim instance As BaseQueryArgs
Dim value As ULong
instance.Resolution = value
value = instance.Resolution
public ulong Resolution {get; set;}
Property Value
The sampling rate, in milliseconds. The default is 0.The resolution is the cycle time for the cyclic-style retrieval modes (for example, average, minimum, maximum) and the sampling rate to be used in cyclic retrieval mode. The resolution is expressed in milliseconds. In cyclic mode, the system returns values stored over the requested time period at the interval specified by the resolution. For example, if you specify a 5000 ms resolution, the system queries for all data during the time period and then only returns those values that occur at each 5000 ms interval, starting with the start date and ending with the end date.
You must calculate the resolution yourself; there is no equivalent of the historian wwCycleCount extension in the SDK.