Trasnmitting a single sine wave using USRP

how do i transmit and recieve a single sine wave using USRP...i would really appreciate it if someone posted that example
i already understand the blocks of the usrp...but do i need to modulate the sine wave signal or i will just send it..i am really confused
i hope that you may post the example

Hey Eldokch,
See step 4 in the following white paper:
http://www.ni.com/white-paper/13880/en/#toc4
It uses two examples packaged with the NI-USRP driver, "niUSRP EX Tx Continuous Async.vi" and "niUSRP EX Rx Continuous Async.vi".
-Jim B
Applications Engineer, National Instruments
CLD, CTD

Similar Messages

  • How do i measure the frequency of a sine wave using a field point counter module

    I need to measure the frequency of the sine wave using field point. is it possible and if yes how. do i need to convert the sine wave signal to square wave. Please let me know.

    It probably would be easiest to convert the sine wave to a square wave with a simple external circuit and then use a counter module to measure the frequency. There is a shipping example in LabVIEW that shows how to measure frequency with a FieldPoint Counter module.
    JRA

  • Generating a sine wave using PXI 5441

    How to generate a sine wave using PXI 5441 (Arbitrary Waveform Generator)?
    Can anybody post a vi that generates a sine wave with frequency at a user defined frequencies.
    Thanks in advance.

    Hi Venki,
     When using an arbitrary waveform or user-defined
    waveform, you provide the actual waveform you want to generate to
    the device, so it is easy to also just connect a graph to the waveform
    and see what it looks like. Unfortunately, when using standard function generation (which is the method used in this example), you are not providing a signal that is created in software. Because the standard function
    generation is happening on the FGEN and not in software, there is
    really no way to display the exact signal without measuring
    it on a scope or some device. You can, however, simulate the signal in
    software such that the parameters which are given to the FGEN functions
    are the same parameters that you use to generate a simulated wave. This
    would be somewhat complex since you can change parameters such as
    frequency and amplitude on-the-fly, and also you would need separate
    functions for each of the different signal types available for the
    FGEN. You would need to place the software waveform generator in your
    inner loop and have a waveform graph connected to it in the loop as
    well to display the signal. The main thing to keep in mind is that this
    will only be a simulated signal and so it may not exactly match what is
    being generated (this also depends on how you program the simulation to
    work). Hope this helps,
    Daniel S.
    National Instruments

  • Simultaneous updation of sine wave using 2 PXI-6711 cards using RTSI Trigger

    Hi ,
    How to generate continuous sine wave using two pxi-6711 cards at same time without any phase shift using traditional nidaq functions.
    Regards,
    satya

    In LabVIEW, go to Help>>Find Examples. Navigate to Hardware Input and Output>>Traditional DAQ>>Multiple Device. There is an example there called "Two E Series Shared Scan Clock". That example is for analog input, but you should be able to modify it to be for analog output. Basically you will just have to share the scan clock from one board(master) and use it as an 'external' clock for the other board(slave).
    -Alan A.

  • Generating single cycle sine wave using pxi5402

    Hi,
    I'm a relatively new user of NI hardware, had some experience with cRIO systems but not PXI
    I've got a PXI chassis with a PXI5402 fgen card, I'm trying to generate a single, double and triple cycle sinewave (user selectable) but have very little experience with creating waveform files, is there a guide to doing this or is there a vi which lets me create a (relatively) custom waveform, I'm using the 'fgen function generator.vi' example and was hoping to build on this, I'd like to be able to continually transmit my waveform or set a specific number of transmissions
    any help appreciated!

    Hi there, 
    I belive that what you are trying to achieve would be best achieved using the arbitrary function mode, unfortunately this isn't supported by the PXI-5402. As it is a  A PXI-5412 would be better suited to this task. 
    That is not to say, however, that this is impossible. I believe you can achieve single cycle generation using list frequency mode. http://zone.ni.com/reference/en-XX/help/370524M-01/siggenhelp/mode_frequency_list/
    This forum post explains a little more: http://forums.ni.com/t5/PXI/PXI-5402-Burst-generation/m-p/2163496
    Although the forum above mentions using multiple frequencies, list mode allows you to set a duration of signal generation allowing you to choose the number of cycles to generate through timing. 
    I recommend modifying the Fgen Sweep Generator.vi example to generate only one frequency for a specified duration. 
    I hope this helps. 
    Tim, CLD, CTD
    National Instruments (UK & Ireland)
    "No problem is insoluble in all conceivable circumstances"

  • Generating a 6X Sine Wave using an absolute encoder

    How do I get an Analog Signal Generation Synchronized to six times the frequency of an absolute nine bit parallel encoders output with adjustable phase relation. I am using a PXI-6533, a PXI-6711 and have available a PXI-6070E.
    Now the long version of the problem. I have a 9-bit absolute encoder connected to a motor shaft (up to 420Hz). From the encoders 9-bit (0-511) parallel signal I need to create a synchronized 6X sine wave (up to 2500Hzwith an adjustable phase relation. Picture an electronic timing chain. For every cycle of the encoder, I need to produce six full sine wave cycles with a variable tuned phase shift. I have LabView 7 w/RT.
    I have tried to use the Update Clock (PFI5) to step through a buf
    fer but it seems to drop an update every so often. I also have tried to monitor the bit-0 line to determine freq. and scaled the update rate accordingly but the phase shifts all over the place. Does anyone have any ideas on the matter ? I would really appreciate it! Thanx….Phil

    Phil,
    Another different option to solve your application would be to use the new LabVIEW FPGA module and the 7831R reconfigurable I/O hardware. Using these tools you can configure the FPGA on the board to generate the sine wave based on the 9-bit parallel input. The most simple setup would be to have a lookup table in the FPGA that has a corresponding output value to each of the 512 possible input values. This 512 sample table would contain 6 cycles of a sine wave. Every time the parallel input changes the analog output value would be updated accordingly from the lookup table. This setup would also allow to easily add a phas
    e shift of the output by shifting the point in the lookup table you are reading by a known constant.
    Christian L
    NICS
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • How to generate finite cycles of sine wave using daq mx in vc++

    Hi,
    How to generate finite cycles of sine wave or for finite duration in vc++ using hardware timer without any sleepfunction in the code.
    Thanks & Regards,
    satya

    Hello Elizabeth,
    Thanks for the response.
    1) I am using NI 6040E PXI.
    2) I am using NI-DAQMx 8.3
    3) Measurement Studio is 6.0.0.105
    4) Operating system is Windows XP.
    I want to generate sine wave for finite duration previously in traditional daq there was function called wave_op.In which we can mention number of cycles of sine wave we wanted to generate. That function is not available in DAQMx so we have to use sleep function to generate finite period. Any hardware control function to control generation of finite cycles please let me know.
    Thanks & Regards,
    satya

  • Please help simulation synchroniz​ing dual sin wave using PLL labVIEW

    Hello,
    Please I want a simulation based on Lab view for synchronizing generators, as we know that the generator will generate a sin wave.
    If anyone can help me with this idea the simulation can be done using to input sin waves and synchronized with each other using PLL (phase lock loop), note that the generators will be synchronized if the frequency, phase angle and voltages are equal ( synchronized). Please if somebody has simulation based on this idea to help me with it.
    THANK YOU A LOT.
    I will appreciate it.

    Iam new on LV. what i want a simulation to synchronize two generators, the two generators will generate sin waves this sin waves will be compared to achieve synchronization its better to use PLL but i have no idea where to use it in this such simulation.
    The below attachment will discuss more what i want but it it can be editted instead of using two generators from outside is to put to sin wave and prove that when this two sin wave are not equal so synchronization faild and vice versa.
    no need for the DAQ it can be replaced by an oscilscope to see the two sine waves that are synchronized, any one can help me by this simulation  i will bs very thankful for him.
    THANK YOU ANYWAY  
    Attachments:
    paralleling.jpg ‏145 KB

  • Generate Sine wave using NIDAQ

    How can we generate sinewave using NIDAQ library fucntion in VC++.

    Hi,
    There are examples of creating a waveform in VC++ that come with the DAQ driver. They can be found here:
    C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ao
    In this folder you can select from any of the WFM examples, which will all create different types of waveforms on your Analog Output channel. There are descriptions of each example contained at the beginning of the program.
    Good luck, and happy programming!
    George

  • How can I calculate the frequency of a 2-4Hz three phase sine wave in 50msec?

    I want to calculate the frequency of a sine wave using either all three phases or just one, but I want to know the frequency after 50 msec, I don't want to have to wait for a full period.

    I have a mathematically sound suggestion but I do not know how well it will work in application. Most period measurements measure the time between a full period or several periods to eliminate the error introduced by the measuring device. Essentially the device error is made insignificant.
    Mathematically you can do much more but there is a tradeoff between recording less information and knowing (or assuming) some values. For instance, if one knew the amplitude and could calculate the derivative of the signal, one could calculate the frequency. A sine wave can be represented by the function: A sin (BX)=C , where A is the amplitude, B is the frequency, C is the present measured value. If the equation is solved for X, we get: X=(sin^(-1)(C/A))/B. The d
    erivative of the first equation is AB cos(BX)=C. If the equation for X is now substituted into the second equation, we get, AB cos(B (sin^(-1)(C/A))/B)=C. Solving for B we get B=C/(A cos(sin^(-1)(C/A))). Remember, we already know A and C, so we are done.
    Practically every step and assumption in the above argument introduces possible error which will affect the accuracy of the frequency. Unfortunately it is a trade off and that is why at least a whole period needs to be measured to get an accurate frequency.
    Jeremy Braden
    National Instruments

  • How to get a pulse output at the start of a sine wave which is the input?

    i am working on a comparator that generates a pulse for the positive cycle of a sine wave.but i want to get a pulse of shorter duration at the start of a sine wave (using labview) please suggest

    Hello;
    You can synchronize one of the general purpose counters your board have to the analog input operation. By doing that, you can have your analog input starting the counter operation which will generate the desired pulse. Moreover, you can even specify the delay and width of that pulse. For more information on how to synchronize DAQ operations you can refer to an Application Note named "Advanced Synchronization Techniques for Data Acquisition" which can be found at our web site.
    Hope this helps.
    Filipe

  • Ni5401 how to generate 4 cycles of a sine wave at a time

    I'd like to generate 4 cycles of a 100kHz sine wave using a ni5401.  I'm currently able to generate a sinewave at 100kHz countinuously, but I need to stop after 4 cycles and then do some other processing and then restart another 4 cycles and then stop etc...  any help is appreciated

    hi htch,
    Unfortunately this isn't really the ideal application for a 5401. This application is something that could be accomplished fairly easily with an arbitrary waveform generator, or even a multifuction DAQ card, as long as it had a sample rate of at lease 2 MS/s. The 5401, however, is an arbitrary function generator, which means that it is meant to generate continuously, not a finite number of samples. 
    What you could try to do is use software timing to exit the loop after a certain amount of time has elapsed. However, you must keep in mind that software timing is not as accurate as hardware timing, and you may not generate exactly the amount of samples that you expect. 
    Regards,
    Leah
    National Instruments
    Applications Engineer

  • How to apply single sine or square wave

    Now I used NI-FGEN and NI-Scope for bender element test, I want to now how to generate single sine or square wave (normally in NI-FGEN, I saw only continuous wave generation type).thanks you so much

    If I understand your question correctly, it sounds like you would like to output one period of a sine wave or square wave and then just 0V DC. To do this you can use the niFgen_Basic_Arb_Sequence_Example. You will want your first sequence to be a sine (or square) wave and then the second sequence to be DC with an amplitude of 0V. You could replace the while loop in that example with a sequence structure with a wait in the structure to last just a bit longer than your sine wave. This will ensure that your sequence doesn't repeat.
    I hope this helps answer your question.
    Regards,
    Doug K.
    Application Engineering
    National Instruments

  • I want to apply single square or sine wave

    Now I used NI-FGEN and NI-Scope for bender element test, I want to know how to generate single sine or square wave for input wave by using NI-GEN and how to recieve the sigle wave by NI-Scope(normally in NI-FGEN, I saw only continuous wave generation type).Is it possible to solve this problem by using only NI-FGEN and NI-Scope only ? (without LABVIEW). Thanks you so much

    Hi,
    Thanks for contacting National Instruments. The NI-FGEN and NI-SCOPE drivers do not only have to be programmed using LabVIEW. They can also be programmed using CVI, C, and Visual Basic.
    If you don't want to do any programming and would rather just generate and acquire waveforms with basic functionality you can use the soft front panels (SFP). There is a NI-SCOPE SFP and a NI-FGEN SFP. These can be found by going to Start >> Programs >> National Instruments and choosing NI-SCOPE or NI-FGEN. You will see the SFPs in these directories. NI-FGEN SFP will allow you to generate both square and sine waves at different frequencies and amplitudes. NI-SCOPE will allow you to read in waveforms at various sampling rates.
    Hope this helps!
    Erick D
    Appl
    ications Engineer
    National Instruments

  • Question on the result of using Wavelet transform on sine wave

    Dear all,
    I have apply the Wavelet transform on a 50Hz sine wave. The result is shown below. But I don't understand the result of Wavelet transform. Anyone can help me? Thanks.
    Victor

    You seem to have something against the FFT, yet continually compare other transforms to the "sweet spot" for the FFT, ie. sinusoidal and periodic functions.  Without trying to write a treatise on the subject (there are many fine books), a few observations.
    The primary purpose of any transform pair is to perform a rotation in function space, for the FFT we are familiar with the time domain and frequency domain.  The wavelet domain is not so simple.  The FFT is very effective for sinusoidal and periodic functions, ie. those that have no localization in the time domain.  If you have a sinusoidal input, the infinite signal in the time domain can be reduced to a pair of numbers (one if you take the power spectrum).  That is very efficient, other periodic signals can usually be approximated by a small number of terms.  
    Wavelets on the other hand are chosen to be localized in both the time domain and the wavelet domain.  If you look at a periodic signal like your sine wave, you see a mess, and to recreate the input signal you will need to keep an awful lot of the points around for the inverse transform.  You may be able to set the last 1/3 to zero, but that's it.  To see an effective application, you should be looking at localized functions, like an impulse.  Put an impulse into the wavelet transform and you get something that is still a bit complex, but pretty simple.  The FFT of an impulse contains components at all frequencies and the wavelet clearly wins in this case.  
    On paper, there is usually a clear choice, and the FFT almost always wins for spectral estimation.  On the other hand, if you are trying to compress "real world" data, for instance an image, then there is a choice to be made.  Standard JPEGs are FFT based, you take the FFT and try to keep just the largest frequency components.  As you probably notice, edge contrast usually suffers, especially at higher compression.  With wavelets, it is typical to have slightly better contrast leading to better preservation of details for a given compression.
    In short, my opinion is that transforms are useful when they simplify the problem.  Wavelets do not simplify the representation of a sine wave. 

