LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading serial digital data on multiple channels 6533

I need to read serial digital data using a PXI-6533 card.  I have 12 digital lines that transmit serial data.  I need to capture the packets on each line at the same time.  How can I do this with a PXI-6533 or PXI-6070 card?  The data packets are about 20ms long.  How can I sample each line and piece together the data packet? 

0 Kudos
Message 1 of 4
(3,134 Views)

If you are trying to read 12 digital lines at once, you can create a DAQmx task and select multiple channels when configuring your task. If you take a look at the LabVIEW example [ Cont Read Dig Chan-Ext Clk.vi ] from the Example Finder [ LabVIEW >> Help Menu >> Find Examples ], you can see a digital read using an external clock example. If set the physical channel control to: "PXI6533Device/port0/line0:7, PXI6533Device/port1/line0:7" then you are reading 16 channels of digital data in parallel. Let me know if this is not what you are after.

 

Aaron 

National Instruments
0 Kudos
Message 2 of 4
(3,117 Views)

I am using CVI.  Do you have an example?

0 Kudos
Message 3 of 4
(3,091 Views)

Here is an example of using CVI to read/ write to multiple digital channels.  It sounds like this might be closer to what you're looking for.

 

Developer Zone example:

 

http://zone.ni.com/devzone/cda/epd/p/id/4995

 

 

Regards,
Austin S.

National Instruments
Academic Field Engineer
0 Kudos
Message 4 of 4
(3,079 Views)