Sets the sampling rate on individual items. ( Available in OPC DA V3 servers only ).
This overrides the update rate of the group as far as collection from the underlying device is concerned. The update rate associated with individual items does not effect the callback period.
Syntax
Parameters
- handles
- Array of Server items handles.
- RequestedSamplingRate
- Requested Sampling period for the item in milliseconds.
This also indicates the desired accuracy of the Cached Data.
- RevisedSamplingRate
- The server returns the value it will actually use for the
SamplingRate in milliseconds, which may differ from the RequestedSamplingRate.
- errors
Return Value
HRESULT success/error code
Requirements
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x
See Also