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,
Note The parallel port is not locked by MATLAB. Therefore, other applications or other instances of MATLAB can access the same parallel port, which can result in a conflict. |
![]() | Creating a Digital I/O Object | Adding Lines to a Digital I/O Object | ![]() |