LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

analog frequency sweep problem

Solved!
Go to solution

I tried to run the example in page: http://zone.ni.com/devzone/cda/epd/p/id/16

with NI 9263. However, the output stops at 1.2 KHz (I didn't change any settings in the VI).  I need it to go up to 30~50 KHz, is there a way to solve this?

 

Thank you

 

Download All
0 Kudos
Message 1 of 5
(3,873 Views)

Probe the value of the sample clock rate as you reach the higher frequencies. The limited sample rate of the 9263 could be your problem and at the highest frequency you want, you could only have 2 samples. You've read the manual and specs, I assume?

Message 2 of 5
(3,859 Views)
Yes, I am aware of the limitations. However, the sweep stops at around 1.2 KHz even when the sample clock rate is much lower than the maximum rate.
0 Kudos
Message 3 of 5
(3,855 Views)

Hi Kenyu,

 

The example you are trying to use is designed to work with devices that have a much higher output rate (it specifically lists the PCI-6251 and PCI-6070e cards).  As Dennis mentioned, try creating an indicator to probe the sample rate.  If you have not changed any of the default settings on the example you will see that the sample rate quickly exceeds the NI 9263's 100KS/s limit.

 

When you say that "the sweep stops at around 1.2 kHz" do you mean that the VI stops running, the hardware continues to output 1.2 kHz, or that the hardware ceases to output anything?

 

Regards,

Barron
Applications Engineering
National Instruments
Message 4 of 5
(3,829 Views)
Solution
Accepted by topic author kenyu

Thank you for the reply. I will look into the cards you mentioned. 

Actually I don't know what caused the problem, but the VI pops up an error and stops. However, I tried to change the data written with fixed sample rate, it worked fine now.

 

img.png

0 Kudos
Message 5 of 5
(3,822 Views)