Saving a file marks it for re-compilation

Hello,
the following scenario: In CVI2013, open a project, edit the source code, build and run the project, and then quit the executable such that you're back in the IDE. Click the green triangle again and the executable will be run 'immediately'. Now, save the file and press the green triangle again - CVI starts compiling and building the project...
I don't think that this should be necessary, leaving some room for improvement
Solved!
Go to Solution.

Hi Wolfgang,
This is an interesting scenario. Unfortunately, I don't think it's possible to avoid this recompile in 2013, without other undesirable side effects.
In CVI 2012 and earlier, CVI always compiled files from memory. So, when you saved the file after building and running, that did not trigger the need to recompile after the save.
In CVI 2013, all compilation needs to be done from disk instead. You can still compile files without saving them first only because CVI makes a temporary copy of those files (you can see these copies in the UnsavedChanges folder under the project's configuration folder).
The reason the recompile happens after the save is because when you save the file after running, the timestamp of the saved file is later than the timestamp of the object file that was created from the temporary copy from UnsavedChanges.
To avoid this problem, when you save the file CVI could instead copy the temporary file from the UnsavedChanges to its regular location, if and only if you save it without making any additional changes. The problem, however, is that the timestamp of the regular file would be older than the time when the user explicitly chose to save the file, and I don't think that it's a good idea to have this discrepancy.
If you'd like to work around this issue, you could choose to copy the file yourself from the UnsavedChanges folder, instead of saving it (and then discard the changes in the editor). You could even use some script that you add to the Tools menu, to make it faster. But you'd have to be very careful to only do this when you know that you have not made any new changes to the file.
Luis

Similar Messages

  • Office 2013 applications crash when opening/saving files in OneDrive for Business folder

    My setup:
    Windows 7 64-bit
    Office 2013 Professional
    OneDrive for Business (connected to Office 365)
    Issue Description:
    Example 1:
    1.  I create a file in OneDrive for Business using the appropriate web app (Excel web app, for example).
    2.  I edit the file in the web app, I save the file in my OneDrive for Business
    3.  I sync OneDrive for Business with it's local folder
    4.  Now I open the folder in Windows Explorer and double-click the Excel file
    5.  Excel splash screen shows up for a bit, and then Excel crashes
    Example 2:
    1.  I open Word on my Windows 7 laptop
    2.  I start from a blank document and create some content in the document
    3.  I use the Save As option under the File menu to save the file to my local OneDrive for Business folder
    4.  As soon as I click the Save button on the dialog, Word crashes
    The same happens with all the Office applications.
    Important Note:
    If I run the above examples with Excel/Word in SAFE mode, there is absolutely no issue.
    What have I done so far?
    1.  I have made sure that the DisplayLink driver is the latest version from the manufacturer
    2.  There is no bluetooth send-to add-in in any of the Office applications
    3.  No add-ins are enabled in any of the Office applications (not sure if there are "stealth" ones that are not visible in the Options/Add-Ins dialog?)
    Any assistance with this would be much appreciated.
    JeHarry

    Hi JeHarry,
    Because I didn't have Windows 7, I did a test with Windows 8.1 based on your description. However, in my testing, everything worked well.
    Please repair your Office under Control Panel, compare the result.
    This forum is for SharePoint On-premise, as your issue is about Office 365, I suggest you create a new thread on Office 365 forum, more experts will assist you with Office 365.
    Office 365 forum:
     http://community.office365.com/en-us/f/172.aspx
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • I recently moved my Aperture Library file to an external hard drive.  Can I now create a vault to be saved on my Time Capsule for the Aperture library on this external hard drive?

    I recently moved my Aperture Library file to an external hard drive.  Can I now create a vault to be saved on my Time Capsule for the Aperture library on this external hard drive?

    One thing to bear in mind, if you are using Time Machine on your Time Capsule and have it set so the TM backup includes your external drive, you will effectively be backing up your Aperture library twice on the same drive, once with Time Machine and once with the vault. This isn't a problem unless you start to run out of space.
    Another thing to note, vaults on network drives used to be flaky (i.e. not really supported) and required workarounds to be able to use them. I'm not sure if this has changed, but I just managed to create a vault on my TC ok.

  • "Insufficient data for an image" when saving a file

    I'm running Acrobat 9.5.0 on a Macbook Pro running OS X 10.6.8.
    After scanning a document from my Canon MX882, or opening and editing an existing pdf I get the following error when I try to save the file:
    Insufficient data for an image
    When I try to save the file again, I get this:
    The document could not be saved. There was a problem reading this document (109).
    Sometimes the error also has (8) instead of (109).
    When this occurs, the thumbnail of the page appears correct in the left pane; however, the content of the page itself is entirely or partially missing.
    Any suggestions would be appreciated.
    -c

    I am also having this problem, especially with scanned documents. Since I need to download scanned documents in my work this is a big problem!Sometimes I can read but not save the document, sometimes one or two of the pages will be blank from the start. I have the latest version of Adobe Reader XI (11.0.10). I tried reducing the page zoom, a suggested workaround on this page: Acrobat: “Insufficient data for an image” error after updating to 10.1.4 or 9.5.2,  but that did not help at all. FWIW I use a Windows 8.1 PC with 4 GB RAM. I usually download PDFs from the internet using Firefox.

  • This is an error from my HP scanner. How can I fix the problem? An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only.

    I recently uploaded the Maverick operating system. I wanted to scan some things on my HP Printer/Scanner and could not . This is the error message I received: An  error has occurred saving the file because it could not be written to.   Check the properties for the file to make sure it is not read-only. I am a novice with the computer and have no one to help. I hope someone knows an easy fix.
    Thank you

    This worked for me:
    "Although it is not a 'fix' for the HP issue, I did find a workaround that helped me. In the Preferences Panel in MacOS X you can pull up the Printer/Scanner preferences and scan directly from OS X. I'd not known of this prior to posting here and it worked like a charm."
    "Of course, HP should still update their software, but it's good to know that Apple has it covered for them."
    I found it here:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/MAVERICKS-WONT-SCAN-HP-C3 09A/td-p/3052105

  • I have Maverick 10.9.1 installed I scanned a photo on my HA D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    I have Maverick 10.9.1 installed I scanned a photo on my HP D 110 series but it won't let me print or save it: An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

  • After downloading Maverick I cannot save or email scans from my HP L7780. I receive  error message "An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only. "

    After downloading Maverick I cannot save or email scans from my HP L7780. I receive  error message "An error has occurred saving the file because it could not be written to.  Check the properties for the file to make sure it is not read-only.

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

  • Configure:3955: checking for C compiler default output file name

    Hi,
    I am trying to configure oracle bsd on AIX and got the below error,
    # sh /ldap/db-4.6.21.NC/dist/configure
    checking build system type... powerpc-ibm-aix5.3.0.0
    checking host system type... powerpc-ibm-aix5.3.0.0
    checking if building in the top-level or dist directories... no
    checking if --disable-cryptography option specified... no
    checking if --disable-hash option specified... no
    checking if --disable-mutexsupport option specified... no
    checking if --disable-queue option specified... no
    checking if --disable-replication option specified... no
    checking if --disable-statistics option specified... no
    checking if --disable-verify option specified... no
    checking if --enable-compat185 option specified... no
    checking if --enable-cxx option specified... no
    checking if --enable-debug option specified... no
    checking if --enable-debug_rop option specified... no
    checking if --enable-debug_wop option specified... no
    checking if --enable-diagnostic option specified... no
    checking if --enable-dump185 option specified... no
    checking if --enable-java option specified... no
    checking if --enable-mingw option specified... no
    checking if --enable-fine_grained_lock_manager option specified... no
    checking if --enable-o_direct option specified... no
    checking if --enable-posixmutexes option specified... no
    checking if --enable-pthread_api option specified... no
    checking if --enable-rpc option specified... no
    checking if --enable-smallbuild option specified... no
    checking if --enable-tcl option specified... no
    checking if --enable-test option specified... no
    checking if --enable-uimutexes option specified... no
    checking if --enable-umrw option specified... no
    checking if --with-mutex=MUTEX option specified... no
    checking if --with-tcl=DIR option specified... no
    checking if --with-uniquename=NAME option specified... no
    checking for chmod... chmod
    checking for cp... cp
    checking for ln... ln
    checking for mkdir... mkdir
    checking for rm... rm
    checking for sh... /usr/bin/sh
    checking for a BSD-compatible install... /ldap/db-4.6.21.NC/dist/install-sh -c
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    and in config.log,
    configure:3955: checking for C compiler default output file name
    configure:3982: xlc_r -O2 -D_THREAD_SAFE -Wl,-brtl conftest.c >&5
    /ldap/db-4.6.21.NC/dist/configure[3983]: xlc_r: not found
    configure:3985: $? = 127
    configure:4023: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Berkeley DB"
    | #define PACKAGE_TARNAME "db-4.6.21"
    | #define PACKAGE_VERSION "4.6.21"
    | #define PACKAGE_STRING "Berkeley DB 4.6.21"
    | #define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum"
    | #define HAVE_UPGRADE_SUPPORT 1
    | /* end confdefs.h. */
    |
    Is this beacase valid c compiler not existing?
    # which cc
    which: 0652-141 There is no cc in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java14/jre/bin /usr/java14/bin.
    # ksh: which:: not found.
    # which c
    which: 0652-141 There is no c in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java14/jre/bin /usr/java14/bin.
    Thanks,
    Message was edited by:
    GK Joe

    Joe,
    I presume you are trying to build Oracle BDB and not bsd as you have mentioned.
    Yes, the error message you are getting is for not having the CC compiler in your system or the path isn't set. Check in the /usr/vac/bin directory if you have one in your system. You might find both xlc and cc compiler there. Set this directory to your path so that 'configure' can see it.
    Regards,
    -Debsubhra

  • I'm trying to export a file as .dwg for Autocad but it's not showing the dwg preview and it appears to be saving as code (lots of gobbledegook when reopening the file).  I'm on OS 10.5.8.  Never had a problem with this before.  What am I missing? Any idea

    I'm trying to export a file as .dwg for Autocad but it's not showing the dwg preview and it appears to be saving as code (lots of gobbledegook when reopening the file).  I'm on OS 10.5.8.  Never had a problem with this before.  What am I missing? Any ideas?

    First be sure login and password are OK. Sometimes the address starts wit "http://..." and sometime starts with "ftp://...". Try both normal FTP access and Scure FTP access (SFTP). At the end, contact the site's provider.

  • Premiere pro cs5 cannot be closed. I suppose there is a window opened asking for saving a file. I can not see any. What to do?

    How can I close premiere pro. There is a window opened asking for saving a file, which i Can not see.

    Or do this:
    or this

  • HT3964 I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    Jerricayoung,
    you have a 13-inch Mid 2012 MacBook Pro. It’s modern enough that it supports booting into Recovery mode. To do so, hold down a Command key and the R key as you start up. It should eventually show a Mac OS X Utilities menu. Select Disk Utility from that menu; when the Disk Utility window appears, select the bootable volume from the left-hand side of the window. (It’s typically called “Macintosh HD”.) When the volume is selected, some buttons will appear on the right-hand side. If it’s not greyed out, press the Verify Disk button; if it is greyed out, or if it reports on errors that it found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu; that will restart your MacBook Pro in its normal mode. With luck, that will be enough to get you to your normal login screen, rather than the white screen.

  • Web browser for running locally saved html file with Marquee Text

    I have a html file contain Marquee text.
    I want to display that html file in oracle forms(10g).
    I already use simple html browser but it does not support marquee text.
    I already tried to convert the html file into Gif file but Marquee text not appear in gif file.
    Is there any browser which support the locally saved html file with marquee text and also it can be embedded in oracle form.
    Or is there any way for display that html file within the oracle forms.
    Remember I don't want to display that file in separate window.I want to display that html file within the form.
    Regards

    Actually that is what I was doing last night and got a bad flash and bricked my router..so its on its way back to Linksys...

  • How to make jar file for this compilation method ?

    can any one tell me how to make jar file for this compilation
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
    *this is a compile code:-*
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    *and this is a run code:-*
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?

    Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.

  • Saving movie files for video I Pod

    I hope you can help me with an issues of trying to save a home movie into the right format so that I can transfer the movie to my new I pod video. I have been trying to use Final Cut Pro Express HD to save the movie file. I saved the file as m4v file. Was able to drag it into the I tunes library but I was not able to drag the file from the library and into the I Pod.
    Can I use Final Cut Pro Express to save the right format? How do I get it into my I Pod?
    Thanks,
    Steve

    Bill,
    I was finally able to save a movie in FCE and get it in 5g I Pod. I frist saved the file in FCE as a I pod file an m4v. "Export" and then "Video for iPod".
    The video is not only exported as a .m4v file
    but is also sized correctly for playback on the the iPod (320x240).
    Drag the file into the i Tunes library. After dragging the video file to the iTunes library you have to add it to an existing playlist or create a new playlist for it, the same way you do for music. Create a new playlist file, video,and drag it in.
    The last step was the part i was missing.
    If you manually manage your audio files, you must manually manage your videos. If your iPod automatically updates your audio files, you must choose one of the two automatic update options for video or choose not to update videos.
    Open iTunes 6 and drag your new movie file icon to the iTunes library in the Source list. To learn how to browse and view videos in iTunes, click here. Note: iTunes won't let you drag the movie to the Video playlist, but once you drag it to the Library, it will automatically appear in the Video playlist. You can also drag the video file to a playlist you create. I was not able to drag the file from the library to my I Pod which I have heard more than once that you can. So try that.
    Here is a site that will help.
    http://docs.info.apple.com/article.html?artnum=302509
    I would recommend taking a look at the current Mac Pro Podcast where they have a demo showing the steps to getting video converted to the iPod format.
    (http://www.bclip.com/macpro/MacProPodcast13.m4v) I was not able to drag the file out of my library and into my ipod.
    steve

  • Permissions / umask settings for saving a file

    When saving a file using either acrobat itself or the acrobat plug in for firefox the umask settings of the linux system are not honored. The file gets saved with permissions 600 instead of permissions 644. This is a problem for users who save files in shared directories that are accessed by other users. Currently, users need to manually adjust the permissions of the file after they save it when they save onto a shared directory so that other users can view the pdf.
    Is there anyway to override the acrobat defaults for this?

    I have the same problem. We have to share pdf files with other users.  I tested with different Adobe readers (8.x , 9.x ). I tested on RH Linux and on Solaris - always the same result. File permissions after saving are 600 (rw-------) instead of 644 (rw-r--r--).  Adobe reader ingores the systems standard umask.
    Any help whould be great.
    Regards
    Tom  

Maybe you are looking for

  • Office Web Apps Server-2013

    Hi ! I have the following questions: 1. Do we use only Web Server (IIS) for this product or we can use other servers : Apache WebServer, other. 2. What  files or configuration files of the Office WebApps Server pack contain information about settings

  • Creating 2 iTunes libraries one on an external drive and one on my mac?

    How do i create two separate itunes libraries; a 'master library' on my external hard drive to save space and a 'Macbook library' for most played and recently added songs? I have itunes library manager but there doesn't seem to be an option for movin

  • Apps do not function as usual

    i cant use or open all apps that i have installed after i transfer songs from itunes to the phone.can someone help me with this

  • Batch Emailing Photos in iPhoto '08

    Hello Emailing a photo or two is cake, as long as having the photo inline in the email is ok. If I wanted to send a batch of photos, say 30 and wanted them 'packaged' in a folder instead of inline in the message, what would be the simplest way of doi

  • Upgraded to lion, mail didn't work. so i removed it...

    now i don't know how to install it back.. please help!