There are several choices in LabVIEW. I would look at the THD (Total harmonic Distortion) VIs. These will bin up the frequencies for you and rate their amplitudes as a percentage of the fundamental. You can use the tone detection VI to determine your fundamental. With LabVIEW 6.1, the Help LabVIEW examples will help you locate several examples where you can try these VIs before you build them into your application. I have an additional example you might be interested in. Do not hesitate to ask.
Preston Johnson
Business Development Manager
National Instruments
preston.johnson@ni.com
Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc