LabVIEW executable not runnable when using asynchronous call

Hello,
my project works fine from source, but fails to launch as an executable. I was able to track it down to the async call of an VI.
So far I was able to solve the problem by using a dummy queue and loop to be able to start the VI parallel to the rest of the code.
I tried:
1. mass recompile
2. build source distribution, remove existing build, create new one
3. allways include all callback VIs and all VIs called by reference through server
Still no success. I tried to lurk the forum for answers, but only found suggestion I already fail-tried. Please help
Solved!
Go to Solution.

ChazMasterFlash wrote:
My "conjecture" is that LabView does not handle references as rigourously as most computer languages.
I'm not entirely sure what you mean by that, but if I understand your sentiment, that's quite untrue. If anything, it's the opposite, as LV is quite strict in what it allows and how it handles things.
Also, regardless of the use (or lack of use) of locals to pass references around, writing code like that should not cause the issue described in this thread. At most, it should generate run-time errors. If you have something reproducible which causes this (particularly if you already found out how to handle it), I would suggest contacting NI support and giving them the code, so that they can find it and fix what needs fixing. Since your description was a vague "how I created the reference controls", I can't really say more than that.
ChazMasterFlash wrote:
Gawd I wish NI gave more direct use of pointers (which is essentially what a reference is). if I had access to address of the data, I think troubleshooting would be made much easier.
Am I alone here?
LV doesn't have pointers and probably never will, as that goes against the basic direction NI has gone with LV, which is to abstract and automatically handle all memory access. I don't think pointers would help you either, as they wouldn't mesh well with the way the rest of the language works. What you do have are various types of references, but references are NOT pointers. A pointers is simply an address of data in memory, without any additional data. A LV reference (which is different from a reference in C) is simply a "pointer" to a specific resource (control, VI, queue, event, etc.) which you can use with a specific API, and that's the key difference - any LV reference can only be used with a specific API, as opposed to a pointer, which is nothing more than an address.
The only real use case for pointers which I can think of in LV is to minimize data copies, but LV already tries to minimize data copies in different kinds of ways, including DVRs, which are not dissimilar to pointers (although they are NOT pointers). My guess would be that if you have difficulty with troubleshooting, then your code looks like C code written in LV, which can indeed be difficult to debug (and the locals comments also hints toward that direction).
Try to take over the world!

