Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

sawtooth waveform pattern

Hello all, does anybody know what the value of 12bits sawtooth wave test pattern? thanks.
pat
0 Kudos
Message 1 of 3
(3,391 Views)
What is the output? digital or analog, 12 bits or 16 bits? Probably the easiest way is to simply keep an unsigned - 16 bit counter in memory, incrementing it by 4 bits (16) each time increment and putting out the upper 12 bits. The output will increase by 1 bit each time period, and you'll get the saw-tooth edge when it rolls over.
0 Kudos
Message 2 of 3
(3,391 Views)
Could you give us more information about the signal you need to generate?
Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,391 Views)