This LabVIEW FPGA VI generates a three phase sine signal on analog output channels 0, 1 and 2 of the 7831R board. Each signal is 120 degrees out of phase with the others. The reference signal is a 180-sample single cycle of a sine wave stored in a memory block created using the LabVIEW FPGA Memory Extension Utility.
The frequency of the sine waves is set using the Update Interval. The amplitude of the sine wave is set using the Scaling Factor and the Max Scaling Factor can be used to limit the rate of channge of the amplitude to avoid any discontinuities in the signal.
Update Interval: cycles of the 40 MHz FPGA clock for each individual AO update (180 AO updates constitute one cycle of the sine wave)
Scaling Factor: 0 - 0 V, 16384 - 5 V, 32768 - 10 V
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.