|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS.Core.DriverFramework Namespace > BncsFramework Class > BncsFramework Methods > BncsFramework.AddMonitoredInfodriver Method |
Adds a monitored infodriver for a specified device.
Namespace: BNCS.Core.DriverFramework
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public static IBncsMonitoredInfodriver AddMonitoredInfodriver(
uint deviceId,
uint start,
uint end,
Nullable<IBncsInfodriver> trackingInfodriver
)
deviceId
Type: UInt32
The unique identifier of the device for which the infodriver is being added.
start
Type: UInt32
The starting point of the monitoring range. Default is 1.
end
Type: UInt32
The ending point of the monitoring range. Default is 4096.
trackingInfodriver
Type: Nullable<IBncsInfodriver>
An optional BncsInfodriver instance used for tracking. If not provided, the default is null.
An IBncsMonitoredInfodriver instance representing the monitored infodriver.
Condition |
|
|---|---|
[Exception] |
Thrown when the infodriver mode is not available because BNCS is not enabled. |
BNCS.Core.DriverFramework Namespace