Hello J,
I see that you are using our PCI-6503. With regards to your questions:
1) No, you are not able to individually configure your lines to be inputs or outputs on the same port. What you see on the MAX test panel is what you are able to do. For instance if you look at our M series cards each of the lines are able to be configured individually.
2) I'm not sure what you are referring to when you are talking about channels, this is usually used with analog signals. They are equivalent to lines in digital. It is different because you don't really group analog channels into groups like we do with digital lines and ports. I hope this answers your question. Let me know if something is unclear.
3) Example can be found in your NI Example Finder. In the browse tab, under Hardware Input and Output>>DAQmx, you will then find examples for Digital Generation, Digital Handshaking and Digital Measurements.
Happy programming!
Regards,
Sandra T.
Applications Engineer | National Instruments