You will find that the 2 parallel port examples included with LabVIEW do everything you ask except graphing the data. If you want to record the numeric representation of the port bits, simply wire a chart to the output of 'In Port.vi'. You could also use the digital waveform graph to record the bit level changes. It depends on what you are trying to accomplish.
Don't forget to read the example notes that explain the different parallel port configurations. Your PCs BIOS may need to be set to SPP (standard port mode) and you may need to know the port address to get things working. There are also good threads here if you search for parallel port which include some links to port tutorials and utilities.
K
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{