Big file save

Hi all

I worked in a script in DIAdem, and I met a sink big time. Some of the files I work with are more than 200 MB and these files load in a minute or two but when I save the data, it can take 20 minutes to save. I was wondering if there is any way to speed up this process, or if we need to change our data QA process for small data files. The files are initially read only and are then edited and saved under a new name. I would like to know if it is anygthing I can do.

Thank you

Sadie

One of the effects that can influence is the College some time loading of the file can be contained within the backup time.

The following script contains a few effects.

  • BulkDataLoadingMode causes by default only in bulk, the data is loaded on access. In the script, the file is completely loaded.

  • SaveTdmsLocalAndMove saves the file in the temp folder and it moves later.

If the share is connected via DSL unlike downstream and up to speed may affect the result.

(20 seconds is plenty of time for 200 MB tdms file. Is potentially not local windows share)

Option Explicit

protected srcPath: srcPath = "\\server\share\example.tdms."
Dim targetPath: targetPath = "\\server\share\exampleOut.tdms."

data. Root.Clear

If FileExist (TargetPath) then
fileDelete (TargetPath)
end if

Dim txt: txt = «»

stopwatchreset 1
call LoadTdmsFileImediately (srcPath)
txt = txt & 'Load' & stopwatch (1) & "s" & + "\n"

stopwatchreset 1
call SaveTdmsLocalAndMove (targetPath)
txt = txt & 'Save' & stopwatch (1) & "s" & + "\n"

MsgBox txt

Sub SaveTdmsLocalAndMove (byVal targetPath)

Dim fileType: fileType = UCase (right (targetPath, len (targetPath) - instrRev (targetPath, ".")))

protected tmpTargetPath: tmpTargetPath = TmpDrv & "\SaveTdmsLocalAndMove" & fileType
Call DataFileSave (tmpTargetPath, file type)
Call DataFileMove (tmpTargetPath, targetPath)

EndSub

function LoadTdmsFileImediately (byval srcFile)

protected oldBulkDataLoadingMode: oldBulkDataLoadingMode = BulkDataLoadingMode
BulkDataLoadingMode = eBulkDataLoadingImmediately
error resume next
DataFileLoad srcFile
LoadTdmsFileImediately = err.number
on error goto 0
BulkDataLoadingMode = oldBulkDataLoadingMode

EndFunction

Tags: NI Software

