LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring more than 8 bits digital data from PXI-6221

Hello,

 

I am trying to acquire data and write to the disk with PXI-6221. I am using "Digital - continuous input.vi" example. I created a sample clock task and added (see attachement).

 

I am selecting multiple channels. If I seleck only port0 bits, it works. If I include any of port1 or port2 bits, I get error -201062: "Possible reasons selected lines do not support buffered operations"

 

What is the proper way to acquire data including from port1 and port2?

 

Thanks in advance!

0 Kudos
Message 1 of 3
(3,307 Views)

The 6221 only supports timed digital (or waveform) I/O on port 0. The other ports can only be read as software timed.

 

One possibility would be to read the other lines as analog inputs. After reading compare the values to a threshold to convert to a binary signal. This will be limited by the 250 kS/s aggregate sampling rate for AI.

 

Lynn

Message 2 of 3
(3,269 Views)

Hi Lynn,

Thanks a lot for the quick reply. It is clear now. 

All the best,

0 Kudos
Message 3 of 3
(3,229 Views)