Similar Messages

  • Siri does not work when used for calling a contact function

    Siri does not work when used for calling a contact function

    Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
    If it continues try to restore it.

  • The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    The volume up and down controls on my wireless keyboard show a no entry sign and do not respond when used...please help?

    If you want to get a little more "exotic" you can try remapping the function keys.  I did a little google searching and the hits that looked promising are,
    Mapping volume and eject keys to 3rd-party keyboard Other Hardware
    Spark
    Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, control iTunes, and more...
    You can also export and import your Hot Keys library, or save it in HTML format to print it.
    Spark is free, so use it without moderation!

  • Breadcrumb in BSP is not working when application is called inside Portal.

    Dear All,
                We have implemented SAP Learning Solution by integrating it with SAP EP 7.0.
    We called the BSP Application HCM_LEARNING inside portal  using BSP iView template.
    The problem we are facing is, the breadcrumbs in the BSP application "HCM_LEARNING"  is working fine when it is called as a standalone application. But the same is not working when it is called inside portal framework page.
    Enterprise Portal breadcrumbs are working fine.
    How could we resolve this.?
    Regards,
    Eben Joyson.

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • LabView (8.2) hangs when using I/O operations with traditiona​l NI-DAQ 7.4.4 after aborting LabView program

    Hello!
    We have the following problem:
    LabView (8.2) hangs when using I/O operations with traditional NI-DAQ 7.4.4 after aborting LabView program
    We freshly installed LabView 8.2 (2006) and NI-DAQ 7.4.4 on a PC running Windows XP (Service Pack 3). We built a larger vi that remotely controls a traditional NI-DAQ card (AT-AO-10) on a second PC via NI-VISA 5.0.3. We were successfully running this program until a power failure caused the first computer to crash. After this crash we were unable to start the program again: LabView freezes while loading the vi. LabView itself can be started but freezes when adding I/O operations from the NI-DAQ palette to a block diagram.
    We have tried to re-install NI-DAQ 7.4.4, but it did not help. We then re-installed all NI software, but still no improvement. In the end we decided to reinstall ALL software, first Windows XP, then LabView and finally NI-DAQ 7.4.4. This worked. However, after a few days of running the program we had to abort LabView via Windows Task manager and afterward we again experienced the same problem as before: LabView freezes when loading the program.
    Obviously, we cannot afford to reinstall Windows every time. Are there any known Windows XP / NI-DAQ issues that might cause the freezing of LabView? We would be very grateful for any idea.
    Best regards,
    Matthias

    Hello Sprice,
    Browse the shipping examples according to “Directory Structure” and then select
    DAQ to find the Traditional DAQ examples. 
    There a lot of examples that are written for counters (Counter >>
    daq-stc.llb >> Count Edges (DAQ-STC).vi). 
    What kind of signals are your photons creating?  Are they TTL compatible at a certain
    frequency?  You don’t care about overwriting
    your buffer?
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • How to transfer range parameter from vb when using bapi calling

    Hi,everyone.how to transfer range parameter from vb when using BAPI calling?

    Did you get the solution to your problem?  Can you please share it with me. I have a similar problem. I have a VB program that calls RFC function. It works with a single parameter but not with a range of parameters. If you have the solution, could you please share sample codes with me? Thank you so much.

  • Iphone 4 the mike does not work when making a call.  it does work with speaker phone and face time

    Just activated new Iphone 4 and the mike does not work when making a call.  it does work with speaker phone and face time. Any known fixes?

    My wife's iphone 4 also has your same no ring problem as does my iphone 5 just less often.  I called her iphone 4 at home from where I work 20 miles away on my iphone 5.  With her phone in 3G mode ONE call went through and 9 went to voice mail in 10 tries.  This is a 10% sucess rate!!  I also could listen in real time from the wired work phone and the wired home phone.  She turned off 3G mode and it went to "O" mode at  the top left of the screen after the ATT.  In this mode it rang on the first ring tone 5 times out of 5 tries which is 100% of the time.  I have learned that the calling party will hear up to 4 ring tones when placing a call on the ATT network.  If the ring tone changes volume slightly before the 4th ring then and only then will the cell phone start to ring.  If the ring tone does not change after the 4th ring you get voice mail.  If the calling party does not leave a voice message there is never a missed call displayed on the iphone.  If the calling party does leave a voice message a few minutes later the iphone dings for arriving voice mail but still no missed call indication. 
    This appears to be related to the time of day and the ATT tower that the receiving caller is using.  Tried other towers and it works in 3G mode 10 times out of 10 tries.  Apple replaced the first iphone 4 with a new phone, no improvement.  ATT replaced the SIM card and no improvement.  ATT so far is clue less.  This has been going on every since we got the new iphones which is 4 months.  The ATT web site also describes this same problem from several years ago.  Has anyone got better information?
    Thanks

  • ASK : Skype Force Close when using Voice Call

    dear all
    how to fix skype force close when using voice call.?
    please help me.
    i have tried reinstall skype.
    thx before.

    From the top of my head, install Thinkpad Communications Utility
    and within it is an option called "Optimize my microphone for". Try
    switching it to "Normal use" instead "Only my voice". Also, in Windows
    Control Panel there should be an icon for "Realtek HD Sound Effect
    Manager". Fire it up and goto "Microphone" and try switching between
    the two options. Maybe that'll help too, but am not sure.
    T530: i7-3630QM, 4 GB DDR3-1600, NVS 5400M, 2x 500GB 7200RPM, 9-cell, HD+ 1600x900, Backlit US, WinXP Pro
    L430: i3-2370M, 4 GB DDR3-1600, HD 3000, 320GB 7200RPM, 6-cell, HD 1366 x 768, Win7 Home Premium 64-bit

  • Skype keeps quitting when using Skype call to another computer while using

    This does not happen when using to pc's but when I use my Macbook Pro to call back home to my Desktop PC in Taiwan it never fails to disconnect after a few minutes of talk. Anyone else having these problems with Skype quitting when on a VOIP cal from computer to computer. My Skype is the latest verison.

    Hi there stylineexpat,
    I have the exact same issue here with my MBP & 10.5.x.. About 10.. 15 mins or less into the call my mbp drops the call..
    Interestingly enough, my MacPro running 10.4.11 NEVER drops a call to the same people and the same network. I mean .. never drops em.. I have been using Skype for roughly 3 years and haven't had issue until this machine and another MBP I had that was running 10.5 as well.
    I agree, It is a pain.
    I'll look to the Skype user forums too.
    Cheers, ML

  • Errors when using the Call statement for MS SQL Server

    I've tried executing a Stored Procedure using the Call method of Portal 2 Go. But it gets an internal error b/c of it. Any Ideas why and how to resolve?

    Hello,
    Which version of SAP BOBJ XI3.1 you are using?
    What I am aware is BEGIN_SQL was very well working for SQLServer2005 in case of ODBC connection.
    Can you try one thing for SQLServer2008 have a Native driver installed on your client machine and use ODBC connection rather than OLEDB connection.
    If that works fine, its good
    Otherwise you can raise a message for resolving this problem with the support team.
    Thanks,
    Vivek

  • How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic? Is this possible?

    How can i set songs within a playlist, or an entire playlist, so that they are not included when using the shuffle function on IPOD Classic?
    Is this possible?

    You can set any song to Skip when shuffling.
    In your iTunes Library, highlight the song and right-click/Get Info. On the Options tab is the Skip when shuffling box. Select that and then Sync the iPod with your Library.

  • Images on Facebook do not appear when using different web browsers

    Images on Facebook do not appear when using Safari on my Macbook Pro (I've tried Google Chrome too with the same result).  This makes me think it's a setting within OS Mavericks that I'm missing.  I have not seen this issue on any other computers.  This only occurs on my, and others' profile pictures on my profile page and on the news feed, not photos that are posted in albums or on walls.  and yes, i have images enabled in Safari.
    In safari the images don't appear, and in their place is a small blue "?" square >>.
    In Chrome it appears as a broken image link >>
    Has anyone encountered this?  Is there a fix?  It is very annoying.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    Create a group and send mail
    http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
    http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
    Best.

  • Module borders not displaying when using Aggregator

    I am using Captivate 4.  I created a TOC for both modules in a project. Then I created an Aggregator to connect them and display both TOCs.
    The issue I am havving is that the individual modules have borders on all 4 sides, yet they do not display when using the aggregator. How do I correct this?
    Thank you.

    Lenny,
    I apologize for not having an answer to your question, but I'm envious that you've successfully configured mod_jk. I've read several different versions of how to configure this, but nothing has worked so far. I wonder if you could either point me to some correct instructions on how to integrate Apache and Tomcat so I might try to duplicate your success.
    Thanks in advance,
    Vince

  • U/tube videos open when using Safari but will not open when using Firefox.

    u/tube videos open fine when using Safari but will not open when using Firefox. With Firefox I get the unhighlighted Quicktime symbol with a question mark in the center. WHY?? Any help appreciated --- Toroya

    Hmmmm, strange you view YouTube in Safari & not FF. Which version of FF are you using?
    Try the following:
    Repair permissions & restart.
    Make sure you have the latest versions of Adobe Flash Player Software
    QuickTime Preferences > Advanced > MIME Stettings > Miscellaneous.
    Deactivate the "Flash Media" option.

Maybe you are looking for

  • Need to convert a SAP Script to Smart Form

    Hello, I need to convert a SAP script to a Smart form. I am aware of converting it but have a question abt print program? Can the print program which is currently attached to the SAP script supprot the Smart form? Could some one let me know if i can

  • PO line item material can not be changed. SAP gives message 06387.

    Hello, When we create purchase orders with reference to Quotations, SAP is not letting us change the PO part number after the PO has been created.  SAP generates message 06387 saying that 'Agreement item contains a different material'. Because we cre

  • Change in SELECT by splitting into two

    Hi Gurus, I am splitting below selection into two as follows. SELECT * FROM z_rider_hist INTO TABLE gt_rider_rpt      FOR ALL ENTRIES IN gt_revsed_docs      WHERE ( /bic/zopbel = gt_revsed_docs-/bic/zstbel2 OR              clr_doc_no = gt_revsed_docs

  • Transfer iTunes data from new pc to hdd

    I have already transfer my iTunes data from a Dell pc to HDD and I would like to transfer my iTunes data from a new Sony pc to the same HDD. Is it possible?

  • Workflow not found error message

    Hi all, While creating P.O ,we are getting error message that workflow not found for some Product categories. However, its working fine for some other product categories. Any suggestion please. Points will be awarded for any usefull infromation. Thnx