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.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

generate waveform using cvi/labwindows

AOGenerateWaveform function - How do you create a string for AOwaveform ?
0 Kudos
Message 1 of 2
(2,458 Views)
Bill

If you need to generate a square or sine wave you can use the functions SinePattern or SquareWave. If you need to specify your own pattern, you will need to define an array with the different voltages to output.

Here is a program that may help, it has code in it that will generate 7 different types of signals, it will show you how to use both functions above as well as a few others.

Brian
0 Kudos
Message 2 of 2
(2,459 Views)