Similar Questions

  • Photoshop file save more than what it takes.

    Anyone else having a problem with Photoshop files save a lot too big? I'm trying to save a small jpg file. When I choose the image size is 300px x50px 43.9 k 72 dpi. When I save the file as a jpg file is 18 M, regardless if I decrease the image options, it's always 18 M. I reinstalled Photoshop and nothing helped.

    This could be caused if you save large amounts of metadata. Open the file jpg in Photoshop and under the file menu, select File Info and look at the properties sheet. Special attention to the raw data - you will find that you have hundreds of lines of what looks like Global identifier information. If this is the case try re-record the jpg file using save it for Web export with high quality filter, the maximum value. Open the file and look at metadata. If I reason it will have removed the nonsense and replaced with a few rows of data. The file size should be much smaller.

    hope this works

    Terri

  • Cannot access the lower part of the option "file save as" in word

    If I choose the option "file save as" in the word, the bottom of the box is below the bottom of my screen and inaccessible. I tried to resize my screen and other options without result. Does anyone have any suggestions on how to fix this on a macbook pro?

    You must slide the lower part of the document itself upwards until the document is small enough so that the bottom, it is visible in the screen...

  • Found 0 results for my browser missing important elements, the menu..., whole tool bar drop down to print, copy, work offline, file, save, bookmarks, history. I just installed latest foxfire on windows xp. Found a few instructions, but they called in the

    Found 0 results for my browser missing important elements, the menu..., whole tool bar drop down to print, copy, work offline, file, save, bookmarks, history. I just installed latest foxfire on windows xp. Found a few instructions, but they called the keys of my computer does not have (key under OSX there no file, edit, history, help, tools, navigation, all the things that your directions say to use. Also, I'm still hanging and the message a scrip is running. I don't know what are the thises scripts but I of course don't need them.

    This has happened

    Each time Firefox opened

    == I just noticed it. It probably happened when I upgraded foxfire.

    Don't see the menu bar not (File, Edit, View, history, Favorites, tools, help)?
    Turn on/off the menu bar is a new feature in version 3.6.
    (Linux and OSX see: what happened to the file, edit and view menus? )
    Windows Method 1. Press and hold the key and press the letters of the following in this exact order: V T M
    Windows method 2 Press and release the button. The Menu bar is displayed; then choose ~ ~ red: V ~ ~ iew > ~ ~ red: T ~ ~ oolbars and click on ~ ~ Red: M ~ ~ enu Bar.
    The menu bar should now be displayed permanently, unless you turn it off again using view > toolbars. Check = not displayed, NO check mark is not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing

    Navigation, bar toolbar bookmarks and other toolbars under view > toolbars. By clicking on one of them will place a check mark (display) or remove the check mark (not shown).

    To display the status bar, view, and then click status bar to place a check mark (display) or remove the check mark (not shown).

    Mode full screen
    http://KB.mozillazine.org/netbooks#Full_screen

    See also:
    Back and front toolbar buttons or others are missing
    Customize controls, buttons, and Firefox toolbars

  • How to extract a file 'save '.

    I have a need to extract a file 'save' - what is the best procedure to follow?  Thank you.

    Hi John,.

    ·         Do you have a backup file you want to restore?

    ·         What software did you use to back up files?

    If you used the Windows backup utility, you can read the following article.

    Microsoft Windows XP: restoring files and folders

    Do not respond with more information, if this isn't what you're looking for.

  • Where is the file / save as tab in windows media player 7?

    I want to record video clips that open in the player to drive specific locations as I did in vista under file / save as... all I see is to add to the playlist, but nowhere to save a downloaded file. When I save in the playlist it just records the location of web and recharge and opens the online source file is

    Once in WMP

    To activate the "Show Menu bar".

    The short keys are: Ctrl + M

    or

    The long way:

    Right-click in a blank space between the title of the Windows Media Player window and the words "library, music, artist.

    Click to enable "Show Menu bar".

  • PS CC MAC stopped file save 38%

    PS CC MAC stopped file save 38%

    Five hours ago, I clicked on save file as usual and he never moved form 38% - now it is five hours later.  I don't have any other programs running.

    How can I keep my job if I have to stop?

    He is obviously not going to entirely c] save the file.

    Then the backup file should exist even if the save operation is not completed.

  • Adobe Reader DC Mac: Unable to save under. When selecting file / save as a blank browser screen appears

    Mac OS x, Adobe Reader DC:

    When you select file > save as, a blank browser window opens, leaving me unable to save pdf files.

    Hello

    Please try this: -.

    Acrobat > Preferences > General > under the basic tools to uncheck the option for "Show online storage while saving files" & "show online storage while opening files."

    Kind regards

    Christian

  • After purchasing the software to export PDF online when I try to perform a "file/save under ' when viewing a document on the web, it hangs to the top of the windows Explorer.  I get "file save as - does not.

    After purchasing the software to export PDF online when I try to perform a "file/save under ' when viewing a document on the web, it hangs to the top of the windows Explorer.  I get "file save as - does not.

    Hi douglash21414001,

    I think maybe it's a coincidence, that nothing is installed with ExportPDF, so nothing should have changed your web browser. That said, you can clear the cache of the browser and then re-open your browser. (What browser do you use?)

    You can also try to restart your computer, if the browser is restarted does not solve the problem. But still, I don't think that this problem is related to the ExportPDF.

    Please let us know how it goes.

    Best,

    Sara

  • File > save as other > Reader Extended PDF > Enable commenting & measure GREY

    I have a PDF form created in Adobe LiveCycle Designer ARE 10.0.

    When I open in the player, all the 'Sign' options are grayed out.

    Under 'Properties' signature is allowed but is not the case with comments.

    Everything I saw, I hope that allowing comments will allow me to use the features of sign.

    The only solution I found on the internet is below:

    File > save as other > Reader Extended PDF > enable commenting & measure

    It is grayed out in my (latest version of) Acrobat pro.

    * Is at - it a way to make this option available? **

    * Even solve my problem? **

    * Is it possible that it is impossible to use these features on this document? **

    At this point, I spent about two hours on this issue and have not been able to find a solution. Very frustrated.

    Thank you.

    Comment is not allowed for dynamic XFA forms, but should be with static XFA.

  • JPEG file save and the rate of loss in PSE

    When working with jpeg files in the editor of PES, PES runs an automatic internal file 'Save' after each adjustment, (levels, color, etc.)?  I always thought that the file will not be saved until the user makes a manual backup once the editing is complete.

    If automatic 'saved' internal is performed after each adjustment on a jpeg file. then the image degradation may be accelerated beyond what we could expect, that is, each saving a jpeg file reduces the quality of the image.  If these automatic judgments are made, so I assume that is the only way to edit files in psd format, then save the final psd file to a jpeg format to save disk space.

    Bob Ward wrote:

    When working with jpeg files in the editor of PES, PES runs an automatic internal file 'Save' after each adjustment, (levels, color, etc.)?  I always thought that the file will not be saved until the user makes a manual backup once the editing is complete.

    Yes.

    If automatic 'saved' internal is performed after each adjustment on a jpeg file. then the image degradation may be accelerated beyond what we could expect, that is, each saving a jpeg file reduces the quality of the image.  If these automatic judgments are made, so I assume that is the only way to edit files in psd format, then save the final psd file to a jpeg format to save disk space.

    No, the format "in memory" is not saved on the disc, unless you manually choose to "save under".

    If you periodically save a jpeg version (by overwriting the older), without closing the file, changes to jpeg compression are not cumulative. The version "in memory" is kept. It's not as if you save it in jpeg format, close and reopen, in which case compression double jpeg would have occurred.

    If you want periodic stops in a long of an image editing session, it is best to save as psd, because saving layers, selections... It is also best if you work in 16-bit. If you save as a jpeg, the jpeg compression will be done only once, there will be no cumulative loss of quality.

  • How can I get a symbol to save (instead the file---> save / Ctrl + S)?

    [CS6 extended]

    I want to click with the mouse on a symbol (normally it takes I have disc symbol I think) to save my

    changes instead of using the file-> save or Ctrl + S.

    But the problem: I can't find a symbol disc/save in Photoshop and

    also don't know how I can get it.

    On the 'Window' menu I can't get a word 'save' to check it.

    How can I get a 'Save' symbol in Photoshop CS6 Extended?

    You might be able to make a button with Configurator

    http://labs.Adobe.com/technologies/Configurator/

  • File > save as Ctrl + Maj + S versus

    Is there a way to make the feature in menu file > save as and the keyboard shortcut Ctrl + Shift + S behave exactly the same way.

    When you use the menu, the file opens automatically with the new name.  It it also automatically made a PSD file (if something photoshoppy did for her).  It also does not make a copy.

    When you use the keyboard, you must select the file type in the list.  It is not automatically open the file with the new name (frustrating if you are still editing).  And he always makes a copy.

    Is there a setting that I have on or off?  This behavior runs through the suite CS5, Photoshop, InDesign and Illustrator.

    Please send suggestions or advice to correct this.  It is so much easier to use the keyboard shortcuts, but takes more time because of the behavior.

    Thank you

    Gilley Estes

    Adobe CS5 Suite

    Yes the Ctrl + Alt + S is save as copy and Shift + Ctrl + S Save as.

    The Save as copy the shortcut (Ctrl + Alt + S) is an old shortcut used when photoshop

    could only save layered PSD files (other formats may not be registered with layers)

    and that's why the shortcut isn't in the menus, but it is still displayed in the

    keyboard shortcuts Editor, but does not say what the difference is.

    Save as copy (save a copy) in older versions of photoshop was as save a flattened copy

    of the file (if the record in one format other than psd), but now it mainly adds just the word copy

    unless you uncheck the box layers in the Save as dialog box.

    This an old version of photoshop with Save as copy (save a copy) listed in the file menu:

    MTSTUNER

    Post edited by: MTSTUNER

  • Impossible file, save as in Adobe Reader 9.1.2

    I have currently access my electricity and gas bill online and the two of them are always displayed in pdf format.  Unfortunately, since the Player 9.1.2, update I am more able to see the menu of the toolbar, normally above picture icon, then the file toolbar menu, the option Save under is not visible.  So, I can no longer save my bills for electricity and gas on my PC but may not be able to print them rather that is slightly beating the entire object to have my bills online!  Can anyone explain why I'm not able to see the file, save as option at all?  I asked my electricity and gas supplier and they tell me they can see very well for their purpose.  They are currently using Adobe Reader version 7.

    Go in the Tools menu and then choose customize toolbars.  Scroll the file toolbar, click the box beside the Save icon, and then click OK.

  • Cropping creates the HUGE file - too big to save

    Hi-

    I am running PS CS3 and have developed a problem with trimming using the crop tool.

    When I crop an image like this:

    4368 x 2912 pixels (size in pixels 72.8 M)

    12.133 8.089 x inches, 360 ft

    size 250 960 KB

    I get a file like this:

    5760 pixels x 4320 (142.4 M dimension in pixels)

    16 x 12 inches, 360 ft

    size 2 145 800 KB

    This file is too big for the PS, then save.

    What is going on? I have not changed anything with the PS, except RAM adjusted according to reviews of Tim Grey.  I found an ad that says to reset preferences, so I tried, but it did nothing.

    Thank you!

    Press the clear button in the Options bar for the crop tool and make sure you enter the correct units in each field!

