Hi, 
The code for NI PXIe-5641R Real-Time Spectrum Analyzer demo is posted HERE  for LV 2009. I want to use the same code for NI PCI-5640R instead of NI PXIe-5641R. Since I am using a 5640R, I have changed the device in the project. 
Can any one guide me what else changes I have to make in this Demo code so that I can use the same code for NI PCI-5640R instead of NI PXIe-5641R? 
Thanks and Regards, 
Rashid