To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows you how to graphically draw an arbitrary waveform.
Description
If for any reason you need to graphically draw an arbitrary waveform that can write to AO and is modifiable during run-time there is this solution. Note that the example is not perfect but allows a user to draw a waveform which can be output to hardware, for instance with DAQmx.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Define the number of samples the waveform will contain and the dt of the waveform before drawing the waveform.
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
There is also this example here.