Infodriver Initialization

<< Click to Display Table of Contents >>

Navigation:  Infodrivers >

Infodriver Initialization

The BncsFramework static has two methods for infodriver initialisation - AddManagedInfodriver and AddMonitoredInfodriver to connect with managed & monitored infodrivers respectively.

 

Managed infodrivers must be initialised only once via the AddManagedInfodriver method that takes the DeviceId and size (number of slots/rows) as parameters.  The return value is a BncsInfodriver object that can be used for further interaction.

 

Monitored infodrivers are initialised via the AddMonitoredInfodriver method.  This method takes a start and end index in addition to the DeviceId.  Multiple calls are permitted to initialise different index ranges within the same device.  The return value is a BncsInfodriver object that can be used for further interaction.

 

The BncsInfodriver object for a previously initialised infodriver can be obtained using the GetInfodriver method.