Data Acquisition Toolbox    

The Parallel Port

The PC supports up to three parallel ports that are assigned the labels LPT1, LPT2, and LPT3. You can use any of these standard ports as long as they use the usual base addresses, which are (in hex) 378, 278, and 3BC, respectively. The port labels and addresses are typically configured through the PC's BIOS. Additional ports, or standard ports not assigned the usual base addresses, are not accessible by the toolbox.

Most PCs that support MATLAB will include a single parallel port with label LPT1 and base address 378. To create a DIO object for this port,


  Creating a Digital I/O Object Adding Lines to a Digital I/O Object