Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

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.
0 Kudos
Message 1 of 4
(2,539 Views)
Hello,

I see that the manual does say that port C can be configured differently for high and low �nibbles�. However, I am not sure if this is supported.

Please look at here.

As the 6503 and 6508 use the same chipset, it would appear that this cannot be done. However, there is an easy way to find out if this will work. If you refer to the following KnowledgeBase you can try this method for configuring the upper and lower nibbles of port C. Please let us know if this works.

Best regards,
Justin T.
National Instruments
0 Kudos
Message 2 of 4
(2,539 Views)
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.
0 Kudos
Message 4 of 4
(2,539 Views)