<< Click to Display Table of Contents >>
Working Offline |
The Offline mode was planned for systems where a Driver needs to be configured at run time. This is the case when users simply does not know the type of connection or parameters until an application is executing. In Offline mode, all I/O Tags of a Driver fail (all writings and readings). The only allowed Tags are IOKit's general Tags, with N1 and B1 parameters equal to -1 (minus one) and N2 and B2 parameters equal to 0 (zero). Although users can toggle a Driver between Online and Offline modes at run time, usually the following steps are needed:
1.Configure the Start driver Offline option on Driver's extra configurations window. This option forces a Driver to start in Offline mode.
2.Configure Driver's parameters in an application's script. This script can be executed automatically or by a user-defined request.
3.Configure the Driver to Online mode.