Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

optimizing code hsdio

Hi,

I am working on some labview code for testing ics using the nihsdio driver. This program works with the pxi 6561 card.  I have attached the labview code to this message. I am looking for ways to optimize this code to make it faster. Also, which size of data is optimimum for the fastest fetching.

Any suggestions to improving the speed of this code are welcome.
0 Kudos
Message 1 of 3
(3,317 Views)
Hi,

I forgot to attach my code earlier. Here it is:
0 Kudos
Message 2 of 3
(3,314 Views)

Hi Timothy,

Your fetching performance can be optimized by reducing the number of records.  Each record is DMA-ed individually (and incurs a DMA setup overhead).  Can you provide more information on the records you're acquiring and your setup (i.e triggering scheme)?  It may be possible to combine your acquisition into one record

Onome

Message Edited by Onome on 12-18-2006 03:37 PM

Message 3 of 3
(3,305 Views)