Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

6503 Digital Input Output

Hi All
 
I am using a simulated PCI 6503 card.
 
Question 1 - Is it possible to configure the individual pin of a same port ?? or can i use Port 0 Line 1 as input & Port 0 Line 2 as output. If yes then How ? Because with MAX Test Panel i am not able do it .
 
 
Question 2 - What is the difference between Port & channel ?? Port is group of 8 lines but what about channel ??
 
Question 3 - How can i read all 8 lines of a single port simultaneously. ? if anybody is having any example then please send it .
 
Please reply as soon as possible. It is urgent
Thanking You
0 Kudos
Message 1 of 2
(3,398 Views)
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

0 Kudos
Message 2 of 2
(3,389 Views)