07-16-2012 02:17 PM
Hi,
I am using a DAQ 6009 and I have two 3-axis accelerometers hooked up to ports ai0-ai5 in RSE mode. The acclerometers are ADXL335's and I made custom scales for their voltages to convert the voltages into accleration measurements (g). I am using Signal Express to analyze the signals, while building on the VC_TDMS_Cont_IntClk example C code in Visual C++. I can export the data points fine to an excel TDMS file. However, in Signal Express there is the Distortion option which gives you the Fundamental Frequency and the Power Spectrum. I wish to get this data through my C code. Is this possible? I do not see any API functions provided in the sample code that support this. Thank you in advance.
Best Regards,
Scott
07-17-2012 01:08 PM
Hello,
So there is an example file that we have for distortion measurements. If you go to CVI » Example Finder » Browse tab » Analyzing and Processing Signals » thd.cws
Also there should be plenty of C code that you can search for on the internet.
http://zone.ni.com/reference/en-XX/help/370051P-01/cvi/libref/cviharmonicanalyzer/
Daniel
Applications Engineering