How do I perform an Open VI Ref for a VI in my EXE?

Good evening,
I'm building a LV8.5 VI into an EXE using application builder.  I am trying to get a reference to a SubVI using Open VI Reference.  When I wire the subvi name as a string, I get an Error 1004 failure and the dialog says "the VI is not in memory".
I also tried the Open VI Reference by wiring a path that includes the EXE name prepended  C:\MyApp\MyEXE.exe\MyVI.vi
When I tried this I got an Error 7 for File not Found
Does anyone know the proper way to include a SubVI in an EXE to be accessed later with Open VI Reference?  I'm not certain if my VI that I'm loading dynamically was actually included in my EXE or if I'm providing the correct location for Open VI Reference.
Any advice or examples is appreciated.  I'm using LV8.5 with the application builder.
Thanks,
Chris Norris
Embla Systems, Inc.

This definately sounds like you have not placed your vi into your executable. When you dynamically call a vi, it is not included automatically into the exe. You have to add it as a support file. There is a window in the exe builder where at the top left you select your "top level vi" then below that your "support vis" Make sure that the vi you are trying to call is included in the support vi list.
If you are always calling the same vi, even multiple times, there is a way to get the path without as much bother. Create a static reference to your vi. It is a little icon into which you place your vi on the diagram. Pull the reference from this, then use the properties vi to get the path. Open your vi reference using this path. Do not use the static reference to do things to the vi, as this can cause problems for you, especially if close the calling vi.
Good luck,
CyberTazer
Software Systems Engineer

