Virus scan in progress. Please wait to download attachments.
Integer math scaling of a four channel array in LabVIEW FPGA.
This example uses integer math to scale an array of four input channels in a LabVIEW FPGA application. This example will not work within a Single-Cycle Timed Loop, as it uses a Single-Cycle timed loop to index through different channels.Using integer math scaling, the gain value (in percentage) is multiplied by (220)/100 = 10486. The scaled gain value is then multiplied by the corresponding channel value, and the result is then multiplied by 2(-20).This method of multipling and then dividing by a large power of 2 is a common way of working with integer math in LabVIEW FPGA.