Bug on opening a template VI

If you open a template programmatically to create instances of a VI at run time. AND you have the preference set to record comments then the history window will pop up when you OPEN the VI reference. This can be confusing to a user! At worst it should not prompt for comments until it is saved. Since it prompts for comments at the open event there is no chance to set
This seems to happen for instantiating a reentrant VI as well. I have attached a small example. This was tested in LV 8.0.1 on Mac OS X. Someone please post if this bug persists in LV 8.20 or on other platforms.
Attachments:
Template Opening Bug.zip ‏24 KB

Hello,
1. In LabVIEW 8.0, I confirmed the behavior you described.
2. I tried this is LabVIEW 8.2 and I do NOT see the behavior - the dialog box does not open.
This is apparently fixed.
Best Regards,
JLS
Best,
JLS
Sixclear

Similar Messages

  • I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    I have just updated to Pages 5.1 and now the templares which I have saved do not displat the header and footer which they were saved with in the previous version.  How can I have the header and footer included when I open a template?

    That is becuase Pages 5.1 has numerous unnounced surprises for the unwary user.  Among the surprises:
    - it strips out images from headers and footers without warning
    - it strips out bookmarks without wanring (yes, all those bookamrks you laboriously put into a document: poof! Gone.)
    - it strips out alternating left/right margins, without warning.
    There are many more suprises, as you'll see from glancing through these discussions. They fall into two main categories: things that are present in version 4.3 but that are missing in 5.1, things like
    -mail merge
    -meaningful Applescript/Services support
    -non-contiguous text selection
    -ability to set defaul zoom
    -ability to see comments while editing
    -ability to print comments
    -ability to read RTF files
    -ability to drag in hyperlinked ted from a browser
    These about about 90 other features are gone.
    Then there are the bugs.  Hyperlinks do not reliably export to a PDF file any longer. There have been multiple problems with printing report. Some fonts place stray characters in the headers.  Many reports of the program crashing, courrupting files, etc.
    Fortunately for you, the previous version of Pages is still on your system.  Export any documents you may have created or edited with Pages 5.1 (another great surprise: files created with version 5.1 cannot be read by any previous version of Pages: not just 4.3 but even 5.01!).  Then trash 5.1 and use 4.3 until (unless?) it is stable and has a reasonably robust feature set.

  • Can't open master templates in FCP

    I have FCP-2 version 2. When I open master templates in FCP all I get are empty frames and nothing in the viewer. Even after rendering everything is black. If I go into motion and create there and click "Save as template" the same problem. So far all I can do is save my creation as a quicktime movie...is there another way?

    Hi
    Thanks for asking..
    Indeed. We've been trying to use an HD-Connect SI box in conjunction with a Decklink HD Extream card to import 720/50p but it's been a nightmare. So when FCP 6.0.2 was released (As they promised back in October at the IBC) we were over the moon that it supported 720/50p. But as I mentioned, now Motion, Compressor and FCP are all playing up. I haven't even looked at DVD Studio yet.
    I'm doing a complete reinstall of FCS 2 as I've got to get on. Incidentally I have been searching for a comprehensive way to uninstall FCP?
    Anyway, with FCS 2 back to it's original version at least I can keep working, the 720/50p footage will have to wait, unless there's a fix for the bugs?
    Jake

  • [bdb bug]repeatly open and close db may cause memory leak

    my test code is very simple :
    char *filename = "xxx.db";
    char *dbname = "xxx";
    for( ; ;)
    DB *dbp;
    DB_TXN *txnp;
    db_create(&dbp,dbenvp, 0);
    dbenvp->txn_begin(dbenvp, NULL, &txnp, 0);
    ret = dbp->open(dbp, txnp, filename, dbname, DB_BTREE, DB_CREATE, 0);
    if(ret != 0)
    printf("failed to open db:%s\n",db_strerror(ret));
    return 0;
    txnp->commit(txnp, 0);
    dbp->close(dbp, DB_NOSYNC);
    I try to run my test program for a long time opening and closing db repeatly, then use the PS command and find the RSS is increasing slowly:
    ps -va
    PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
    1986 pts/0 S 0:00 466 588 4999 980 0.3 -bash
    2615 pts/0 R 0:01 588 2 5141 2500 0.9 ./test
    after a few minutes:
    ps -va
    PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
    1986 pts/0 S 0:00 473 588 4999 976 0.3 -bash
    2615 pts/0 R 30:02 689 2 156561 117892 46.2 ./test
    I had read bdb's source code before, so i tried to debug it for about a week and found something like a bug:
    If open a db with both filename and dbname, bdb will open a db handle for master db and a db handle for subdb,
    both of the two handle will get an fileid by a internal api called __dbreg_get_id, however, just the subdb's id will be
    return to bdb's log region by calling __dbreg_pop_id. It leads to a id leak if I tried to open and close the db
    repeatly, as a result, __dbreg_add_dbentry will call realloc repeatly to enlarge the dbentry area, this seens to be
    the reason for RSS increasing.
    Is it not a BUG?
    sorry for my pool english :)
    Edited by: user9222236 on 2010-2-25 下午10:38

    I have tested my program using Oracle Berkeley DB release 4.8.26 and 4.7.25 in redhat 9.0 (Kernel 2.4.20-8smp on an i686) and AIX Version 5.
    The problem is easy to be reproduced by calling the open method of db handle with both filename and dbname being specified and calling the close method.
    My program is very simple:
    #include <stdlib.h>
    #include <stdio.h>
    #include <sys/time.h>
    #include "db.h"
    int main(int argc, char * argv[])
    int ret, count;
    DB_ENV *dbenvp;
    char * filename = "test.dbf";
    char * dbname = "test";
    db_env_create(&dbenvp, 0);
    dbenvp->open(dbenvp, "/home/bdb/code/test/env",DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_TXN|DB_INIT_MPOOL, 0);
    for(count = 0 ; count < 10000000 ; count++)
    DB *dbp;
    DB_TXN *txnp;
    db_create(&dbp,dbenvp, 0);
    dbenvp->txn_begin(dbenvp, NULL, &txnp, 0);
    ret = dbp->open(dbp, txnp, filename, dbname, DB_BTREE, DB_CREATE, 0);
    if(ret != 0)
    printf("failed to open db:%s\n",db_strerror(ret));
    return 0;
    txnp->commit(txnp, 0);
    dbp->close(dbp, DB_NOSYNC);
    dbenvp->close(dbenvp, 0);
    return 0;
    DB_CONFIG is like below:
    set_cachesize 0 20000 0
    set_flags db_auto_commit
    set_flags db_txn_nosync
    set_flags db_log_inmemory
    set_lk_detect db_lock_minlocks
    Edited by: user9222236 on 2010-2-28 下午5:42
    Edited by: user9222236 on 2010-2-28 下午5:45

  • Office 2013 - Unable to open word template

    Hi,
    I have windows service written in VC++ and trying to open a word template xxx.dotx located on the server. however, I am geting below error code while opening the same template. I have written a sample application and it is opening the template.
    my windows service is 32 bit and I have installed office 2013 64bit and OS win 7 64bit.
    <hr=-2147467259>
    working code
    #import "MSO.DLL" rename_namespace("MSOFFICE") rename("RGB", "ofRGB") rename("DocumentProperties", "ofDocumentProperties")
    #import "VBE6EXT.OLB" rename_namespace("MSVBEXT") rename("Application", "ApplicationVBExt") raw_interfaces_only
    #import "msword.olb" rename_namespace("MSWORD") rename("DialogBox", "DialogBoxWRD") rename("RGB", "RGBWRD") rename("DocumentProperties", "DocumentPropertiesWRD") rename("ExitWindows", "ExitWindowsWRD") named_guidsvoid CWordTestDlg::OnButton1()
    // TODO: Add your control notification handler code here
    MSWORD::_ApplicationPtr m_pWordApp;
    HRESULT hr = m_pWordApp.CreateInstance("Word.Application");
    if(FAILED(hr))
    AfxMessageBox("Unable to start MS Word.", hr);
    return;
    AfxMessageBox("Successfully Created");
    m_pWordApp->DisplayAlerts = MSWORD::wdAlertsNone;
    // Make sure the application is not visible.
    m_pWordApp->Visible = VARIANT_FALSE;
    MSWORD::_DocumentPtr m_pWordDoc = NULL;;
    MSWORD::DocumentsPtr pDocs = m_pWordApp->Documents;
    if(pDocs == NULL)
    AfxMessageBox("Unable to retrieve the documents collection from MS Word.", pDocs);
    return;
    // Open the template.
    CComVariant varTemplateName(_T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    m_pWordDoc = pDocs->Open(&varTemplateName);
    if(m_pWordDoc == NULL)
    CString msg;
    msg.Format("Unable to open %s.", _T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    AfxMessageBox(msg);
    return;
    AfxMessageBox("Successfully Opened");
    m_pWordApp.Detach();
    // Reset the MSWord Document ptr.
    m_pWordDoc.Detach();
    thanks,
    Krishna

    Hi,
    Interop is not supported on a Server or with in a services.
    But if you want to this, you have to set up the Environment. I follow this Guideline with my Word and I'm able to start Word on a Server.
    1) Goto Control panel -> Administrative Tools -> Component Services
    2) Expand Tree by clicking on Component Services -> Computers -> My Computer -> DCOM Config
    3) Search CLSId 00020906-0000-0000-C000-000000000046 (which is for Word 97-2003 application)
    4) By selecting 00020906-0000-0000-C000-000000000046 this CLSId now right click on Properties
    5) In the Propeties area, click on Security TAB
    6) Select Customize option from all (Launch and Activations Permissions, Access Pemissions, Configuration Permissions)
    7) Take the User of the Services and Allow all permissions for this user
    8) Go to Identity TAB in the same properties area, select option as a This user and then add username (the user must be administrator of this machine) and password. Click on Apply, Ok
     Locale Profile: True
    9) Refresh Component Services and check your application is working fine or not.
    10) set Folder, if not present:
       C:\Windows\SysWOW64\config\systemprofile\Desktop
    This article gives some insights.
    http://theether.net/download/Microsoft/kb/288367.html
    Hope this helps.
    Kind Regards
    Thomas

  • Change Default for Open New Template File In Adobe Illustrator

    How can I change the default folder when trying to "Open From Template".
    When I use the open from template it defaults to the template folder in the program folders.
    I want to change the default folder to a different location.
    Adobe Illustrator CS3 13.0.2

    Here's how to have your templates available in the "File New From Template" in Adobe Illustrator for Windows.
    What you need to have
    Administrator access to your machine.
    What you need to know
    The default directory for Adobe Illustrator templates is here (for CS5.1)
    C:\Program Files (x86)\Adobe\Adobe Illustrator CS5.1\Cool Extras\en_US\Templates
    The default Windows security doesn't allow shortcuts to be created directly under that directory.
    You can, however, create the shortcut indirectly!
    What you need to do
    In Summary
    Create one (or multiple) folder shortcut(s) in the default Illustrator template directory.
    In Detail
    Open Illustrator
    Select File -> New From Template
    Drop down the "Look in" drop-down, note the directory:C:\Program Files (x86)\Adobe\Adobe Illustrator CS5.1\Cool Extras\en_US\Templates
    Open a Windows Explorer, and navigate to that directory
    Open another Windows Explorer, and navigate to the directory where you keep your templates.
    Right-click-drag your folder from the second Explorer (your directory) to the first Explorer (default templates) and drop.
    Select "Create shortcut" from the right-click popup menu that appears when you "drop" (release the mouse button).
    Windows will display a message "Shortcut cannot be created here, do you want to create it on the desktop".
    Select Yes.
    Move the directory shortcut to the Illustrator to the first Explorer (default templates directory)
    Windows will ask for Administrator permissions.
    Select Yes.
    You can right-click on the template shortcut and rename it without the " - Shortcut" suffix; you'll have to grant Administrator permissions for that as well.
    After completing these steps, your template shortcut will appear properly and you can select it.  Happy designing!

  • When using a template the 'Save As' opens the templates folder to save to, not the last used folder

    I used to open a file from the templates folder,
    add details then click 'Save As' to save it the folder I was using.
    Now I have downloaded Fireworks CS6 it always opens the 'Templates' folder when I click 'Save As'
    I don't want to make a new template each time,
    I want it to open the folder I was last using.
    I have tried uninstalling and reinstalling but I can't get it to open the folder I was last using whan I click 'Save As',
    which is what it did before when I was using Fireworks CS5.
    Are there any Settings to change this?
    Of course I can click 'Recent Places' but it was easier before when the right folder to save to just came up first time.

    Saved files seem to remember their last saved location. So if you create a new file based on a Template, the first time you choose Save As, the location of the source (template) file will appear. However, once you've saved the file to a new location, that new location should become the new default for any subsequent iterations of that file.
    New files (not created from a template) pick up the location of the last saved file.
    All this is to say, the file saving issue you're experiencing should only be a problem the first time you save a file based on a template. Every time you open that file afterward, it should default to its current folder location. But yes, every time you create a file based on a template, the default location will be the Templates folder. If this feels like a big problem, I believe you have the option of opening a template file from any location... so you could copy or move the template into a more desireable folder location, and create your new file(s) based on the template in that location.
    Hope this gives you some ideas!

  • When I open a template I only get the first page. Any ideas?

    Hi, When I open a template in Pages I only get the first page and not the continuation pages. Does anyone have any ideas of what I'm doing wrong? Thanks.

    This same question was asked & answered earlier today. I'll use my same response & the same screenshot I used then.
    Skimming the templates in the Template Chooser shows you all of the pages available in the template once you open it. You can insert the one(s) you want, even more than one of any of them. Most users don't want or need all of the different pages, especially when they start the document.

  • Group/Ungroup outline & Run macro automatically once open excel templates

    Hi all,
    Would need your advise for the following queries.
    1. May we have a protected sheets with Group/Ungrouped features?
    2. Is there a way to auto-run the macro once we open excel template?
    Looking forward to hear from you all! Thank you very much!

    Hi Tim,
    Thanks for your feedback! I did tried this before, but it remain the same. Please look at the code as below. I'm looking something that can execute the macro once open up the workbook,like  "Call onFileOpenMacro".
    Private Sub Workbook_Open()
        With Sheet1
           .Protect Password:="Secret", userinterfaceonly:=True
           .EnableOutlining = True
        End With
        'Call onFileOpenMacro
    End Sub
    Please advise.
    Thank you!

  • How to open a Template when Pages is already open

    I have just copied and pasted some text into a blank pages document.  I want to convert this doc. to a letter head that I made a template for.
    I would like to open the template, then copy/paste the first doc info into the template doc.
    I haven't been able to figure out how to open a template when a document is already open.

    Sorry,  P5.2, Mavericks.
    I did set the preferences to New Documents> Use Template: Blank, to stop endlessly having to choose a template when I don't need one.
    When I pull down File, there is no New from Template Chooser.  File>New just opens another blank file.
    To check, I went back and enabled "Show Template Chooser".  Now it demands I choose a template whether I want to or not.
    OK, it seems Apple is forcing you into either/or.  I want both/and.  I don't want to be forced to choose a template when 99% of the time I don't want anything but a blank file.  It is a nuisance.  But the occasional time I am composing something and decide it would be better off as a universal doc with letter head, I am stuck and cannot choose open a template so I can stick the material in it.
    The options are lousy.  Close/save the doc, reset the preferences to templates, shut down Pages, restart pages, select template, open old doc, copy/past old text into new template.  Or, while the original doc is open the first time, I could go find a stored doc with the right letter head template, open it, copy/paste the previous text into the letter head doc (and delete everything else).
    Neither of these options is worth a wooden nickel.  Apple needs to think this one through again.  Like have multiiple buttons with View on it, doing different things.  At least they got rid of using the paragraph symbol for two or three different functions.

  • Looking for a PP or Open Office template, does anybody know where to find t

    long ago, I found a free template with the following background.
    http://img411.imageshack.us/content_round.php?page=done&l=img411/2770/screenshot 20100218at115.png&via=mupload
    for the title slide
    and
    http://img192.imageshack.us/content_round.php?page=done&l=img192/4778/screenshot 20100218at120.png&via=mupload
    for the follow on slides
    I am not sure if it was a PP or Open Office template, but I would like to get my hands on it again as I lost the original. Of course I spend time on Google etc but did not find it. Anybody know where I can find a copy? Or someone has a copy?
    Thanks

    ChangeAgent wrote:
    Most presentation programs allow you to create a gradient (a smooth transition from one color to another across the slide) as a slide background. What program are you using?
    Powerpoint
    Check out the information in this link. It shows how to create gradient for the slide background. That covers one image.
    BTW do you remember any keywords, terms, or any other words in either the template, the file name, or the webpage where you downloaded it from?
    no I do not know as said I did a long search to no avail.
    Looking at the cover image, I'm getting the hunch that it was created in OpenOffice. Does OpenOffice have a template browser? Try that if you haven't.
    Besides that, I'm afraid that's about all I've got. It's like looking for a single grain of sand in a desert.
    I just found this: http://blogs.oreilly.com/digitalmedia/uploads/2008/05/OpenOffice3BetaMenu.jpg
    The gradient is the same, and the "swirls" are the same as well. It might easily be a default template or a template available with OpenOffice. Try that.

  • When I open a template the pictures are in negative !

    When I open any template ie an invitation, the pictures are in purple negative as are any I drag and drop. Any ideas out there?

    I'm not sure if this is the same as the purple text many users see if they haven't updated both Snow Leopard & iWork but these two things to do that solve a lot of problems with the iWork ’08 &/or ’09 apps in Snow Leopard.
    First, use the Mac OS 10.6.8 combo updater. This fixes a problem with fonts that is not fixed using the delta update (10.6.1 > 10.6.2).
    Second, make sure your iWork applications are updated. For iWork '08 that is Pages 3.0.3 & Numbers 1.0.3. For iWork '09 it's Pages 4.1 & Numbers 2.1. If you're not running the latest versions & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. They must be in the iWork '08 or iWork '09 folder in Applications. That iWork folder must be named iWork '08 or iWork '09. If it doesn't have the '08 or '09 Software Update won't find them & the updaters won't work.
    Also, deleting the program's preference list is the #1 trouble-shooting step with any misbehaving application. Go to HD > Users > (your account) > Library > Preferences, delete the com.apple.iwork.pages.plist, empty the Trash & then restart Pages. Repeat with Numbers & Keynote. This needs to be done for each user.

  • Opening a template indd file using java API

    How do I open a template indd file using java API and use it for laying out graphics and text ?
    Thanks in advance

    Sample code:
    VariableType vtDocument = myApp.open(VariableTypeUtils.createFile("c:\\myfile.indd"));
    myDocument = DocumentHelper.narrow(vtDocument.asObject());
    Thanks
    -arun

  • Opening a Template

    Is there a way to open a new document based on a template without going through the new document process? 99% of the time, I use a blank page, but once in a while I'd like to open a template. Now, I have to open the preferences and change the "For new documents" preference. Is there a way to call up the templates dialog box any other way?
    Thanks

    Good morning, Jonathan,
    There are several ways around this. The ones I find easiest is creating a folder for just templates, in documents folder (or elsewhere if they are to be used by several people)
    The trick is to have this folder readily available. One way is to open a new finder window (command-n) and drag the folder to the lower left area (where application, documents, movies, etc are) You can also drag this folder to the right side of the dock (by where the garbage can is)
    Or you could leave the folder on the desktop. I find that gets messy fast.
    If you want the Apple templates to be available in this area as well, you can copy them out of the application. By finding the application, ctrl-clicking on it and choosing 'show package contents' you will open the special folder all Apple applications are. Inside there will be a folder called contents, and inside that will be one called resources. Inside the resources folders will be several folders for different languages with a suffix of '.lproj'. Inside those language folders will be one called 'templates'.
    Copy that folder (don't just move it) to your new templates folder, wherever it is on the system, and you can easily get to the templates to open. Rename the moved folder to Apple Templates and you will be able to find them easily.
    I prefer to use this method to begin new files. I find the Apple method to be awkward and cumbersome the more templates you have. Scrolling through a dozen variations of the same not-quite-right commercial to be template is ridiculous.
    There are several things which are limiting in the usability of Pages (and to a certain extent Keynote). Not being able to set up a different folder instead of 'my templates' for those other templates you purchase or make (imagine being able to set up multpile folders where the 'my templates' area is in the open dialogue. That would be perfect.) Not being able to have templates in a public folder so they would be accessible to everyone's account on the computer. Not being able to design an installation procedure, which was beautifully executed (for the most part) in Keynote 1 means a lot more workk for users to decide where things are to go and then have to do more work to get them there.
    I dislike the template chooser, if you can't tell. It's like the designers never actually used the program or realized the potential of giving the user control over how it displays the templates. There is so much potential there yet it is being ignored as a user-definable option.
    Sorry. Went off on a tangent. Just read the first few paragraphs of this post. I'll go fill out another feedback request.

  • Pages quits when I open any template

    I just installed iWorks 06 on my new Mac Pro. Whenever I try to open any template, Pages and Keynote quits. I can open a blank page, but I cannot open any template or older file created with a PPC Mac G5. Why am I having such problems?
    Mac Pro   Mac OS X (10.4.9)  

    John,
    1. You'll find the file in users > [yourname] > library > preferences
    2. Given the requirements of OS X and other software, I'm sorry to say that 512 MB doesn't provide the elbow room it once did. It's hard to know if that's an issue with you, because I don't know what other software you've got running at the same time as Pages.
    Try trashing the plist file first. If that doesn't cure the problem, try quitting any unnecessary software before you start up Pages.

Maybe you are looking for