SIne generation with fpga

Hi,
I am working on a large project on labview FPGA but I'm a beginner in FPGA methods. The first step is to generate a sine wave in "real time" through one of the output of the PXI card.
I chose to use a LUT, but I don't really know if it is the best way. My problem is that my output signal is not a sine and I dont know why.
I joined a printscreen of my diagram. The "waveform" memory contains 1024 points and the hardware I use is a flexrio PXIe 7965R with a 5781 module
If someone have an idea
P.S: sorry for my poor english
Attachments:
sine.JPG ‏54 KB

Hello,
Why do you espect reading a sinus if you only read values of many adresses of Memory Item?
The 5781 is Baseband Transceiver Adapter Module for NI FlexRIO not a module.
I suggest you to take a look at this link : Generate sinus in FPGA
You also can use this function :
Regards,
Jérémy C.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France

Similar Messages

  • How can i do a sine wave with High Throughput Sine for fpga?

    I try to do a sine wave looking the examples but i can't. I have a sbRio 9606. 
    I need to do a sine wave with high throughput block. In my exercise i have 2 inputs (amplitude and frecuency) and i have to look the output (sinewave)
    I need help!!

    Hi pablosan,
    If I understood correctly, you want to generate a sine wave with a high throughput block in Labview FPGA.
    I'm afraid you won't e able to do this, as these blocks are specifically designed for other FPGA targets with better features for high performance. So instead of using the example named "Sine and Cosine.lvproj" under High Throughput examples, you can use the "Sine Wave.lvproj" under Signal Generation and Processing examples, which is more adequate to your Single-Board RIO.
    Regards.

  • Crash at compilation/Intermediate files generation LV FPGA module

    Hi.
    I'm in desperate need of assistance.
    I have been using LabVIEW 8.6 with FPGA module running at Win XP for som time now and I have never encountered any crash while compiling before.
    I get one of those Error messages where I just can send an error report to Microsoft.
    I use the FPGA target RIO0, PCI-7833R and have designed a FPGA interface-VI including a number of functions. When I right-click at the VI and choose Compile, generation of Intermediate files begins. Now I never get further than the before LV crashes. Each and every time.
    I have no problems opening the project file or my FPGA VI, updating them or saving them.
    Grateful for help. Thanks!
    /Henrik

    Hi!
    Thanks again for good ideas. Unfortunately it didn't help repairing. I tried with both FPGA Module and the FPGA compile server (even though the compilation process never reaches that far) without success. I even tried to repair the whole LabView 8.6 but with the same result.
    Even before repairing I have been able to make another small VI work its way through the whole compilation without crashing. But when I replace the small VI with the previously "failing" VI, it crashes again. I have also tried to cut away most of the functions of the VI but it still crashes.
    Is it possible that I have some kind of bad reference, some missmatch when instanciating and mapping any of the VHDL nodes or something like that that causes the crash? Still one would think that this should generate an error in LabView rather than generating a "windows crash", but maybe something can cause the file generator to fail completely. It has been working before and I did a very small change when the crashes started, but something is obviously wrong, so...
    Since its crashing even before connecting to the compile server, do you think I can rule out any damage/failing on any of the HW (e.g. the National specific HW and my external board and the on-board FPGA? Since I'm running out of ideas myself I guess I could look into that as well, but I can't see that that's the problem.
    BR
    /Henrik

  • Help needed with generating a sine wave with NI-5640R card

    Hi there,
    I have created a simple programe using the 5640R card, and i am attaching the programe to this question. Using a "sine generation" function/block i am generating a sine wave and outputting to one of the o/p ports and then i am connecting that o/p port to one of the i/p ports using a cable. Then i am plotting what ever i have recieved through the i/p port (this has to be same as what is generated using "sine generator" ). The graph shows that i am not receiving aything from the i/p port, but when i plot the o/p of the "sine generator", i see that the sine generator is generating the sine wave. Please refer to the attached figure and please tell me what mistake i have made in this simple programe.
    Thanks,
    Sandeep.
    Message Edited by sandeep palreddy on 07-08-2007 12:46 PM
    Sandeep Palreddy, Graduate Research Assistance
    The Microwave Remote Sensing Laboratory (MIRSL)
    University of Massachusetts
    151 Holdsworth Way
    Amherst MA 01003-9284
    Attachments:
    figure.doc ‏27 KB
    figure.doc ‏27 KB

    Hi sandeep
    This small segment of code will not work on the NI PCI-5640R.  This module does not support running the FPGA Vis directly.  A Host VI must be run that calls to the FPGA Vis.
    I suggest that you look at the ni5640R Analog Input and Output example that is installed by the NI PCI-5640R software. 
    Jerry
    PS: Make sure that you are using the NI PCI-5640R software version 1.1.

  • NI-6062E FM signal generation with DAQmx

    Hi everyone,
    I am trying to use the NI-6062E DAQ card to generate an AC voltage signal and I found 2 relevent example:
    (1)Cont Gen Voltage Wfm-Int Clk.vi found in LV7.1 DAQmx examples
    (2)Function Generator with FM.vi also found in LV7.1 examples
    But I have it hard to implement the 2nd vi directly into the 1st one and it looks like I have to make change to the subVIs?
    I am trying to modulate a 500Hz sine wave with frequency of 10Hz, can anyone help?
    Thank you!

    rpursley8 wrote:
    Are you trying to do this as a real-time signal or are you generation the waveform ahead of time and sending it out?
    An FM modulated signal is defined as
    f(t) = A*cos(2*pi*fc*t + m*sin(2*pi*fm*t))
    where
    A = amplitude of signal
    fc = carrier frequency (500 Hz)
    m = modulation index (how big of a swing in frequency that you want)
    fm = modulation frequency (10 Hz)
    pi = pi
    so a formula node might be the easiest way. To generate a complete cycle, you will have to generate 0.1 seconds of data, then you could repeat it continuously without any discontinuitues.
    Clearly the carrier and modulation can be something other than sinusoids, but this is how it is usually represented.
    Attached is an example of generating the waveform.
    Hi Randall,
    Thank you for your reply, yes and I am trying to generate this real time signal on the NI-6062E Analog Output channel, but I find it difficult to insert either your example or the example FM vi from LV7.1 into the following VI?
    I think it also needs to deal with hardware channel config (for sample clock rate) using DAQmx? or I need to make change to the subVI such as Waveform Buffer Generation.vi or even further the Basic Function Generator.vi?
    Thank you for your patient.
    Regards
    Rolly
    Attachments:
    Cont Gen Voltage Wfm-Int Clk.vi ‏83 KB

  • Continuous waveform generation with PXI7952 & NI6587

    Hello Everybody,
    I am looking for code exemple in LabView 2009 for continous waveform generation with PXI-7952 & NI 6587.
    Thanks for you help.

    Bonjour,
    Pour la carte FPGA PXI-7952R il y'a une application de référence ici : http://zone.ni.com/devzone/cda/epd/p/id/6066
    Pour l'autre carte étant une carte numérique vous trouverez un tas d'exemples dans LabVIEW via le menu Aide » Recherche d'exemples.
    Cordialement,
    Da Helmut

  • What is the normal amount of GB of Other Space for a new 32 GB Ipod touch 5 Generation with iOS 6.1.3? Also, will iOS 7 slow down/drain the battery of my device?

    My Other storage space was at 2.84 GB after i loaded all my music/apps onto a recently purchased 32 GB Ipod touch 5 Generation with iOS 6.1.3.  Resetting the settings and removing the music and apps did not help reduce the Other space.  I restored to a backup and got my Other storage space down to almost 400 MB.  When I started syncing music it grew 500-ish MB.  Each time I sync, the Other grows a bit more.  This is really irritating.
    The official listed available GB on my 32 GB is 28.22 GB (not including Other), so now I am irritated knowing that this Other is taking up my space when I didn't even have 32 GB of free space to begin with. So 28.22 - 2.84GB = 25.38 GB.
    I want to restore to a new device to see if that helps, but do not want to upgrade to i0S7.  Is there any way to do this?
    If I upgrade to i0S 7 I am worried it might slow my ipod or drain the battery faster.  Will it do that?  The ipod is expensive and I dont want it to go downhill and obsolete on me because it can't handle a better operating system. 

    Less than 1 1/5 GB is normal. It does grow with time.
    What is the Other on my iPhone and How to Remove It

  • HT4962 I have an Ipod Touch 2nd generation with version 4.2.1 IOS and it no longer seems to be recognized as a device when I plug into my computer. I want to update my sync settings but can't do this without being able to select the device. Any suggestion

    I have an Ipod touch 2nd generation with version 4.2.1 IOs and it is no longer recognized as a device when I plug into my computer. This means I can not change synch settings - any ideas on what I need to do ?

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • HT4623 My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I won't erase all my music reco

    My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I don't want to erase all my music recording. (couldn't back up easily...) my dairy, my financial record made on apps...
    If I got a new Mac book pro soon, would it helps backuping everything?

    awesome121, he does not an an iCloud account. You need iOS 5 or later for iCloud and the poster said he has iOS 4.
    awesome121 wrote:
    DO you have a icloud account?

  • I have an ipod nano 2nd generation with a non responsive click wheel

    I have an ipod nano 2nd generation with a non responsive click wheel. I have fully charged it tried resetting it and on two different computers with the latest iTunes I have restored it with the latest firmware then moved it to hold and off hold held in the menue button and select button for 10 seconds but all I get is a screen where I select the language but cant get any response from the scroll wheel.
    The hold button is working (I see the lock icon go on and off) I have done the restore procedure and then reset many times but no good I am wondering if I should open it up and disconnect the battery for 30 seconds.
    I would appreciate any advice thanks in advance. (This is my Daughters ipod mine is an 8 gig one.)

    You need a newer model iPod, a 4G or 5G. The 2G can only go to iOS 4.2.1

  • Have old ipod nano (2nd generation) with music from an old itunes account ... I have new itunes account now...how do I get my old purchased music into my new itunes library?

    I have an old ipod nano (2nd generation) with music on it from an old itunes account from a few years ago.  I have a new itunes account now.  How do I get the music (that I purchased) transferred into my new itunes library?

    Hi sid1010,
    Welcome to the Support Communities!
    You can redownload music that you have purchased directly to your iTunes Library.  Here's how:
    Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Cheers,
    - Judy

  • Can I synch an ipod nano 6th generation with Mac OSX 10.4.11 with Itunes 8.02?

    Can I synch an ipod nano 6th generation with Mac OSX 10.4.11 with Itunes 8.02?

    No.  You need at least Mac OS X 10.5.8 or later as well as iTunes version 10.1 or later.  Sorry.
    B-rock

  • NI6554 Dinamic generation with external sample clock

    I am using the PXI-NI6554 to generate a digital signal, as
    clock I want to use an external source that I drive in the board via de CLK IN SMB
    connector. Always I got the same error (cod: 1074115898) from the “Write” VI
    block, the reason is that there is not clock signal or is not detected.
    I tried the example “Dynamic Generation with External Sample
    CLK” and I have the same error.
    The clock signal is in 3,3V logic. The same clock signal
    works to acquire via the STROBE pin. I have scoped the CLK and the shape is
    quite ok. I have tried the two possible impedances for the CLK input also.
    I found one respond (http://digital.ni.com/public.nsf/allkb/884C5A76BA1A474E8625717A0068AA09)
    about strange behavior of CLK IN but the proposed solution does not help in my
    situation.
    Does somebody have an idea about the problem?
    Thanks,
    Abe

    Hi Uli,
    I posted to your thread here.
    Best Regards,
    John Passiak

  • I have iPad 4th Generation with iOS 6.1.3  Since my iBooks was updated to version 3.1.1 I cannot open pdf file attachment in my email.  When I tap of the attachment, the iBooks icon no longer show itself.  Can someone please help?

    I have iPad 4th Generation with iOS 6.1.3  Since my iBooks was updated to version 3.1.1 I cannot open pdf file attachment in my email.  When I tap of the attachment, the iBooks icon no longer show itself.  Can someone please help?

    Thanks for all (Ocean20 & Courcoul) who replied. 
    Reset the device did not help me but it does triggers me to attempt to resend the PDF file attachment on email--and it works the 2nd time.  My problem is now solved.
    The Adobe Reader is very helpful--it allows me to scroll through the document easily, unlike iBooks, where I cannot scroll straight up or down.

  • HT1515 How can I use Airport Express (1st generation) with OS X Mavricks?

    How can I use Airport Express (1st Generation) with OS X Mavericks?

    1st Generation AirPort Express will work fine with Mavericks.
    Are you sure that you have a 1st Gen Express?
    Check the model number on the side of the Express. 1st Gen is A1264.
    If you see A1084 or A1088, these are much older versions of the Express that were sold long before Apple began to use the Generation naming with "n" wireless devices in 2007.
    Mavericks will not support the A1084 or A1088. Use another Mac running Leopard, Snow Leopard, or a PC if you need to administer the older Express.

Maybe you are looking for

  • Urgent - - Differences Between Oracle 11.5.7 and 11.5.10

    Hi All, Can somebody tell me the differences between 11.5.7 and 11.5.10...The additional features that are there in the 11.5.10...any doc on the same will be of great help. Thanks in advance

  • B500 0887-1FU Will not boot past logo screen

    I get the Lenovo logo, the "Press Enter to bypass normal startup" message and that's it.  The fans run at full tilt and I can hear the hard drive spinning, but no activity.  I can turn the light below the screen on and off, but nothing else.  I have

  • Enhancement and new features available in AFS 6.0 in reference to AFS 5.0?

    Hi Experts, Please can you explain what are the Enhancement and new features available in AFS 6.0 in reference to AFS 5.0

  • SF300 ip route

    Hi all, bellow is what I need to do with the SF300 switch: I will integrate a cisco switch SF300 to support the failover between GPRS and 3G netwoks between two different sites. To simulate the installation in our plateform, I put the cisco SF300 lin

  • Checking all songs in a list

    is there a way to check all of the songs or something??