|
<< Click to Display Table of Contents >>
Driver Operation |
To use B. Braun BCCProtocol Driver properly in an application, it is important to understand how it works, because this Driver does not have features most common to other I/O Drivers.
The configuration of SpaceCom devices by B. Braun determines which parameters are sent at each data request of this Driver. With each data request, the station sends all parameters at once. This Driver requests data by trying to respect the lowest scan value found in the group of Tags In Advise. The In Advise status of a Tag is defined by a constant update, at time intervals defined by its Scan property, that is, the scan periods.
The way to change a Tag status to In Advise is by configuring its AllowRead property to True and by one of these conditions:
•Tag's AdviseType property is equal to 0: AlwaysInAdvise
•Tag's AdviseType property is equal to 1: AdviseWhenLinked and it is linked to an active object on an open Screen
Only one Tag with an expired scan time is enough for this Driver to execute, in background, the whole data communication of all parameters. Thus, the smaller the variety of scan period values, the better, that is, the most optimized way is to try to keep all scan times the same, so that all Tags are read at the same time. This detail must be taken into account when using serial interfaces and low communication speeds. If the communication interface is Ethernet and the minimum scan period is 1000 ms or more, performance impact tends to none.
If any nonexistent parameter Tags in the whole data is In Advise and with an expired time, it may cause unnecessary data communication. Therefore, users must be aware of which parameters are requested, so that everything is configured on the remote device and available on data request's response.
The SpaceCom device by B. Braun must be configured in Request operation mode, that is, the device waits for this Driver's request to send data.