Greatest Common Factor Reference Example for LabVIEW FPGA
Overview
This example returns the Greatest Common Factor of up to ten values using the Euclidian algorithm. This function is not safe for Single-Cycle Timed Loops (SCTLs).
Downloads
Filename: gcf_ip_lv82.zip
Requirements: View
There are two functions in this package. GCF_2.vi receives two values and computes their greatest common factor. GCF_N.vi receives an array of up to ten values and iteratively calls GCF_2.vi to compute the GCF of all of them.
Requirements
Filename: gcf_ip_lv82.zip
Software Requirements
Application Software: LabVIEW Base Development System 8.2
Toolkits and Add-Ons: LabVIEW FPGA Module 8.2
Language(s): LabVIEW
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
