Problems getting started with LabVIEW FPGA

Two (probably) related questions:
1. I am trying to get started with LabVIEW FPGA, and I am having trouble using a host VI to test my FPGA VI. I started with a basic QAM modulator VI, to be run on the FPGA, and I have reached the point where I need to verify the logic and timing with this VI running on the development computer with simulated IO. I have tried various combinations of putting the code inside single-cycle timed loops vs not; putting the modulator block directly into the host VI, and using the "FPGA reference" block. When neither the host VI nor the modulator VI use a single-cycle timed loop, I see correct behavior. In every other case, the output of the VI is either absent or incorrect. I need to use a single-cycle timed loop in the FPGA VI to properly verify timing behavior (as far as I know), so the one functioning case is not enough for me.
I'm sure there is a key step I'm missing or misunderstanding, but I have not been able to figure it out myself yet. I've attached my modulator diagram as well as two different attempts at host VIs. I can share other information, but I'm not sure what is most relevant.
2. I am also trying to test a simple wrapper VI for the Xilinx FFT block, and I am having trouble accessing FIFOs inside the host VI. I thought this would be relatively straightforward, but when I tried to change the "method" on an "invoke method" block, there were no options for accessing FIFOs, as I understood there should be. This is a total roadblock for me. These two diagrams are also attached, the test diagram shows the options available to me for the "invoke method" block.
Labview 2013, PXIe-7965R, PXIe-8133 controller. 
I had to combine the diagram images; in case they are hard to follow this way, see the individual images here: http://imgur.com/a/oB6OD .
Thanks in advance for any suggestions.
Attachments:
mod_all.png ‏68 KB
fft_all.png ‏52 KB

Hello Monguin61
If you are having problems reading from DMA FIFO's you should test them using a very simple code to understand their behavior. First, you could start taking a look to the linked documents:
Reading DMA FIFOs from Host VIs (FPGA Interface)
Using DMA FIFO to Develop High-Speed Data Acquisition Applications for Reconfigurable I/O Devices
FIFO.Read (Invoke Method)
Then you could test and analyze a simple example to understand how it works, for example this one: Simple DMA FIFO Example for FPGA.
Check the references when you are using DMA FIFO's, I noticed you did not connect them in the second picture attached.
Regards
Frank R.

