Virus scan in progress. Please wait to download attachments.
Overview With NI Scope, you can enable your program to fetch more data than is able to be stored in memory on the card. When doing this, the user must ensure that data is being written from the buffer to prevent the buffer from overflowing.
Description This VI Demonstrates how to acquire a finite amount of records using Fetch More Than Available Memory to enable a circular buffer on the card. Each fetch is triggered using an external reference trigger. This VI was specifically created to dynamically change the location of the fetch pointer in an effort to prevent any unread samples from being overwritten. The VI also keeps track of a "fetch backlog" of records that have not yet been fetched, adjusting the Minimum Record Length, Sample Rate, and Number of Records per Fetch will allow you better control of this backlog.
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Set Resource Name and Channel Name for the device
Set Sample Rate, Record Length, Number of Records to Fetch, and the number of Records to Acquire per Fetch.
Set Reference Trigger properties
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Applications Engineer National Instruments
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.