Open VI reference for VITs and VIs

Hi
I have a VIT and I get the reference using the Open VI reference. When I change (rename) this back to a VI, and get the reference for it, its much faster. Does the open VI reference takes longer for VITs than VIs in obtaining a reference?
Another question  is the same VIT, takes lesser time to get the reference using the Open VI reference in LabVIEW 8.5.1. It takes longer in LV8.6. Why is this happening? 
Thanks
Vaa San.

The two main differences between a VI and a VIT are that   VITs are never run, but are templates that generate a VI instance immediately that has all the properties, attributes and limitations of a VI.  A VI on the other hand has only one instance (unless you make it reentrant)
·         A VI generated by a VIT is debuggable just like a VI in that you can trace the execution along the wires. In general, a VIT creates a copy of the VI in memory when you open a reference to it. Creating that copy takes time, which affects performance when doing recursion. That copy is then a standard VI in every sense, except it is not a file. Also, if you don't close these references, they will take up space in your RAM. Reentrant VIs can currently only do real recursion in 8.5 and if they are part of a class. If you open a VIT, you don't open the actual file, but a clone. This way you can open it multiple times. Each time you open it, you get a clone. This is especially useful when you open the VIT with VI Server. VIT's are useful to make an interface window once, and use it multiple times in your program. If the code should run multiple times, but doesn't have a user interface, use reentrant VI’s instead. As far as having the project open, a VI will reload all instances related to the project therefore causing the Vi to load slower. Best Regards,
Juan Galindo
Applications Engineer
National Instruments