Similar Messages

  • Error, in Getting started with Labview. Chapter 3, part 4.

    Hi.
    Still struggling on, trying to find the time to work through the "Getting Started with LabVIEW" document.
    Only 19 days left to go, and I'm still only in chapter 3!...
    Right.  In the "Saving Data When Prompted by a User" exersise, part 4...
    4.   Right-click the Signals input of the Write To Measurement File
          Express VI and select Insert Input/Output from the shortcut menu to
          insert the Comment input.
    Problem is, that option is greyed out, so not available!...
    I did what the instructions said, I right clicked on the "Signals" input, and it doesnt do what it says on the tin!
    Any pointers?   Please don't mention search the help, I've crashed the entire LV environment 3 times now, trying to search for something in there.  It's OK if it finds someting, but it seems to bomb at times, when there is some ambiguity when searching.
    Also, I won't be able to do anyting with any replies for a day or two, as I have to go up country to a customer, and mess about with hot oil, high volts, and lots of RF.  It never ends.   (I've still got the day job to do, while trying to fight my way through this "evaluation".   30 days of "Use" would be better, than 30 calendar days for some of us.)
    Regards.
    Dave Baxter.
    Technical Manager: AR-UK Ltd.
    AR United Kingdom
    OK... Who let the smoke out?

    Hi Dennis, and everyone else..
    That is not how it looks when first dropped on the BD.  On my machine, it is partialy expanded by default, after you clear the Configure dialog that pops up ocupying most of the screen.
    Again, if it makes a difference to the way the Right Click shortcut menu works, it should be documented in the Getting Started document, especialy as it seems to be a critical point.
    OK, explain this...
    I've just rubbed out the save to file VI, cleaned up the broken wires etc, and then planted a new one on the BD.   Once I cleared the Configure dialog that covers up most of the screen before you see it the first time, the VI was partialy expanded.  I forget the exact list, but "Signals" was not at the top.
    I did *EXACTLY* the same again, deleted it, cleaned up, and then planted a fresh new one.   That DID appear that time with nothing but the "Signals" item showing, and two down caretts below that, indicating more items.
    So......
    Why the different behaviour each time, on the same BD, in the same session.   Some underlying working data not being correctly initialised when invoked?  Of course, that never happens, right? ('C' programmes eh?)
    Trying some more, it seems the behaviour loosley depends on just how close to the edge of the While loop grey border you place it.   Odd.   I have a 1280x800 screen to play with, and a 1280x1024 second screen I use for the Getting Started document.  That is the absolute maximum I can have, due to hardware limits.
    I also find, that if you fully expand the "Write to Measurement File" VI block, then fully collapse it, then expand it again, all the items in that list have changed places!  Why?
    I had noticed earlier that there is no uniformity in the layout of even the items common to many if not all VI blocks (error in, and error out to name but two) Sometimes one is above the other, sometimes the other way round, sometimes they are not even ajacent to each other.   Has that been done as a source of minor ammusement or something?
    Talking to another colegue here, who just wandered in to see how I was getting on with this.  Seems he also has tried the introductory entry into LV (V8.something) in the past.  But he too, found too many things that behaved differently from one time to another, so abandoned it as a lost cause, then decided to learn how to use Visual Basic with NI-GPIB IO instead.   Not without issues either he said, but at least it all behaves exactly the same, each and every time.
    End of the day now...
    Regards.
    Dave B.
    OK... Who let the smoke out?

  • Problems getting started with templates

    I am just getting started with the dreamweaver 30 day trial.
    I am trying to create my first file. When I try to open a new
    template file I get the message below-
    "Dreamweaver stores templates in the root folder of a site,
    but there are no sites defined. Please add a site"
    What does this mean? How do I find the templates? I am a
    total dreamweaver newbie trying to learn the program.
    Thanks

    ntmunger wrote:
    > I am just getting started with the dreamweaver 30 day
    trial. I am
    > trying to create my first file. When I try to open a new
    template
    > file I get the message below-
    >
    > "Dreamweaver stores templates in the root folder of a
    site, but there
    > are no sites defined. Please add a site"
    >
    > What does this mean? How do I find the templates? I am a
    total
    > dreamweaver newbie trying to learn the program.
    >
    > Thanks
    It's not a problem with templates.
    You have to create a site for your website - F1 will show you
    how to do
    that. Once you have a site created, you will be able to
    create new template
    files, and they can write themselves to the correct part of
    the site.
    HTH,
    Pete.
    Peter Connolly
    http://www.acutecomputing.co.uk
    Derby
    UK
    Skype ID: acutecomputing

  • Errors in the "Getting Started with the FPGA Module" examples

    We have LabView 8.0, the NI-5640R, and the LabView FPGA module installed on a computer with the IF-RIO board, and we are trying to compile the provided NI examples (NI-5640R documentation), but we receive errors that say "sub VI is not executable" and "you have connected terminals of two different types"  Why are the existing NI VI's not compiling properly?  We are guessing that we have some configuration error, though we aren't sure.

    The run error is broken and gives the option to list and locate errors, though these errors are found everywhere in the files that are provided in the NI-5640R.  Several wires have red x's that say that different types are attempting to be wired, and multiple blocks are highlighted that list errors that say that the blocks cannot be activated.  It seems like there is a problem with how the software and board has been installed.  The group that used the board before us had a functioning project, although they but the IF-RIO in their own computers, so they might not have put everything back together properly.  Their old VI's produce the same errors on our computer.  Do you have any suggestions on what to do? 

  • Problem getting started with OCCI

    Probably a dumb question, but I am having trouble getting the OCCI samples to compile and run with VC6. To try to compile them out of the box, I created a plain Win32 project, added the occi Library and header to my project.
    None of the samples would compile, looked at the errors, which suggested I should have defined WIN32COMMON. I did, and everything compiled. Now whenever I get to a point where the code attempts to retrieve something from a ResultSet I get ASSERTIONS in the delete operator (debug mode) or access violations in release mode.
    Stumped.
    Can anyone give me a clue as to how to get started?
    Thanks,
    Mark

    Mark,
    I had the same problem but I figured it out what to do to get it work (took me quite a while...)Ok, here are the things you have to do (in VC 6.0):
    * project setting / linker / using following libs only (for Release and Debug!):
    oci.lib oraocci9.lib msvcrt.lib msvcprt.lib With these settings I got all OCCI samples to work properly (Release and Debug).
    Though developing my own stuff, I still had problems in the debug version sometimes (I'm using Win2K). I found out, when ever the "C:\WINNT\system32\msvcp60d.dll" was loaded at program start (see debug window of your VC) I got some more assertions. So I renamed the "msvcp60d.dll" to "msvcp60d.dll.bak" and copied the "msvcp60.dll" to "msvcp60d.dll". And now everythings works fine.
    I guess the reasons for these assertions is the occi libs own memory management, which isn't traced correctly by the debug version of
    the "msvcp60.dll"
    Cheers,
    Johannes

  • Problem getting started with Mapviewer (mv10131_qs)

    Newby question,
    I followed the readme file and I can get http://localhost:8888 to work but not http://localhost:8888/mapviewer. The result is 404 Hot Found.
    I also followed the instruction to load the demo data from from "mvdemo_10131.zip". So I created a mvdemo database with mvdemo user mvdemo passord.
    Any idea,
    Thanks in advance.

    Yes, I did run Start.bat.
    I edit it also to point to the Java distribution within Oracle folders to avoid problems with other Java installations:
    D:
    cd D:\Oracle\product\10.2.0\db_1\oc4j\j2ee\home
    "D:\Oracle\product\10.2.0\db_1\jdk\bin\java" -server -Xmx384M -jar oc4j.jar
    I am using FireFox and I have Apache running on that system. Do you know of incompatibility?
    Thanks a lot!

  • Problem Getting started with JDeveloper3.1

    I just downloaded JDeveloper 3.1 from OTN. Installed it. But its giving an error opening the JDeveloper. The error is
    "Unable to start a Java VM for JDeveloper"
    I am new to JDeveloper (and to Java itself). So I am not sure what its expecting. The readme.htm (release notes) doesnot talk much about installation and troubleshooting.
    I tried troublesheeoting on my own. tried executing java1.2\bin\java. Wrote an error saying "Error loading ...\Java1.2\JRE\bin\ojvm\jvm.dll".
    Looks like problem with OracleJVM. Then reading through release notes, tried installing jre1.3 (notes talks about 1.3rc2., I dont know what they mean. Searched the whole of javasoft site for that word with no luck). The added -ojvm to the jvm.cfg file. But InstallOJVM didnot work.
    So here I am questioning myself "IS IT HIGH TIME stop bashing Microsoft and move on...."
    Any help is appreciated.
    Thanks.

    I agree, I have just installed it on a Windows 95 Laptop, and for all the looking I did I didn't realise that it was not supported on 95. Most installs these days detect the OS early and tell you that it is not supported. .... might be something that Oracle will include in the future.
    null

  • Problem getting started with IDM

    I just need a new, clean installl of IDM 7.1, using MySQL and Windows 2003. The installation seemed to have gone fine, I didn't get any errors. However, when I go to http://localhost:8080/idm for the first time, instead of a logon page, I get a page asking me to import an exchange file. I tried the init.xml in the sample library, but that returned an error: http error 500.
    Any suggestions?

    Hi there,
    Did you solve this? And if so how? I have installed IDM 7.1 and I am also having the same problem. When I goto idm on my webservers port I get this page asking for an exchange file rather than a login page. When I try to upload the init.xml in the sample directory in WSHOME/IDM/Samples I just get a HTTP 500 java exception error:
    org.apache.jasper.JasperException: Exception in JSP: /configure/../includes/../includes/getSession.jsp:42
    39: // _wsSess is needed by getLocale.jsp
    40: Session _wsSess = null;
    41:
    42: request = BufferedRequest.wrap(request);
    43:
    44: // Create a local RequestState object for this page
    45: RequestState req = new RequestState(session, request, response, _wsSess, p);
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: javax/activation/DataSource
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.configure.fileimport_jsp._jspService(fileimport_jsp.java:686)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.NoClassDefFoundError: javax/activation/DataSource
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
         org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:873)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1326)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
         java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         com.waveset.ui.util.BufferedRequest.addAttachment(BufferedRequest.java:661)
         com.waveset.ui.util.BufferedRequest.parseMultiPartFormDataRequest(BufferedRequest.java:610)
         com.waveset.ui.util.BufferedRequest.parseRequest(BufferedRequest.java:555)
         com.waveset.ui.util.BufferedRequest.<init>(BufferedRequest.java:230)
         com.waveset.ui.util.BufferedRequest.wrap(BufferedRequest.java:220)
         org.apache.jsp.configure.fileimport_jsp._jspService(fileimport_jsp.java:199)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I have checked my MySql database is running and it is so I am unsure what to do.

  • Problems getting started with ipad

    I just bought an Ipad and I connected it to my computer and downloaded itunes as it said and my ipad still has that message on it to connect to itunes.  what am I doing wrong????
    Thanks

    What computer/OS are you using?
    In iTunes, is your iPad shown under "DEVICES"?
    Did you install the USB driver to connect your iPad to your computer?
    Additional information:
    http://support.apple.com/kb/HT4053
    http://support.apple.com/kb/HT1386

  • Getting started with the compliance checker

    I just downloaded the vSPhere compliance checkers, 1 for 5.0, 5.1, and 5.5.   When I run the tool against the appropriate vcenter I only get results from 5 hosts. 
    What do I need to be able to get results from all hosts within vCenter?   is this only something that can be done using vRealize Configuration manager?
    Please share you knowledge of compliance tools so that I can move forward with the proper solution(s)..
    Thanks in advance! 

    Here is the updated version of the manual: http://www.ni.com/pdf/manuals/372946c.pdf
    I went to ni.com/manuals and looked for the Getting Started with LabVIEW DSC and found a more recent version that has the correct links. Unfortunately when searching via Google, the older version pops up first.
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion

  • Getting Started with the Power BI Designer

    A core part of the new Preview features for Power BI is the Power BI Designer. This lets you create a collection of queries, data connections, and reports that can easily be shared with others. The Power BI Designer integrates proven Microsoft technologies
    – the powerful Query engine, data modeling, and visualizations – and works seamlessly with the online
    Power BI Service.
    For more information you can
    read our Getting Started tutorial or
    watch a Getting Started video
    To find out how to download the Designer please
    go here

    Here is the updated version of the manual: http://www.ni.com/pdf/manuals/372946c.pdf
    I went to ni.com/manuals and looked for the Getting Started with LabVIEW DSC and found a more recent version that has the correct links. Unfortunately when searching via Google, the older version pops up first.
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion

  • Can not get example to work after following instructions given in "Getting Started with the NI LabVIEW C Generator" guide

    We explored using sbRIO for our project, for different reasons we ended up going with a different embedded solution . We are currently evaluating the LabVIEW C Generator to convert some of the core analysis routines from LabVIEW to C so the team that will be creating the embedded solution don't have to re-implement them from scratch. 
    Before converting our code, I followed the instructions given in the "Getting Started with the NI LabVIEW C Generator" manual to create a static library created inCygwin using GNU Compiler Collection (GCC). 
    I managed to compile the code, but when I type "run GCD.exe" in the Cygwin console, I just see the window flash with no time to see if the result is correct or not. I modified the main.c cde to add a getchar(), but the window still just flashes and now I am left with the GCD process still running and have to kill it using Windows Task Manager.
    Has anyone else got this example to run? I am sure I am missing an obvious setting or step, please help me.
    More details below.
    Thanks,
    Fab
    Here is a video showing the steps I followed 
    If you don't want/can't see the video. Here are some screenshots of what I have done so far:
    GratestCommonDivisor.lvproj C Generation build specs Information:
    C Function prototype definition:
    I copied Makefile located at: C:\Program Files (x86)\National Instruments\LabVIEW 2011\examples\CGenerator\Tutorial\Cygwin
    and replaced both Makefile and Makefile.cygwin in the directory where the C code was generated
    I also copied main.c from the same location and replaced the one generated
    Here is the snapshot of the results after executing "make GCD.exe"
    Then to run it I just type 
    I see a window open and close really quickly and I never see the result. I have tried adding the getchar() line to the main.c file, but still I don't get to see the results.
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion

    Hi Kevin,
    I hope you had a good Thanksgiving. I am attaching a zip file with the LabVIEW project, my build specification and my version of "Greatest Common Divisor.vi", which should be the same as the one that you have that ships with the LabVIEW C Generator, but just in case. I am also attaching a zip file with the C files generated by the LabVIEW C Generator.
    You can also see the video I posted earlier with the steps I followed. I hope you are able to point out where I went wrong. 
    Thanks,
    Fab
    Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion
    Attachments:
    GreatestCommonDivisor.zip ‏8 KB
    CGen Files.zip ‏71 KB

  • Getting Started with FCE - Problems with my imported files

    Hi,
    I'm trying to get started with Final Cut Express, but I'm experiencing lots of problems when I import my project from iMovie.
    My project contains video, which I imported into iMovie at 960 x 540. It also contains some keynote animations, which I exported from Keynote as quicktime files.
    When I export my files to FCE, I instantly get problems.
    1) When I add the imported file to the sequence, I get an "Attention the clip does not match the sequence's setting or any of your sequence settings" error.
    2) Whether I choose to translate my settings or not, I try to play the video in the timeline, but there is a continuous beeping sound, no audio from my video and when it hits the keynote animations, it just says "unrendered" or "media offline".
    Please can you offer any advice on how I can get started with FCE more successfully.
    Thanks!

    Hi(Bonjour)!
    (please specify iMovie and FCE version)
    Well, your sequence settings in FCE should be DV-PAL 48 Khz.
    Create a new sequence.
    From iMovie and Keynote, export your movie with quicktime conversion andd select DV-PAL 48 kHz (*And Not* DV Stream...). This material should play without rendering because his format and codec match the sequence's codec.
    Import your files and everything should be OK.
    Michel Boissonneault
    The audio should be AIFF 48 kHz 16 bit linear PCM

  • I never used LabView but need to generate a RS-233 serial output string that contains an IRIG timestamp based on a contact closure. Is LabView an appropriate tool to do this? How much does it cost to get started with the product?

    I never used LabView but need to generate a RS-233 serial output string that contains an IRIG timestamp based on a contact closure. Is LabView an appropriate tool to do this? How much does it cost to get started with the product?

    Labview isn't cheap, but it would certainly allow you to build a program (set of vi's - virtual instruments) that would do what you describe. Where would the timecode information come from? Your vi, or program, would: Start up, initialize the serial port, loop until a trigger happened, read the timecode (from where?), output that timecode out the serial port in a loop until you pressed the stop button. There is a free evaluation of Labview software available from NI - the base product itself runs about $995.
    - Dave

  • Problem: UNIT 1: GETTING STARTED WITH COLDFUSION 8. Page 11

    Hello!
    I using UNIT 1: GETTING STARTED WITH COLDFUSION 8
    Page 11.
    Testing the course files installation
    21. Open up a browser and type in the following URL:
    http://localhost:8500/CF8intro/onYourOwnSolution/home/index.cfm.
    22. Login to the application using:
    • Username: [email protected]
    • Password: demo
    BAD PASSWORD :-(
    The web site you are  accessing has experienced an unexpected error.
    Please contact the website  administrator.
    P.S. Sorry Bad English
    Help!!!

    I have started to study CF8   http://www.adobe.com/education/instruction/teach/cfcurriculum.html
    UNIT 1: GETTING STARTED WITH COLDFUSION 8
    I have established CF, have copied course files, but at me shows an error when I do Testing the course files installation
    I enter a login specified there [email protected] and the password demo, but at me after that shows an error.
    I ask your council.

Maybe you are looking for

  • Help me choose a case!

    have 5 criteria for an iphone case. 1. MOST IMPORTANT: cosmetic protection- especially drop protection - this means I want a case that won't damage the iphone, that would defeat the purpose of the case 2. Something that doesn't add a lot of bulk 3. I

  • Since we've started running Adobe Photoshop CC 2014 we get intermittent problems that causes Photoshop to hang.

    The problem lies in the preferences file (C:\Users\username\AppData\Roaming\Adobe\Adobe Photoshop CC\Adobe Photoshop CC Settings\Adobe Photoshop CC Prefs.psp). When I open some PSD-files in Photoshop and try to print them photoshop hangs. If I press

  • HT201299 how to connect ipad to broadband land line

    hello, I have a broadband land line(BSNL) and do not have WiFi. i am unable to get internet access to my ipad.  I have downloaded itunes.Kindly let me know how to proceed. Thanks in advance.

  • IMac intel 2009/10 - external HD

    My son is running Final Cut Express on his Intel iMac. As his HD is getting full, he's using an external drive as a scratch disk for his render files. The disk is connected via Firewire. This causes the rendering process to be extremely slow. What is

  • Error 1602 when updating to 1.1.3

    What do I do if I get the error code 1602 when I am trying to update to 1.1.3 in order to get January Downlaod?