LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6211 Encoder

I know I can increase buffer size to resolve this issue, but for the accuracy of camera triggering I need to keep it buffer size 1, at 12000 Hz. 

0 Kudos
Message 11 of 14
(1,225 Views)

I'm not sure I understand why you need a buffer size of 1. Could you explain that in a bit more detail?

--------------------------------------
0 Kudos
Message 12 of 14
(1,204 Views)

Hello Christopher, 

 

Based on my understanding of buffer size - I assume that if my sapling rate is 1000, and buffer size is 1, then my DAQ would acquire 1000 samples in one second. and if I have buffer size 2 my DAQ would aquire only 500 samples per second (SoI am missing couple of values which are in between. And to increase accuracy I have buffer size of 1). As I said, my understanding on the buffer size could be wrong, but when I have higher buffer size, the values I display on front panel skip few values. 

0 Kudos
Message 13 of 14
(1,182 Views)

I think you might misunderstand the principles behind buffer size. If your sampling rate is 1000 S/s, you're always going to get 1000 S/s (provided you don't overflow the buffer). The question then becomes how often do you want to transfer the data from the DAQ card to the PC. If you only want to pull data off once every second, and you are taking 1000 S/s, you will need a buffer size >=1000 samples.

 

I think the following link may explain it well: http://digital.ni.com/public.nsf/allkb/3E3D74E26B8A5B83862575CA0053E4B5

--------------------------------------
0 Kudos
Message 14 of 14
(1,152 Views)