11-18-2021 03:42 AM
I have tried to generate a 1kHz triangle wave but I can only generate the triangular wave with a very low frequency (~0.01Hz). How can I use this method to generate high-frequency waves? I cannot use any other VIs because that other VIs will only output the triangle waves as either dynamic data type or waveform data type.
Further, if there are any ways to generate high-frequency triangular waves, please let me know.
In addition, I want to generate 1kHz triangle wave so that I can use it as a carrier wave (for PWM) generation. And, I need to compare these with reference waves which will be of double data type. Further, I also want to output the triangle waves using NI PXIe-7821R and I need a double data type to do that.
Solved! Go to Solution.
11-18-2021 06:23 AM
use a timed while loop (1khz) and set dt = 1 ?
https://zone.ni.com/reference/en-XX/help/371361R-01/glang/timed_loop/
11-21-2021 07:37 PM
Thank you for the suggestion.
04-23-2025 03:18 PM
can you give us the file of the triangle gen but dowgrade the version to lv13.0 , thank you