Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using C#, how to set Digital Ports lines as outputs or inputs

Solved!
Go to solution

Can one port contain input lines and output lines at the same time?

Message Edited by timinmanchester on 11-20-2008 09:14 AM
0 Kudos
Message 1 of 4
(3,594 Views)

Hi,

 

This depends on what card you are using.  M series cards can have each line configured individually for input or output whilst E series cards you have to configure them in groups.  What card do you have?

 

Regards,

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 2 of 4
(3,577 Views)

PCI-6221

 

My application is real-time imaging, but the AnalogSingleSampleReader is not fast enough.

 

I need to send digital control single first, and then pick up the analog input.

 

So can i use the digital single aslo to trigger analog input to save into buffer, and get 100 results to computer in the end.

0 Kudos
Message 3 of 4
(3,571 Views)
Solution
Accepted by topic author timinmanchester

Hi,

 

The 6221 is an M Series card so you can configure each individual line as either an input or an output so you could have one as an output for your control and then one as a trigger input as you suggested.


Regards,

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 4 of 4
(3,568 Views)