03-23-2011 11:11 AM
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?
03-24-2011 05:57 PM
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
04-26-2011 10:08 AM
I am using CVI. Do you have an example?
04-27-2011 01:10 PM
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