Hi everyone,
I'm trying to program a SPWM with variable frequency using look up tables. I use a NI9112, NI9014 and NI9474. Some times (50/50 of the time), when i modify the frequency for some reason the output gets stop and i have to stop the VI to apply the changes. As i use this VI to control an 2 level inverter, is critical to hold the switching working to avoid damage to the converter.
Basically i use look up tables to create sine and triangular signals on FPGA, the compared and routed to digital output in 9474. The frequency is modified resamplig the clock ticks.
Someone can help me how to avoid the issue with the stops? I'm not understand entirely how the FPGA interacts with host VI and 9474, and then, how to sync it.
Thanks in advance.