Maybe you are looking for

  • How to iphone and ipad detectable with the Mac for wireless and Bluetooth

    iMac is 21.5-in. version 10.11.5; iPhone is 5 c, version 9.3.2. iPad is version 9.3.2. Each device has the ability to drop and it works between iPhone and iPad, but no device is discoverable to the iMac.  I use the dongle Broadband Pendo, connected o

  • cannot select the color of the mark on the intensity

    Hi people, I want to add color to my plot intensity, but when I right click on the bar of color card, the mark color is gray. A picture is attached.  I use LV2011. Someone knows how to fix this? Thank you. -Sonny

  • code error-50103. Program hangs after the departure of task, readout and task of clearing.

    I'm having trouble with this unique analogue read. The situation is the following. I have a thread that executes a task. The task runs for continuous, but sometimes based on acquisition a push of button in the GUI I need one analog reading from a sin

  • Downloaded Driver does not install correctly

    Print HP 2410 died, but everything on my pc and the set up worked well.   I got the used 2610xi.  I removed the 2410 and tried the disc to instal 2610... She has no cause not windows 7... closed it... went to HP.com and download the driver and 5 upda

  • Updated 32-bit to 64-bit.

    It's my second HP Pavilion v9000. My first one was Windows Vista, I'm guessing that 32-bit. My motherboard gave out so I bought the PC the same b/c my other has a new hard drive, screen, keyboard and a system to windows vista recovery disc, (I used m