utahn,
The bottleneck here will be the trigger rearm time (minimum trigger
holdoff) of your 5112, which is 100 microseconds. Check
this discussion forum,
this KnowledgeBase and the
5112 specs for more information on the issue.
Other considerations for this application are the maximim time you need
to run it, and if you need to have access to the data during
operation. For a multi-record acquisition, you can fill up the
on-board memory of your digitizer with records without software
intervention. If, however, you need to access the data as the
program is running, you will have to fetch the data from software,
which will slow the time it takes to rearm, as it will then be software
dependent. Unfortunately, there is no way to keep the task
running and fetch records from memory.
Another option is to use the "Fetch Forever" example which continously
acquires samples (not records) at a specified rate for as long as you
need. If your application can tolerate a fixed sample rate as
opposed to triggered records, then this will maximize your speed.
Let me know if you have more questions and best of luck on your application!
Regards,
Travis W