Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read 2 individual digital input lines on DAQ?

Hi,

New to Labview and NI tools in general.  I am trying to use 2 individual lines on Port 0 of a NI-PXIe 6363 to read and move to individual arrays ~3000 pieces of digital data.  The problem I continue to run into is that for whatever reason, my Labview program is taking the sum of Lines 0 & 1 and recording that into my array of data as opposed to the individual lines that I believe I have selected.  I have attached my labview module. 

 

If I change the DAQmx Read selection over to a Digital 1D Wafeform, then I can see the 2 individual lines of data in the waveform, but I also see the sum as seen in my array in the digital waveform graph as well.  I have attached a screen shot showing my 2 lines of data in this mode.  I have also tried to use this data to extract and move to an array with no luck.

 

My end gold is to have 2 arrays of 3000 pieces of 1 & 0's that I an return to Test Stand.

 

Thanks in advance to the help.

 

Download All
0 Kudos
Message 1 of 3
(3,215 Views)

Hi TesterABC,

 

Try having one channel for each line. Then for the Read VI, try Single Channel, Multiple Samples, U32.

Humphrey H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,193 Views)

@Humphreyy wrote:

Try having one channel for each line. Then for the Read VI, try Single Channel, Multiple Samples, U32.


I think you mean Multiple Channels, Single Sample.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(3,190 Views)