Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

using memory buffer on PCI-6534

I'm using the PCI-6534 board with the 32MB of on-board buffer. How do I best maximize use of this buffer (programming in C, using NIDAQ), acquiring data to it and then dumping it, without having to make a huge buffer in the computer's memory also? There aren't any particular NIDAQ commands for handling this buffer, nor are there any good application notes. I need to acquire 32MB of parallel data, basically filling the on-board buffer once and dumping it. Am I correct in assuming that if I use double buffering, that the board will fill the on-board buffer and then dump it out as it can?
0 Kudos
Message 1 of 3
(3,373 Views)
Hello;

By using double buffering you are just configuring a circular buffer type to be used on your DAQ task.

The correct thing to do is to set the on board loop as enabled. If you do that, all data points will be dumped to the on board memory at once, and the loop will be executed on board, without interference of the DMA controller. That is the most efficient way to generate digital patterns with that board.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,372 Views)
>The correct thing to do is to set the on board loop as enabled

How do I do this? What's an "on-board loop"?
0 Kudos
Message 3 of 3
(3,372 Views)