09-13-2019 03:33 AM - edited 09-13-2019 03:55 AM
What is a good way to programmatically control the output amplitude of the FPGA Sine Wave Generator, before sending it to the physical AO?
I guess I should set full scale amplitude from the block diagram of the Sine Wave Generator and rescale it before sending in to the output. I use I32 for the sine output, which matches the AO connector Input (Signed,20,5).
In my application I'd like to be able to rescale the sin amplitude from 0V to 10V with a fine grain.
Thanks
09-13-2019 07:39 AM
Hi Reddi,
@ReddiMK wrote:
I use I32 for the sine output, which matches the AO connector Input (Signed,20,5).
An I32 is something different than a FXP(±,20,5)!
In my application I'd like to be able to rescale the sin amplitude from 0V to 10V with a fine grain.
Then you need to do one multiplication, using a FXP scale factor…