The DAQmx API can be used to quickly read in digital signals to your PC. This video will demonstrate how to use LabVIEW and NI-DAQmx to create an application that reads a single digital input line. This can be expanded to read an entire digital port, or to do a digital output. The process is similar in any of these cases.
Follow through the video and be sure to check out the examples in the Example Finder by going to Help >> Find Examples. There are many examples in the Hardware Input and Output >> DAQmx folder.
2. Before you Watch
Before playing the video be sure to have LabVIEW open to the welcome screen or a blank VI.