From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Virus scan in progress. Please wait to download attachments.
Overview: Demonstrates on using Analog Output Channel to regenerate data initially acquired by Analog Input Channel with additional delay in between acquire and regenerate.
Description: Every time this VI runs, it will first configure the Analog Output and Input channels based on the values specified by the user. Call the DAQmx Start Task.vi to run the configuration on the Analog Output channel before running Analog Input task to ensure Analog Output channel are ready to regenerate data once data is available at the Analog Input channel. By specifying the 'number of samples per channel' terminal of the DAQmx Read to -1, this VI reads all the samples currently available in the buffer and immediately send them to the Analog Output.
Requirements: LabVIEW 2012 or compatible. NI-DAQmx 15.5.1 or compatible.
Steps to Implement or Execute Code: 1. Specify all the values of the controls on the front panel. 2. Run this VI.
**This document has been updated to meet the current required format for the NI Code Exchange.**
John Passiak
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.