Similar Messages

  • I purchased an IPad Mini for my mother-in-law using my Apple ID. I need to open an ID for her and take mine off the Mini. How would I do this?

    I purchased an IPad Mini for my mother-in-law. I used my Apple account since she didn't have one.  I need to open an account for her and change the account on the IPad Mini from mine to hers.  Can anyone point me in the right direction to get this done?  Thanks.

    Best way
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5661http://support.apple.com/kb/HT5661
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/ht5621http://support.apple.com/kb/ht5621
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895http://support.apple.com/kb/HT4895
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_UShttp://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_US
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627http://support.apple.com/kb/ht4627
    iOS: Changing the signed-in iTunes Store Apple ID Account
    http://support.apple.com/kb/ht1311http://support.apple.com/kb/ht1311
    How to Delete an Apple ID
    http://www.wikihow.com/Delete-an-Apple-IDhttp://www.wikihow.com/Delete-an-Apple-ID
    Apple ID Support - Manage Account
    https://www.apple.com/support/appleid/manage/https://www.apple.com/support/appleid/manage/
    Create an Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleIdForIK B?localang=en_US&path=https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleIdForIK B?localang=en_US&path=
     Cheers, Tom

  • Can I use my iphone4s charge cord for iPad and visa versa?

    Can I use iPhone charge cord for iPad and visa versa?

    iPad charging iPhone works fine. Iphone to iPad not so much.
    Check the power specs. the iPad charger is a 10W charger, I think the iPhone one is only 5W. Technically it will charge the iPad but it will take longer.
    The iPhone, however, seems to handle being charged by the iPad's charger fine.

  • Open VI Reference for a Project Library VI

    Hi,
    my code calls some subVIs by reference by using "Open VI Reference" and "Call by Reference" VIs. Now, "Open VI Reference" expects a path to the VI:
    When the SubVIs sit in the same folder as the calling VI, it is easy to simply supply the name of the SubVI. However, I would like to call a SubVI that is part of a project library sitting somewhere else on the disk. I could give the relative path, but this make the code pretty inflexible and if the relative path changes all the paths would need to be ammended. Ideally, I want to utilize the fact that I am using a project library. The help for Open VI Reference states that
    vi path accepts a string containing the name of the VI that you want to reference or a path to the VI that you want to reference. If you wire a name string, the string must match the full delimited name of a VI in memory on that target. If you wire a path, LabVIEW searches for a VI in memory that you previously loaded from that path on the same target.
     I thought that the underlined path was my ticket and tried something like this:
    but this did not work and I got
    "Error 1004 occurred at Open VI Reference in MainVI.vi:
    Possible reason(s):
    LabVIEW:  The VI is not in memory.
    To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input."
    Wiring a path is not desirable as per reasoning above. Is there a way around the issue?
    Thanks in advance!
    Solved!
    Go to Solution.

    tst wrote:
    That should work, but you have to pay attention to something that's stated both in the help and in the error - if you use a string, the only way for LV to know what to access is if that something is already "in memory" (sometimes also referred to as "being loaded"). In the case of standard libraries, that means the VI itself or one of its callers has to be loaded. In the case of classes and XControls, loading the library (as in having it in an open project) should be enough to also load all of its members.
    Hm, thanks, I am not advanced enough to know about classes and XControls, but I will check it out. My VIs are part of a library but obviously don't get loaded because, as you said, all their calls are dynamic.
    tst wrote:
    What I usually do is use a static reference to a VI to get its name, because that ensures that it will be statically linked, included in executables, etc. That might not work for you if you want dynamic loading and then you will need to use some other means.
    Hm, this actually gives me an idea! I could add an enable input to all these dynamically called VIs so that the logic runs only when enable is ON; otherwise the VI is called but does nothing. Then I call the VI first statically with enable=OFF just to load it in memory and then proceed with my dynamic call. A little ad-hoc, but should work and serve my purposes, I think.
    Thanks!!

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • Opening Balance only for Assets and Liabilities in Trial Balance Report

    Hi SAP B1 members,
    Following is my query :
    I would like to see the Opening balance in the Trial Balance report only for Assets and Liabilities and not for Revenue and Expenses.Though the other details such as Debit,Cumulative balance etc should be seen for all Assets,Liabilities,Revenues and Expenses.Kindly help.

    Hi,
    You can try the option of running the Trail Balance for Assets and Liabilities with the Opening Balance checkbox and the other for revenue and other drawers without checking the Opening Balance.
    Export the values to Excel and consolidate the reports to get the required result(if that is what is needed).
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Open Vi reference for Vis with same names

    Using VI server, is there any way to open reference to a VI on the hard disk even thought a VI with the same name (but different path) is already loaded in memory? I'm trying to see if it's possible without renaming and making sure every single VI I use has a distinct name.

    abdel2 wrote:
    For now, I can give different names but as the # of modules increases, it will be hard to have some Vis that don't have the same name.
    It wont be tough to keep distinct names.
    Just prefix or suffix your module name to the original VI name, so that you SDs will have VIs with same/similar functionality, but never conflict with each other when called during run-time. This is the procedure we follow in our project currently. We have gone ahead with the extent of packing all the DUT SDs (LLBs) into one complete auto-installer, so that in the target PC, everything get unbundled & installed into the appropriate folders that we have added while creating the installer.
    - Partha
    LabVIEW - Wires that catch bugs!

  • How to define different open interval rule for GR and IR?

    Hello all
    In the beginning of a Fiscal Year (until January 15 u2013 20) I have the following problem:
    Users are, mistakenly, posting service entry sheets (SES) or material document, with posting date of a new fiscal year, from purchase order from previous FY. As a result, budget is consumed from the new fiscal year. I do not want to carry forward this PO, I want to post this material document in the previous FY.
    I tried to close posting for VT 54 for the new FY (only for the first 2 weeks of the new FY. I used FMMI), but then I can not post invoices, and I do want to post invoices.
    I am looking for a way  to close FY in FM for SES or material document only, and not for invoices. Is any one know how?
    More details:
    I use ECC6 with ENHP 4.
    I use Former budget.
    PBET is not active.
    Value types 51 and 54 are relevant for budget.
    Thank you for your answer
    Uri Noyman

    Hello Uri,
    "Users are, mistakenly, posting service entry sheets (SES) or material document, with posting date of a new fiscal year, from purchase order from previous FY. As a result, budget is consumed from the new fiscal year."
    I wanted to ask you for some clarification here: I would expect the SES consuming the reference PO, rather than consuming budget.
    Also, please have a look at this part of the online help:
    [Closing operations|http://help.sap.com/erp2005_ehp_04/helpdata/en/f0/ca4266260211d28a430000e829fbbd/content.htm]
    In the 'Implementation considerations' part, it's stated:
    It is not necessary to carry out closing operations with the fiscal year change in the system if you do not use period-based encumbrance tracking or, whilst using the Budget Control System, have activated multi-year budget execution. If you therefore decide not to carry out closing operations, budget already used remains in the old fiscal year and cannot be used in the new fiscal year. Open commitments are correctly reduced in the old fiscal year if you process them further in the new. (For example, a purchase order from 2005 can be reduced by an invoice arriving in 2006.)
    Are you finding those SES actually are consuming budget instead of reducing the reference PO?
    On the other hand, you might also think about using Multi-year budget execution, it may also be helpful in your scenario.
    You can find the information here:
    [http://help.sap.com/erp2005_ehp_04/helpdata/en/f0/ca5716260211d28a430000e829fbbd/frameset.htm]
    'Recording Actual and Commitment Data  ->Multi-Year Budget Execution '
    Hope you will find this information helpful
    Kind regards
    Mar

  • QT movies won't open, just search for clip, and then error 128

    I have filmed a lot of digital movies when I was an undergraduate studying film and I exported them all as quicktime movies to save in my computer; however, for some unknown reason, whenever I try to re-watch those movies, QT searches for "Clip 01" or whatever and says that it cannot open the movie without this clip, and then gives me "error (-128)." What is up with this? I thought once I exported the film as a QT .mov that would be the only file I needed. I don't understand why it needs to search for a clip. Thanks for anyones help, I'm trying to piece together a demo reel and now I don't have access to about 75% of my work.
    G4 Desktop   Mac OS X (10.4.4)   Dual Processor 1.25 & 2 GB of RAM

    When you "Save as" QuickTime Movie you get two choices... Reference movie and Self contained.
    Self contained creates a movie with all needed media (video and audio clips) within the .mov file.
    Reference movie creates a very small file that tells QuickTime where to find the clips to play and does not copy those clips into the mov file.

  • When firefox launched and kept open, automatically opens multiple sessions for ads and pornography which I have never visited. sessions hide in legitimate ones

    I use firefox exclusively. I open many sessions simultaneously mostly one site per session in a single tab. At times during the day when I keep firefox open, I will return to a previous site/session and before I am able to see it, I am getting browser 'pop-ups' of ads for TJ MAxx (a site I never visit) and hard-core porno (a site i never visit and not part of my browsing demographic). These are completely random and hide behind legitimate browsing sessions and are not listed in history etc. They are not being removed by adware or Norton and they are driving me nuts not to mention the embarassment of trying to launch a legitimate site and getting disgusting porno in your face while working with colleagues. Please help!

    '''Scan for Malware'''
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    '''Reset Firefox'''
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Itunes wont open after update for itunes and ipod

    alright, so i have no clue what im doing. ive been going through this board looking for different solutions to my problem but nothing seems to be working and im running out of options.
    i was having troubles with itunes before, so i unistalled itunes and quicktime and reinstalled it, and i was still experiencing the same problems with having the program open. i uninstalled and reinstalled once more and then i got it to open and when i tried to update my ipod, it said i needed the new updater software, so i downloaded that. after all of that, my itunes won't open again and i dont know what to do anymore. i just want my stuff to work and nothing i seem to do helps with the problem.
    any ideas on what to do to get both itunes and my ipod to work again?

    Perhaps this Apple KnowledgeBase article will help:
    iTunes 7 for Windows: iTunes has detected an audio configuration problem
    Good luck.

  • Open order quantity for "PurRqs" and Purchase Order"

    Hi,
    In one of my report I have to display the "Open Quantity" for 'PurRqs' I am using logic as follows:
    Input the "Pur Req" and  its "Item Number" in table EBAN in the fields EBAN- BANFN and EBAN- BNFPO and fetch the value of fields EBAN- MENGE and EBAN- BSMNG. Do the subtraction EBAN- MENGE minus EBAN- BSMNG and consider the value after subtraction as open quantity.
    But in display 'Purchase' order in the tab "Quantities/Dates, there is field with "Open Quantity", my question is if this "Open Quantity" update in any table-fields? or is ther any 'Functional Module" to get this 'open quantity' directly? so that I can avoid the logic of subtraction.
    Same question is for "Purchase Order", is ther any table-field or 'functional moduel' where I can get open PO quantity insteed of using tanle EKET and fields MENGE/WEMNG

    Hi
    What ever logic you are useing is right and go ahead with this and the same logic is for also Scheduling agreement.

  • Help.  How do I fix this?  Have been using adobe reader opening this template for months and now all of the sudden its not working.Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the

    I coach youth soccer and use a PDF template to save my sessions in.  Today I got this message when trying to open one of my sessions.
    Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    How can I fix this?  I have not done anything I don't normally do.

    What is your operating system?  Reader version?

  • Hyperlinks or Cross references for Figures and Tables in PDF.

    Hi All,
    I've created the Hyperlinks for the Figures and tables using the Text Anchor options in Hyperlink Destination.  But I've problem in showing the destination image view when clicking on the figure references text.  The figures links are shown me the figure caption text.  How I set the properties of the Destination object to show us the exact Image when clicking on the hyperlink text.
    Thanks in Advance for any help !.
    Regards,
    Imagine

    Fit options is unavailable for the Text anchor destination,  it's need to include in the feature release.

  • Unable to open PNG, save for web, and missing half of the format options under save as.

    Using Windows 7 Professional 64-Bit with SP1.
    When using Photoshop CC 64-Bit, i am unable to save for web, open PNG, or save as for about half the format options. I don't have any additional plugins installed, nor have I messed with the plugins folder.
    When trying to open PNG files it says: Could not complete your request because it is not the right kind of document.
    Photoshop CC 32-Bit works without any of these issues. I'll be switching to 32-Bit until this is resolved. Hoping I don't have to uninstall/reinstall (Install files are huge and take forever to download and I don't know how to save them to the hard drive with CC, thanks).
    Chris

    Sounds like you are missing some of the required plugins - possibly an updater failed, or someone moved/deleted the wrong directory.
    Yes, you'll need to reinstall to restore the missing plugins.

Maybe you are looking for

  • Windows 8.1 + HP LJ 1200 + NAS

    Hi. I have: 1. NAS D-LINK DNS-320L. 2. HP LaserJet 1200. 3. PC with Windows 8.1. 4. NB with Windows 8.1. I can't connect 1200 directly to PC and/or to NB via USB. So it was successfully connected to NAS. Now I want to install 1200 over my home networ

  • Adobe Acrobat 11 shutting down

    Adobe Acrobat 11 shuts down when I am cutting and pasting between 2 PDF's from a network drive. Software update and reinstall have already been performed. Windows 7 Enterprise is the OS on a networked PC.

  • Calculating total time.

    I'm somewhat new to using spreadsheets. Basically I just want to keep track of the time I spend doing a particular job. So I'm tracking my start time, end time, and then I want to calculate the total time spent. Thanks.

  • Add Interface mapping to Receiver Determination is not possible

    Hello, I create some scenarios from R\3 to BW and R\3 to File. When I want to add Interface mapping to Receiver Determination is not possible. Not to choose from list and not with copy and paste. Any ideas? Regards Elad

  • Problem installing program running with Java

    When i start to run a program appear a window witj following message: "preparing to run java virtual machine"..after that appear next small window with installshield wizard. When make a transition between this small windows to start to install the pr