Use a digital IO card or your PC Printer(Parallel) port. Do a google search on PC Parellel port projects, there's also a sampel on the NI site under CVI code samples.
Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd