Data Acquisition Toolbox | ![]() ![]() |
Indicate the base address of the parallel port
Description
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.
Additional ports, or standard ports not assigned the usual base addresses, are not accessible by the toolbox. Note that most PCs that support MATLAB will include a single parallel printer port with base address 378 (LPT1).
Characteristics
Vendor |
Parallel port |
Usage |
DIO, Common |
Access |
Read only |
Data Type |
String |
Read-only when running |
Yes |
Values
The value is automatically defined when the object is created.
Example
Create a digital I/O object for parallel port LPT1 and return the PortAddress
value.
The returned value indicates that LPT1 uses the usual base address.
![]() | OutOfDataMode | RampRate | ![]() |