From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sample rate cant go high

Hello...

 

I am having major difficulties with my design regarding the sample rate im using from the DAQ.

 

i am designing a spectrum analyzer and i have bought the NI-6120.

in it data sheet it says it can sample up to 800k.. but un my program i can see any signal if i go above 50,000... above that and all the graphs are empty.

 

im posting my design.. please reffer only to the DAQ, otherwise it looks messy.

 

all the files needed run are attached in one zip file

 

thank you for anyone that invest time to solve the problem.

 

p.s - my guess is that its connected to the clock im giving the While loop to run.. cause im using two.. one for analog output and one for input.

 

 

0 Kudos
Message 1 of 2
(2,192 Views)

Good morning Eldad,

 

As you mentioned your project is complex.  Can you please create a scaled down version of your code with no sub VIs that focuses on the core issue with one analog input task and one analysis step?  This will make it easier to troubleshoot the issue.  Once the scaled down version is working as expected, then a scaled up version can be implemented into your program.  

Regards,


h_baker
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,139 Views)