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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sawtooth wave generation on Labview FPGA (Flex Rio 7966)

Hi sir, I have to generate a sawtooth wave on Labview FPGA in sctl (40Mhz clock). I have tried many methods nad even used FPGA DDS wave Generated. I am getting square wave as output although lookup table is sawtooth . I am attaching the code. Please look into that and help me in generating Sawtooth on FPGA.

Thanks in advance.. 

0 Kudos
Message 1 of 2
(2,631 Views)

Take a look at this code.  It should be able to be ported to the FPGA.  If it needs to range only positive, replace the negative peak value with zero.

Randall Pursley
0 Kudos
Message 2 of 2
(2,405 Views)