Defining Interface and Modules
[User Manual]

Defining the Interface

The Rulbus Device Library supports the ISA Rulbus Interface as well as the EPP Rulbus Interface. At default the library assumes that the EPP Rulbus Interface is being used with the parallel port at address 0x378. If this assumption is not valid, the library must be informed what the proper interface type and address are. To this end the RULBUS environment variable can be defined as follows, here shown as shell commands:

You can add ;nocheck to disable checking if the Rulbus Interface is present (EPP only). See also Setrulbus Utility.

Remember to configure the PC's parallel port to work in Enhanced Printer Port mode in the PC's BIOS, if you use the EPP Rulbus Interface.

Defining the Modules

Programs that use the Rulbus Device Library (RDL), define the Rulbus modules they use via a Rulbus device configuration file. See Support for the Rulbus Device Library (DLL) for more information. The path to the configuration file can be specified via the RULBUS_CONFIG_FILE environment variable. See also Setrulbus Utility below.

Setrulbus Utility

For Windows 95 types of operating system (Windows 95/98/me) the RULBUS and RULBUS_CONFIG_FILE environment variables must be recorded in autoexec.bat by editing it. For Windows NT types of operating system (Windows NT/2000/XP) they must be recorded in the registry, for example via System Properties, Environment.

user-setrulbus.png

To make it easy to select the proper Rulbus Interface and to define the path to the Rulbus configuration file on either operating system type, a small GUI program has been made: setrulbus.exe.

Open setrulbus via Start | Rulbus Device Class Library | Tools | Set Rulbus Environment. Program setrulbus is located in the programs subdirectory of the Rulbus Device Class Library installation directory.

previous top next


Generated on Tue Oct 12 14:12:01 2004 for Rulbus Device Class Library for Microsoft Windows by doxygen 1.3.4