Similar Messages

  • How do you perform a full system restore for the hp officejet 6500

    Basically, after having this printer for 1 year, the wireless printing started to not work correctly. After buying a laptop and trying to configure the printer with it, the printer started to have problems with wireless printing. So how do you perform a FULL factory reset? I already tried hitting #9 while the printer was turning on but it only seemed to partially reset the system. It did not turn it back to the day i bought the printer.

    OK, so it turns out it was the 'only show synced content' tick box.
    Wow, how embarrassed do I feel now? I never even paid any attention to that tick box all these years.
    Interestingly, over the last couple of days I had my ATV at v1.1 again, and happily deleted all my content (except for 1 album which I deliberately left on). A few days went past, and I checked daily - and there was only ever the 1 album.
    I then upgraded to ATV v3.0.1 again today and that's when my problems came back - all my content magically reappeared on the Apple TV (or so I thought).
    I'm thinking maybe that the 'only show synced content' is a recent 3.0 feature? And if so, maybe that's why I never noticed it before and that's why it was confusing me? Or maybe it's been there all these years (in which case I'll carry on being embarrassed).
    Anyway, a huge thanks to everyone who responded.
    Brad

  • HOW TO STOP you are opening this program for the first time

    I continue to get the warning "you are opening this program for the first time".  I don't want that warning to ever appear again for any program.  How to permanently get this warning to never again appear?
    Best regards,
    Steve Schulte
    Wednesday 21 November 2012

    Thomas,
    The reason I don't want these warnings (especially for programs that I have had on my Mac for years!) is because I now use ecamm's "Printopia" to send items from my iPad3 running iOS 6.0.1 to my MacBook Pro-13 (mid-2010) running Mountain Lion 10.8.2 -- and in order to do this:
    1.  Both my iPad and Mac have to be on the same WiFi network.
    2.  The Mac has to be awake, cannot be in the "sleep" mode
    OK but in order to wake my Mac, I've found that using the app "Remote" on my iPad to open iTunes AND PLAY A SONG will "waken" my Mac*.
    So now, for example, I send a .jpg file to my Mac.  I have it set so that GraphicConverter opens when a .jpg file is to be opened.  OK but if this warning appears (and even though I have had GraphicConverter on the Mac since the beginning of time…) I sometimes (like today) get this warning.  Of course I am not at my Mac and yet when I eventually go to my Mac-- there is that dialog box sitting there and until I click OK the photo doesn't open (and on my iPad I don't get a confirmation that it has been sent, because it hasn't until I click OK on the Mac).
    This could happen for other types of files, too - text files or Word documents etc.
    It seems to happen when I UPDATE a program, like when GC went from 8.3 to 8.3.1 for example.
    Thanks for any additional comments.
    *Perhaps there is a better / faster / easier way to "waken" my Mac from my iPad?  This is the only way I have found so far…

  • How can i get the open sale orders for given material no and plant

    Hi,
    I have to retrieve the open sale orders depending on the material number and plant.
    For only open sale orders at header level and item level.
    I want to use VBUK-GBSTK to find open sale order at header level and
                          VBUP-GBSTA at item level.
    Can any one suggest me the best logic as performance is concerned?           
    Thanks,
    Kumar.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How to Remove items without opening new dispute for FHA Mortgage approval

    Hello, these forums are very helpful. How do I remove items from the bureaus without filing a dispute? For example, I have several old accounts that are expired now. On 2 of them, I tried calling the creditors directly and they were so old that they said they had no information. I can't file a "dispute" with the bureaus because as you know, you can't close on a mortgage with an open dispute and I don't have time to wait 30 days. I can't quite go to the creditor when they're like "it's so old we have no information." The other issue I have is there are some blatant errors. For example, student loans errors. I have letters from my student loan company saying they've corrected with the credit bureaus -- but then they show up. What should I do? Again, I can't open disputes because I can't have an open dispute and close on a loan. LVNV put something on my credit report for a dental bill I paid in cash. It was years ago. I don't know how to go about proving I paid it. Last but not least I have a charge-off from Bank of America that's reaching the 7 year mark in 2 months. Is B o A good about removing after it hits that mark? Should I even try a goodwill ask of them to remove it early or at least update it to a 0 balance? (They didn't sell it so it still shows a balance) Or anything? I'd be afraid of offering any type of payment for fear they'd open the loan and re-age it since it's going to fall off in a month. All help appreciated

    It wont be BofA that removes it at 7 years, it will be the credit rteporting agencies. You can ask for an early exclusion (I had good success with TU and EX and didn't have anything on EQ to try on.) Call and ask for EARLY EXCLUSION. TU may take a few tries before you get someone that knows what you are talking about. EX was a piece of cake. You will need a report number to get thru on EX phone system (the last copy of your free report from annual credit report will have a 10 digit number at the top). If the others are old you can try the same thing, otherwise you may have to contact the creditor and get them to email you letters stating it should be updated and get those in the hands of the

  • How to Manually Perform software Updates and tips for making Macbook better

    Hi. So recently my internet was really slow. I figured the problem out and now is working well. Although the youtube site does not allow me to view entire videos.
    Well...i was told that since my macbook is turned off at night, it cant perform software updates between 3am-6am...so how can i do these manually? or how can i change the update time to sometime in the evening?
    I heard these software updates are suppose to make the macbook run and perform better. what other things can i do to accomplish that?
    (Laymans terms, im new to the mac world)

    Select Software Update from the Apple menu. Or download the standalone updaters from Apple's download site - http://www.apple.com/support/downloads/. Or simply set the Check for Updates option in Software Update to whatever frequency you prefer. SU will notify you when updates are available.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • How can I male Firefox open YouTube app for youtube pages and videos?

    I tried to watch a video on youtube page, but I got a message saying that video wasn't available for mobile devices. I really wanted to watch that video, so I tried exactly the same page with android's browser... guess what? the browser sent the link to youtube app and I watched the video with no problem.
    So, how can I make Firefox call youtube app instead of lie to me?
    An example: http://m.youtube.com/watch?v=2zI4Hl02898&feature=youtu.be&desktop_uri=%2Fwatch%3Fv%3D2zI4Hl02898%26feature%3Dyoutu.be

    I just realize that it happens to vimeo too, except for the fact that there's no android little icon... and I have no vimeo app installed in my device (and I don't intend to install). And guess what (again)? Android's browser plays vimeo videos with no problem! I don't know if it calls android's video player (since it starts fullscreen right when I touch play button) or whatever, the fact is that Firefox keeps lying to me. it's disappointing... =/

  • OLAP DML: How to specify multidimensional QDR(qualified data ref) for Model

    Hello,
    I'm discovering Oracle OLAP DML and having a hard time understanding how to formulate multidimensional expressions in models.
    In a setting with a solution variable (eg. result), I can do:
    LIMIT account TO sales.internal
    result = result(account '3xxx', consolidation 'internal')
    but what to do within a model?
    DIMENSION account consolidation
    sales.internal = ??? (QDR to limit account to '3xxx' and consolidation to 'internal')
    No examples in the OLAP DML doc use multidimensional QDRs in models, and I get a syntax error trying with (account '3xxx', consolidation 'internal').
    Any suggestions?
    Regards, Hans Henrik

    It should look something like this :
    MODEL
    result(account 'sales.internal') = result(account '3xxx' consolidation 'internal')
    END
    No dimension statement is needed for variable equation.

  • HOW TO UPDATE *BA* IN OPENING BALANCE

    Dear experts
    31/04/2011 - BA was not applicable  all opening entries have no BA .only one company code  "TA,BS,PL" was taken on company code level
    Because of expansion we have implement BA from  01/04/2011 but it was not mandatory in truncation till 30/062011 .  Hense based on cost center  we will update business area in truncation enter during 01/04/2011 till 30/062011 wherever the cost center is empty we will update BA
    we have created new cost center and link to BA  because old cost center were not changeable for updating BA
        MY QUESTION                                HOW TO UPDATE BA IN OPENING BALANCE

    Dear Sudevan
    For executing Balance as per Business area,BA must be linked with All transaction
    If BA assigned in Cost  center master records so Cost center must be assign in Transaction.That way to find Account balance as per Business area.
    Go To T.code OBY6 and tick mark on Balance sheet as per Business area.
    Regards
    Raheem

  • How to increase ulimit max open files, permanently?

    I have a shell script that needs to be able to receive hundreds of incoming socket connections. The default max of open files is 256. Strangely, if I run:
    sudo ulimit -n 800
    ...ulimit -a still shows just 256 max open files. If I become root (sudo su), then I can increase the max files to 800, but that setting only remains while I'm root user.
    Anyone know how to increase the max open files setting for my regular user name, as I run scripts from the Terminal bash shell?
    ...Rene

    Wow, within 2 minutes, I realized what I had to do, so in case anyone else wonders the same, here's the solutions:
    Just edit the .bash_profile file in your home directory (create it if it's not already there), and add the line:
    ulimit -n 1024
    Now, whenever you start terminal, that process will be able to open up to 1024 files or socket connections.
    ...Rene

  • OPEN DATASET FILENAME FOR OUTPUT.

    HI,
    While doing unicode enable inECC6.0 FOLLOWING ERROR IS COMING.hOW IT WILL BE RESOLVED.
    oPEN DATASET physname FOR OUTPUT.

    Hello,
    For opendataset u need to add the below coding.
    open dataset 'filename' for output in text mode encoding default. ( Based on ur filetype)
                                                            binary mode encoding default
    if it not a unicode system then non unicoding must be added.
    N.B
    In the Transfer stmt the data types apart from CNDT will result dump.
    So please ensure that all are of CNDT types.
    With Regards,
    Sumodh.P

  • How to bring in the Open Sales Orders while performing Sales Order Conv

    Hi,
    Could you give some suggestions on the below:
    How to bring in the Open Sales Orders while performing Sales Order Conversion in R12.
    Thanks
    Pravin

    See http://ramugvs.wordpress.com/2011/08/27/how-to-stage-and-import-an-order-using-order-import-api-apps-wms-ebiz-11i-r12/
    Sandeep Gandhi

  • How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?

    How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?
    Like others, I have recently upgraded my MacBook Pro to the next generation and migrated all my information from old to new. Everything works seamlessly EXCEPT Acrobat. Photoshop, Indesign, Bridge and Lightroom all seem functional. Acrobat hangs with an error message "Suite Product Activation Needed. Acrobat was installed as part of a suite. To enable Acrobat, please start another element of the suite (such as Photoshop)." Needless to say, starting another element of the suite has NO impact on Acrobat.
    This has to be a common problem. Now that Apple has made it really easy to migrate information from old to new machines, it has to come up all the time. What surprises me greatly is that I can't find any coherent answer in these forums.
    So how do I get Acrobat running again?

    Hi Anubha,
    I do not understand what you said below.
    I am running Adobe Acrobat Pro Version 9.5.5. I do not remember whether it came with Photoshop or InDesign.
    When I open Photoshop, it opens without my having to follow any instructions to activate the software. As a matter of fact, I cannot find my Photoshop serial number anywhere in the Photoshop program itself. I do know it from my profile at Adobe.com. Are you suggesting I deactivate Photoshop on the new computer and then reactivate it using my serial number? Will it reactivate?
    When you say
    "/Library/Application Support/Adobe" at the root level of the startup disk (not the Library folder inside a user's Home folder)
    what do you mean? I do not have a startup disk. I have the original installation disk but that version of Photoshop has been updated a few times.
    After staring at your instructions for a while, I realized that you might be talking about the Library/Application Support folders resident on my Macintosh HD, although why you called it a startup disk is unclear to me. IAC, I went into those folders and duly moved the three folders into a new folder I called “Acrob1” and restarted Adobe Acrobat 9 and got the following error message: “AMT Subsystem Failure  The licensing subsystem has failed catastrophically. You must reinstall of call customer support.” with a small (6).
    By undoing my actions I am back to the staus quo ante.
    Now what?
    Regards, Robert

  • How do I stop an Open Proxy

    I have a G5 server running OS X 10.4.8 hosting a couple of web sites.
    From evidence in my log files I appear to be running a “partial” Open Proxy and would like to know how to stop this.
    This is my setup:
    * Enable Proxy in unchecked (although Control Access to Proxy is checked). Note, until about 3 months ago this was checked by accident.
    * All sites have Performance Cache unchecked.
    * I have ports 80 (http), 443 (https) and 8080 (https) open (I need 8080 for a second digital certificate).
    * I'm running PHP and MySQL.
    I have tested for open proxy (via http://www.euirc.net/en/proxycheck.php) and it reports I’m not running a proxy.
    HOWEVER, if I check my web logs I can see successful accesses (200) from external IP addresses:
    xxx.xxx.xxx.xxx - - [03/Dec/2006:10:26:45 +0000] "GET http://www.yahoo.com/ HTTP/1.0" 200 90 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
    Fortunately, other accesses appear to get rejected with 404:
    xxx.xxx.xxx.xxx - - [03/Dec/2006:05:00:05 +0000] "GET http://www.peopower.com/server/Headers.shtml HTTP/1.1" 404 426 "http://www.yahoo.com" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511"
    xxx.xxx.xxx.xxx - - [03/Dec/2006:10:49:50 +0000] "POST http://toscontrol.com/CheckProxy.php HTTP/1.0" 404 406 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
    xxx.xxx.xxx.xxx - - [03/Dec/2006:10:51:33 +0000] "GET http://www.hide-my-ip.com/xprox.cgi?ip=74.52.29.146 HTTP/1.1" 404 417 "-" "Mozilla/5.0 (745222)"
    Plus, I’ve done a Google search on my IP address and it appears in various proxy forums !
    These are my questions:
    * Should I be worried (I think yes as I’m concerned they my hide behind my IP address, which could then become black-listed).
    * How do I close my open proxy ?
    * How can I be certain that I'm not running an open proxy ?
    Thanks in advance,
    john
    G5 Server   Mac OS X (10.4.8)   PHP, MySQL

    Thanks Roger for the reply.
    This is a real puzzle ! I wonder if these pages are still sitting in my cache left over from when I was (unintentionally) running an open proxy.
    I’ve just done a quick analysis of last night’s logs and, yet again, I have entries which reference off to other sites and return 200. For example, www.yahoo.com, www.sun.com, www.qq.com. plus some explicit IP address with port mumbers. There’s about 200 in total from about 20 IP address. From the timings they look like robots. Example,
    xxx.xxx.xxx.xxx - - [03/Dec/2006:20:29:02 +0000] "GET http://www.qq.com/ HTTP/1.0" 200 90 "-" "-"
    xxx.xxx.xxx.xxx - - [04/Dec/2006:16:50:33 +0000] "HEAD http://www.sun.com/ HTTP/1.1" 200 0 "-" "Mozilla/5.0 ( Windows; U; Windows 98; DigiExt )"
    xxx.xxx.xxx.xxx - - [04/Dec/2006:17:25:41 +0000] "GET http://xxx.xxx.xxx.xxx:46449/ HTTP/1.0" 200 90 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
    But equally, there are far more (thousands) where 404 has been returned !
    xxx.xxx.xxx.xxx - - [04/Dec/2006:19:34:16 +0000] "POST http://www.carhiredeal.com/hitTestAdv.aspx HTTP/1.1" 404 424 "http://www.valuecarrentals.com/" "-"
    xxx.xxx.xxx.xxx - - [04/Dec/2006:19:34:30 +0000] "POST http://ipexposed.com/pr/pst.php HTTP/1.1" 404 413 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;)"
    xxx.xxx.xxx.xxx - - [04/Dec/2006:19:38:43 +0000] "GET http://clickingagent.com/proxycheck.php?ip=xxx.xxx.xxx.xxx&port=80&loc= HTTP/1.0" 404 409 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
    My current thinking is to stop the IP addresses at the firewall, but this doesn't address the real issue as to why is 200 being returned for some sites ?
    john

  • How do I perform a screen capture to print or save?

    How do I perform a screen capture to print or save?

    Press the Shift, Command, and 3 keys to capture the whole screen.
    Press the Shift, Command, and 4 keys to capture a draggable part of the screen, or follow it with the spacebar to capture a window.
    Open the PNG on the desktop. Alternatively, combine either of the above with the Control key to put the screenshot onto the clipboard instead of the desktop.
    (116647)

Maybe you are looking for