I am using NI DAQ6508, I would to know if I can set port C upper 4 bits for input and lower 4 bits to perform output operations. I am aware that Port B and Port C have all 8 bits as input or output.

The Daq manual indicates that port c (under mode 0) can be configured such that the nibbles can perform independently.

Hey Sesh,
If you refer to the Traditional NI-DAQ Function Reference Help, and then the function DIG_Prt_Config, it states, that ports 0,3,6, and 9 of the 6508 can be used as bidirectional, but only when you use handshaking. So the answer is no, you cannot configure port C with four input and four output lines.
However, I have attached a c file that contains the function calls necessary to configure the lines separately on an E Series digital board. Feel free to try these calls out and let us know if it doesn't fail, although our KnowledgeBase says that it should.
Justin T.
Attachments:
digital_ud.c ‏4 KB

Similar Messages

Maybe you are looking for