BncsFramework.AddMonitoredInfodriver Method

<< 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)

 

Syntax


public static IBncsMonitoredInfodriver AddMonitoredInfodriver(
 uint deviceId,
 uint start,
 uint end,
 Nullable<IBncsInfodriver> trackingInfodriver
)

Parameters

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.

Return Value

An IBncsMonitoredInfodriver instance representing the monitored infodriver.

 

Exceptions


Exception

Condition

[Exception]

Thrown when the infodriver mode is not available because BNCS is not enabled.

 

See Also


BncsFramework Class

BNCS.Core.DriverFramework Namespace