Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

scannig frequency using NI 5406

Hi Everyone
 
    I just bought NI 5406 Function generator.  I am interested in sweeping the frequency(digital wave having asymetric duty cycle).  So far, I am able to sweep the frequency using while loop containing wait ms.  This is using frequency list.  By doing this, each frequency step takes longer than 1ms.  Is there a way to get the sweep faster than 1ms?  My application may require 200microsec stepping time for each frequency.
 
Thank you very much in advance.
 
PGA
0 Kudos
Message 1 of 5
(7,143 Views)

Hi PGA

 

The minimum sweep step time on the NI 5402/NI 5406 modules is 1 ms.

 

Jerry

0 Kudos
Message 2 of 5
(7,133 Views)

Jerry

 

Thank you  for quick response.   I realize that minimum time is 1 milisec for frequency list.  Is this same for the user defined waveform?  If it is possible, can I make a 1 millisec waveform that contains varying frequency of say 10Mhz to 9Mhz in 1 millisec array and skip to 9Mhz to 8Mhz in next millisec? And is there a good example of how to generate waveform ?  Thank you very much.

Hideya

 

 

0 Kudos
Message 3 of 5
(7,121 Views)
Hi Hideya
 
You will not be able to do your application using the user defined waveform to generate your frequencies. 
 
The user defined waveform memory is not generated as it is using an arbitrary waveform generator.  The function generator uses a technology called Direct Digital synthesis (DDS) as most function generators use today.  This method uses a constant sample rate, 100 MSps for the NI 5406.  The various frequencies that the module generates is done by varying the number of samples per cycle of the signal going the DAC.  This is done by selectively choosing specific samples from the look up memory.  If you want a 10 MHz sine wave, the DDS only chooses 10 samples from the look up memory to generate the sine wave.  The 10 is determined by dividing the sample rate (100 MSps) by the sine frequency (10 MHz).  So, most of the user look up memory is not generated.
So, even if you created your own waveform which would theoretically contain the two frequencies, you would not see this at the output of a DDS function generator.
 
For more information of DDS, here is a pretty good and short description from Analog Devices:
 
Depending on the length of your sweep and the frequencies, a full arbitrary waveform generator (AWG) may be your only solution to have frequency steps less than 1 ms.  The amount of memory on the module will be important on whether the waveform will fit in an AWG’s memory.
 
Jerry
0 Kudos
Message 4 of 5
(7,111 Views)

Jerry

    Thank you very much for the infomation.  That helps a lot.

 

Best

Hideya

 

 

0 Kudos
Message 5 of 5
(7,104 Views)