From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,932 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
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 2 of 4
(2,915 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
(2,909 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
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 4 of 4
(2,906 Views)