01-26-2012 09:51 AM
Is it possible to change the range of the duty cycle of FPGA square wave generator (for example 0-100 instead of 0-1)? I need this option since I can't use floating point on the FPGA target VI. I am using sbRIO 9632 in stand-alone application, so I can't use division on the host VI.
01-26-2012 11:08 AM
No, it is inherently in units of periods so it needs a number between 0 and 1. If you have a number between 0-100, you can multiply by .01 to avoid the divide. Note that fixed-point division is allowed on the FPGA, but for static scaling like this using multiplication is usually a better choice.