Maybe you are looking for

  • 'Sorry Numbers for iCloud isn't responding' is the message I'm getting when trying to open a spreadsheet.

    I rang Apple support who told me that the file has corrupted and there's no way of getting it back. Has anyone else experienced this? Please let this be a warning to others that are using Numbers beta on iCloud, your files are not safe from corruptio

  • Exchange 2007 in iCal not working. - Invalid Email address

    I did the exchange setup - Email works. Addess book - Contacts are there but the Global Address book does not produce anything. iCal - all the setting are correct but it won't connect to the calendar. The error: Invalid Email address. It is the corre

  • Inventory Management (Non-cumulative values)

    Dear experts, I want to extract inventory data from 2LIS_03_BF. How do I have to configure the Key figures; for example: 0VALSTCKQTY. Is there a need to use Non-cumulative value with in- and outflow as in Content. Which other possibilities exist? Aft

  • SDO_PC blocks partition

    Hi, I am trying to create SDO_PC and I want to sort points in blocks via three dimensions. I was not succesfull and need advice ho to do it. DECLARE pc SDO_PC; BEGIN pc := SDO_PC_PKG.INIT( 'base', 'PC', 'PC_BLKTAB2', 'blk_capacity=50000', SDO_GEOMETR

  • Regarding Missing part message

    Hi All PP Gurus, Can you please tell me the solution for this please ... If i am having some raw maerial having sufficient stock but i am getting error message for missing part. So please tell me the solution why is it so?