05-18-2009 08:42 AM
Aaron,
I used one (actually several) of the examples from the niFGEN, niSCOPE and niTClk to build the program I have so far. At this point I'm not sure if it's the Scope or the Function Generator that is causing my problems. I performed a FFT Power Spectrum Analysis and plotted the results on the data that is generated by the Basic Function Generator vi. The frequency steps as it should through each iteration. However, I also performed the same analysis on the data that comes out of the niMultiFetch and the frequency does not increase incrementally as it should. It remains fixed at 100kHz. Additionally, the Sample Rate that is supplied to the niFgen Set Sample Rate.vi somehow controls the frequency of the waveform that is either created by the function generator or received by the Scope. I don't know hwy this would be the case or how it is happening. Can you shed some light on any of these issues? Thanks.
Jeff
05-19-2009 01:58 PM
Jeff,
You might try using the FGEN Soft Front Panel with your device and this would allow you to generate a single tone. Then you could use the Configured Acquisition example that I mentioned in the previous post to acquire your signal. At this point you should be able see the pure signal coming through your scope. If we can get the initial signal correct then you should be able to perform the FFT on the signal and average that signal. If you could verify that you can use the FGEN Soft Front Panel to generate a single tone, and then acquire that signal with one of the Scope shipping examples we can verify that we are able to get this part completed successfully.