Is it true that bundle by name can cause FPGA compiles to fail?

Dear forum,
I have attached a full log of my experience with this apparent bug, but I will summarize it here:
I attempted to compile a labview robotics project for cRIO 9074. The code was all on the FPGA, and I'd tested it all before attempting to compile--much of it was skeleton code proving that the self test system would turn on blinky lights on the front panel. My first attempted compile received a strange failure message in stage 3 of labview's pre-xilinx compilation interface, and the message was strange mostly because it was so intensely vague. It read "An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information: Error 1000 occurred at an unidentified location. Possible reason(s): LabVIEW:  The VI is not in a state compatible with this operation."
It being Tuesday the 6th of July 2010, I was unable to reach either the support staff who were on holiday or the web service, which was down for maintenance, so I began disabling pieces of my code using my debugging conditional disable statements. Eventually I found one skeletal code module, one to interface with analog flood sensors, which did not fail to compile. I compared this with another skeletal code module which did fail to compile, and after several tests noticed that adding a bundle by name from a strict type definition (but not an un-bundle by name or a standard anonymous bundle) would cause the vi to fail the compile. With several more tests I confirmed that while the vi would fail to compile with the bbn, with a standard bundle it would compile successfully all the way to the xilinx stage (by which point I didn't care, the bug was definitively pre-xilinx.) 
So tonight I will be going into my code and doing a lot of replacing bundle by name blocks with anonymous bundles, but I am still haunted by the extreme vagueness of the error, and by the fact that bundle by name is usually a solid part of the FPGA development platform. It was clearly intended to work. Why didn't it?
Gray Cortright Thomas
Franklin W. Olin College of Engineering
Engineering: Robotics
Class of 2012
Needham, MA
Gray Cortright Thomas
Franklin W. Olin College of Engineering
Engineering: Robotics
Class of 2012
Needham, MA
Attachments:
gtlog2010-07-06-18-24-00.txt ‏7 KB

So I did as Donovan suggested, and this worked for the code example which I posted. But when I started trying to put more of the bundle by names back in this solution stopped working. I then went on to solve a seemingly unrelated problem with the version that had compiled using only anonymous bundle: it had been unable to run some while loops that were in subvis. When I took the code from these subvis and put the loops on the back panel of the main vi, to my utter horror, they began to function again in the compile (running on the hardware). I was afraid that it was subvis themselves that were causing this failure to run, but was relieved when my next test proved this not to be the case: I took that loop on the front panel where it worked and used edit>create subvi to put it in a subvi. It still worked. Thus I was left to search out the difference between the subvi that successfully compiled, and the subvi which compiled but didn't run--and this was that the failed subvi was part of a library. I placed the new, working, subvi in the same library and the code once again displayed the same symptoms as when it had been tested the first time: the loop would not run even once and the flow of control would never finish with the loop--it just delayed forever. This might be a problem with the way I had used the libraries, but I think everything within them was public. My guess now it that the Libraries don't behave the same way they do on the FPGA as they do on the FPGA simulator, and this is why the vis seemed to work when I simulated them. So... I took all the vis, typedefs, and globals out of the libraries and into virtual folders of the same name and... Everything works! Even bundle by name!
The implementation of project libraries in the FPGA compiler may be suboptimal in some respects, but I probed only as deep as necessary to run my code.
And this code is in 7z format because my zip file did not meet the maximum file size requirements of the forum.
It is also very possible that I misunderstood the functioning of the libraries, and the FPGA simulator was blowing sunshine up my nose when it showed them working properly in simulation. Either way, it is probably worth looking into. This weekend I might try to find the simplest project file that shows these symptoms just to prove I'm not crazy.
Gray Cortright Thomas
Franklin W. Olin College of Engineering
Engineering: Robotics
Class of 2012
Needham, MA

Similar Messages

  • TS3297 why I can't make a purchase on other itunes store I always get a message that "this account name can only make a purchase from the Qatari store" when I tried to change the store since the product is not available or only available in USA or Philipp

    why I can't make a purchase on other itunes store I always get a message that "this account name can only make a purchase from the Qatari store" when I tried to change the store since the product is not available or only available in USA or Philippines

    just call them...i bought my PB when it came out...but I had an issue recently and called them up and they helped me out....
    Sorry can't help you with any of the other problems...mine are working fine...

  • İs the information true, that ipad 3 user can change their ipad 3 vs. an ipad 4, if they bought the ipad 3 within 30 days ago??

    İs the information true, that ipad 3 user can change their ipad 3 vs. an ipad 4, if they bought the ipad 3 within 30 days ago??

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    I know of no anouncement from Apple. It is reported by cnet that one Apple Store in San Francisco said that was their policy. You should call the Apple Store in question to confirm that it will also follow that as a policy.

  • Is it true that new Facebook update can drain your data if you leave video On setting

    Let me make myself a little clearer. on your iphone under settings you can find the facebook settings page. if you click on settings under logo you will see chat box. video box, and notifications. I was told that the new update from Fcebook automatically sets itself up as On which will run all the time and eat up your celluar date. Is this true? so you must switch it to wi-fi only to save your data.

    Alphadog1 wrote:
    I heard that if you trade in your old ipod touch, you get a discount on buying a new one. Is that true?
    Yes, but not half off. If you bring your older iPod into your local Apple store, you'll get a 10% discount towards the purchase of a newer model.
    B-rock

  • Is there any limit in letters that a view name can be

    Hi!
    When creating name, is there any limits. Can the name be 16 letters or more?

    the limit for view name is not 16, I have a view that is 22 long.. I found out that the problem was not the view name, but a field

  • +d flag can cause C++ compilation failure in 12.4 beta refresh

    I was using the July refresh of Solaris Studio 12.4 beta to compile cppunit 1.13.2 and came across a file that fails to compile when the +d flag is used on the C++ compiler.
    The file is XmlOutputter.cpp.  I have put a slightly modified version of the pre-processed source code for this on pastebin here: http://pastebin.com/9gHkYXnX - save it to XmlOutputter.pre.cpp.  (Alternatively you can get the full source code for cppunit 1.13.2 here: http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz )
    The first weird thing is that when compiling the original pre-processed file like this:
    CC -mt -std=c++11 -m64  -O4 -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    I got the error:
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/include/CC/gnu/builtins.h", line 248: Error: Multiple declaration for __sun_va_list.
    1 Error(s) detected.
    which I didn't get when compiling the original un-pre-processed file.  I worked around that by commenting out lines 6-11 in the pre-processed file.  This is what is on pastebin, so if you want to look at this first problem then uncomment lines 6-11.  However, I'm not particularly worried about this as I don't generally have a need to compile pre-processed source code.
    The difference I wanted to report was that if you compile the pre-processed file (exactly as it is on pastebin with lines 6-11 commented out) using:
    CC -mt -std=c++11 -m64  -O4 -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    then everything is fine.  However, if you compile it using:
    CC -mt -std=c++11 -m64  -O4 +d -c -o XmlOutputter.lo XmlOutputter.pre.cpp
    then you get this error:
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1088: Error: Cannot use unknown type to initialize CppUnit::TestFailure*.
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1075:     Where: While instantiating "std::pair<CppUnit::Test*const, CppUnit::TestFailure*>::pair<CppUnit::Test*const&, 0>(std::tuple<CppUnit::Test*const&>&, std::tuple<>&, std::_Index_tuple<0>, std::_Index_tuple<>)".
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/tuple", line 1075:     Where: Instantiated from std::_Rb_tree<CppUnit::Test*, std::pair<CppUnit::Test*const, CppUnit::TestFailure*>, std::_Select1st<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>, std::less<CppUnit::Test*>, std::allocator<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>>::_M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<CppUnit::Test*const&>, std::tuple<>>(std::_Rb_tree_const_iterator<std::pair<CppUnit::Test*const, CppUnit::TestFailure*>>, const std::piecewise_construct_t&, std::tuple<CppUnit::Test*const&>&&, std::tuple<>&&).
    "/opt/SolarisStudio12.4-beta_jul14-solaris-x86/lib/compilers/CC-gcc/include/c++/4.8.2/bits/stl_map.h", line 467:     Where: Instantiated from non-template code.
    1 Error(s) detected.
    Also, the only reason I was using the +d flag at all was to work around the problem reported here: Re: >> Assertion:   (../lnk/foldconst.cc, line 230) (Studio 12.4 Beta, -std=c++11)  I assume that's now fixed, so there is no need for me to use +d, but it would be interesting to know why +d causes an error when compiling XmlOutputter.cpp.
    I'm working on Oracle Solaris 10 1/13 s10x_u11wos_24a X86

    > Error: Multiple declaration for __sun_va_list.
    Preprocessed files do not always behave the same as original ones.
    But here you hit a bug which is present on x86-64 platform (Solaris/Linux) only.
    You can just delete definition of __sun_va_list type at the start of preprocessed file and it should go fine.
    > I assume that's now fixed, so there is no need for me to use +d
    Yes, it is fixed in July Beta.
    > Error: Cannot use unknown type to initialize CppUnit::TestFailure*.
    Bug 19159587 filed (C++11: errors on a simple <map> usage).
    Thanks for reporting a problem.

  • Is it true on Mavericks the Calendar can no longer be synced when connecting directly?

    Recently I noticed that since upgrading to Mavericks, my iPhone Calendar is no longer synced with my Computers Calendar.   I found some hint on the support site that this is a "feature"?  Is this true that the iPhone Calendar can no longer be synced when the iPhone is connected with my computer directly via USB or via WiFi?

    tosmyrd wrote:
    This is what I found too. So this means there is no actual possibility to Sync Calendars without using iCloud?
    I don't think the article states that as you describe it here.  I think instead the article says that iTunes is no longer the sync agent for your calendar.  iCloud is one of the possible alternate methods (and happens to be the one I use).  But there are very likely other ways to perform the sync, such as Outlook, Google, etc.  It all depends on the specific calendar account you use.

  • Is it true that Mac's can get a genuine Virus? I've heard they can't.

    Is it true that Mac's can get a genuine Virus? I've heard they can't.

    OS X already includes everything it needs to protect itself from viruses and malware. Keep it updated with software updates from Apple.
    A much better question is "how should I protect my Mac":
    Never install any product that claims to "speed up", "clean up", "optimize", or "accelerate" your Mac. Without exception, they will do the opposite.
    Never install pirated or "cracked" software, software obtained from dubious websites, or other questionable sources. Illegally obtained software is almost certain to contain malware.
    Don’t supply your password in response to a popup window requesting it, unless you know what it is and the reason your credentials are required.
    Don’t open email attachments from email addresses that you do not recognize, or click links contained in an email:
    Most of these are scams that direct you to fraudulent sites that attempt to convince you to disclose personal information.
    Such "phishing" attempts are the 21st century equivalent of a social exploit that has existed since the dawn of civilization. Don’t fall for it.
    Apple will never ask you to reveal personal information in an email. If you receive an unexpected email from Apple saying your account will be closed unless you take immediate action, just ignore it. If your iTunes or App Store account becomes disabled for valid reasons, you will know when you try to buy something or log in to this support site, and are unable to.
    Don’t install browser extensions unless you understand their purpose. Go to the Safari menu > Preferences > Extensions. If you see any extensions that you do not recognize or understand, simply click the Uninstall button and they will be gone.
    Don’t install Java unless you are certain that you need it:
    Java, a non-Apple product, is a potential vector for malware. If you are required to use Java, be mindful of that possibility.
    Disable Java in Safari > Preferences > Security.
    Despite its name JavaScript is unrelated to Java. No malware can infect your Mac through JavaScript. It’s OK to leave it enabled.
    Block browser popups: Safari menu > Preferences > Security > and check "Block popup windows":
    Popup windows are useful and required for some websites, but popups have devolved to become a common means to deliver targeted advertising that you probably do not want.
    Popups themselves cannot infect your Mac, but many contain resource-hungry code that will slow down Internet browsing.
    If you ever see a popup indicating it detected registry errors, that your Mac is infected with some ick, or that you won some prize, it is 100% fraudulent. Ignore it.
    Ignore hyperventilating popular media outlets that thrive by promoting fear and discord with entertainment products arrogantly presented as "news". Learn what real threats actually exist and how to arm yourself against them:
    The most serious threat to your data security is phishing. To date, most of these attempts have been pathetic and are easily recognized, but that is likely to change in the future as criminals become more clever.
    OS X viruses do not exist, but intentionally malicious or poorly written code, created by either nefarious or inept individuals, is nothing new.
    Never install something without first knowing what it is, what it does, how it works, and how to get rid of it when you don’t want it any more.
    If you elect to use "anti-virus" software, familiarize yourself with its limitations and potential to cause adverse effects, and apply the principle immediately preceding this one.
    Most such utilities will only slow down and destabilize your Mac while they look for viruses that do not exist, conveying no benefit whatsoever - other than to make you "feel good" about security, when you should actually be exercising sound judgement, derived from accurate knowledge, based on verifiable facts.
    Do install updates from Apple as they become available. No one knows more about Macs and how to protect them than the company that builds them.
    Summary: Use common sense and caution when you use your Mac, just like you would in any social context. There is no product, utility, or magic talisman that can protect you from all the evils of mankind.

  • I want to buy an Apple TV device but I need to be sure of its benefits. I have contracted a Satellite TV. Is it true that if I connect Apple TV to system, I can watch TV through IPad wherever by using wireless and App Remote

    I want to buy an Apple TV device but I need to be sure of its benefits. I have contracted a Satellite TV. Is it true that if I connect Apple TV to system, I can watch TV in my IPad wherever by using wireless and App Remote??

    If you have an iPad 2 you can wirelessly mirror it to your TV via the ATV device. If you have an iPad 1 then you can use airplay but not all apps are enabled to push video, as the developer needs to do this.
    You can also view all local content from iTunes or your iPad, pushed via airplay/home-sharing.
    The other services available are iTunes movie rentals, TV shows (past purchases viewable from the cloud), Photo Stream, Netflix, Vimeo, Podcasts, Youtube, Sports etc.
    More info
    http://www.apple.com/appletv/

  • I lost my iPhone 4S yesterday and it is showing as offline on fmip. Is it true that Apple can still track it even though it's off

    I lost my iPhone 4S yesterday and it is showing as offline on fmip. Is it true that Apple can still track it even though it's off

    When iPad is off and not connected to internet, you'll will not be able to track, lock or wipe the iPad.
    Apple do not track iPad.

  • When I try to sync my ipod it says it cannot be synced because "a duplicate file name was specified". What does that mean and how can I fix it??

    When I try to sync my ipod it says it cannot be synced because "a duplicate file name was specified". What does that mean and how can I fix it??

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • I need a Microsoft document that says "sqlservr.exe" can register setspn (Service Principal Name)

    On all of my SQL Server instances, I can find SQL server error logs that have the same 3 entries below, so while I already know it can, I need a Microsoft document that says "sqlservr.exe" can so I can convince the network guys to grant the service
    account for SQL "Write servicePrincipalName: Allow" in AD.
    63           2014-06-26 20:24:02.980                Server   The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/DFW-MSSQLDW.PathologyPartners.intranet:1433
    ] for the SQL Server service. Windows return code: 0x2098, state: 20. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication
    is required by authentication policies and if the SPN has not been manually registered.
    61           2014-06-26 20:24:02.970                Server   The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/DFW-MSSQLDW.PathologyPartners.intranet:DW
    ] for the SQL Server service. Windows return code: 0x2098, state: 20. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication
    is required by authentication policies and if the SPN has not been manually registered.
    38           2014-06-26 20:24:02.840                Server   SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not
    be possible until a SPN is registered for the SQL Server service. This is an informational message. No user action is required.
    Duane Lawrence

    Refer the below article
    http://blogs.msdn.com/b/psssql/archive/2010/03/09/what-spn-do-i-use-and-how-does-it-get-there.aspx
    Automatic SPN Registration
    When an instance of the SQL Server Database Engine starts, SQL Server tries to register the SPN for the SQL Server service. When the instance is stopped, SQL Server tries to unregister the SPN. For a TCP/IP connection the SPN is registered in the format MSSQLSvc/<FQDN>:<tcpport>.Both
    named instances and the default instance are registered as MSSQLSvc, relying on the <tcpport> value to differentiate the instances.
    --Prashanth

  • How can i make it so that on messages i can see who is online wihtout having to search their name?

    how can i make it so that on messages i can see who is online without having to search their name? When i had ichat i didnt have to search their name... i culd see who was online autimatically.

    Firefox, the web browser, doesn't make any decisions about what mail should be considered spam or what senders should be blocked. What email software or webmail site are you using that is rejecting the messages?
    If it's a common site like Yahoo! mail, Gmail, Windows Live Hotmail/Outlook.com, then perhaps a volunteer familiar with their specific settings can help.
    If it's Thunderbird, the support site is over here: [https://support.mozillamessaging.com/].
    If your security/privacy software filters your mail, you will want to check its settings as well.

  • Is it true that iphone 3gs can only be sync to one computer?

    hi,iam trying to

    It is true that all iPhones can only sync to one computer. Syncing to more than one computer can be accomodated somewhat, as in one for calendar and contacts and one for music, but it can cause problems.

  • HT201328 I do travel to Europe several day a year. It is true that I can use the Iphone 5 in other country with no trouble ??

    I do travel to Europe several day a year. It is true that I can use the Iphone 5 in other country with no trouble ??

    If your phone is locked to AT&T, you can certainly travel & use your phone, but you'll have to get AT&T to provision your account for International use...select the country/countries & plan. This is very expensive, as the roaming partners set the rates & you generally pay through the nose.
    And no, you can't use a local sim if your phone is locked to AT&T.

Maybe you are looking for