Brent;
The board you have has 4 8255 chips, and has 12 ports of 8 bits each. The correspondence between port numbers and phisical pinout can be found at "PCI-DIO-96/PXI-6508/PCI-6503 User Manual" pages 3-5 and 3-6.
I'm attaching two Labview examples to this response. One does Read operations on 2 ports of a 8255 based device and the other does Write operations on 2 ports of the same device. You can use that idea to call multiple instances of the Config Port.vi to configue each port as input or output (the port numbers will be the numbers you will retrieve from pages 3-5 and 3-6 of the user manual), and use the port read.vi and port write.vi inside the same while loop.
Hope this helps.
Filipe Altoe
Applications Engineer
National Instruments