Write backup files as reading takes place in the event of computer failure

Hello

My application involves sometimes to test outdoors.  We have a PC equipment and robust data acquisition.  I'm in the Northeast, where in recent weeks were cold and we had to do a test on the outside.  Long story short, in the middle of the test the computer shut down (probably because it was too cold for the computer according to the data sheet) and I lost all the data from the sensor.  The coomputer works fine BTW when I brought it back inside.

The reason for which the data have been lost was because the program never completed and so the function that creates the data file has a chance to run.  Now, the data acquisition card, we used is very old and obsolete.  I am trying to upgrade the equipment with components or (PCI-6221) and a box of CSC-2345 with modules for two load cells load cells.  At the same time, I am writing a LabVIEW application that improves the old, obsolete program.

I want the application to write a file in spreadsheet with all the information of the sensor continuously as the test proceeds in the event of failure of the computer midtest.  In this way, I at least have some saved data.  I explained all this to another engineer here and he says that he cannot make this way at high sampling rates (I want to run the program at 1 kHz for 60 seconds).  His reason was that the writing on file screws up the waveforms that we measure because the file must be opened, the data gets written and then closed for each line of data points.  He argues that the resources of the computer will be linked up as it tries to write the file while the program is data acquisition and store these data in a buffer.

So my question is: what is the recommended architecture to write a backup file as a test occurs with a high (1 kHz and 10 kHz) sample rate when the computer shuts down or some other failure?  Also, what are the limits of performance when writing data to a file within the same line as the VI 'read '?

Thank you.

Rate from 1 to 10 kHz are in fact rather slow. You can use an architecture of producer/consumer to save text files, and there is simply no reason to open and close files permanently. With DAQmx, you can listen directly to the disk at much higher rates.

Tags: NI Software

Similar Questions

  • Anyone has an idea how to manually remove items that do not appear in the Collection, but take place on the device. Specifically, an audio book downloaded via Overdrive?

    Anyone has an idea how to manually remove items that do not appear in the Collection, but take place on the device.  Specifically, an audio book downloaded via Overdrive?

    Hello

    1. what type of files are in the audio book? Could you provide me with the file extensions?
     
    If you delete the information or files audio books could not show some information. I wouldn't recommend allows you to delete the files. If you want to remove them, you can contact overdrive support.

    Hope this information helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • When there are several tabs open, why the search always take place on the 2nd tab (first tab seems never to change the homepage) despite my selection of a different tab where to do a search on google?

    I have Mozilla Firefox 10.0. When I open it, it opens properly on the homepage in the first tab. Once I have another, or several, tabs opened, any tab is active, your google searches, I immediately takes place at the No. 2. Do not count how many times I go to the tab for example 4 to search (because I would compare with the page Web open in a tab 2), but it does still today the Search tab 2. It's very irritating. It must be a setting that went pear-shaped, but where / who? Any suggestions? Thank you.

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • Replace old hard drive with an SSD.  Nowsome keys on the keyboard no longer works.  Ex 'e' and 'b' keys no longer work?  Any idea what could take place in the disc replacement?

    Replace old hard drive with an SSD.  Now some of the keys on the keyboard stopped working.  Ex 'e' and 'b' keys no longer work?  Any idea what could take place in the disc replacement?

    Probably nothing, it's probably a fluke. Try resetting the SMC and the PRAM by iMac Intel SCM and reset the PRAM. If this does not work, try a USB keyboard to test, if it works then your original keyboard has failed and must be replaced.

  • I receive a "Low disk space" message and to free up space (d) car which seems full of backup files dating from when I got the laptop in 2008.

    I receive a "Low disk space" message and to free up space (d) car which seems full of backup files dating from when I got the laptop. Now I also have the message 'the last backup impossible' because I don't have enough space on this drive.  He had originally 110 GB Local disk (d :)) and it fell to 7.44 MB of free space.) Can I remove the back of the 'safeguards' located in the 3 files and start on the 17/04/2008 right up to 2011-01.05 and just keep the last backup or removing the back will cause problems? Can someone help thank you.

    Hi KarenRoss56,

    You can try to remove the old files of backup from 2008 to 2010 and check.

    Note: When you delete these files and later if you perform a restore, you will not be able to get previous data. If you need one of these files, you can transfer the files to an external drive before you delete the system files.

    You can also use Disk Cleanup to reduce the number of unnecessary files on your hard disk to free up disk space and help your computer run more quickly.

    Delete files using disk cleanup

    Hope this information is useful.

  • Random BSoD occurrences, can not read the message because no option to put an end to restart in the event of system failure.

    My girlfriend has a HP dv4-1465dx experiencing hardware problems, the laptop will be blue screen randomly and then restart 1-3 seconds later. When you restart the laptop reads, "No boot device - insert boot disk and press any key." If the laptop is turned off and turn it on again, it works fine, until the next BSoD. The first time that this error the hard drive was seized up, unable to enter a bank hard disk enclosure repair attempts that forced me to buy a new one.

    I tried the bios of an option to disable the restart in the event of system failure so I could read the error message, but it only gave me discover that HP has less useful bios in the world and that no such possibility existed; Yes I have updated the bios. Start/hardware error logs contained no data also, what so ever.

    The hard drive is fine, I ran it in my office for several days. a BSoD happens within his laptop several times a day.

    I don't know what to do at this point is that I have nothing to work outside of, I hope someone has a useful idea. The laptop is no longer under warranty, but this is ridiculous, how fast this thing is falling apart (literally... screws are only randomly drop the case).

    Yes I really don't think that this is the case. As mentioned above is not my laptop so I'll probably wait until he decides to restart not at all before eventually taking an iron to be welded to it. Thanks for all the information, assume that nothing can be done at this stage.

  • Moving backups Time Machine - the operation cannot take place because the backup item is not editable

    I want to change the external hard drive that I use for my time machine backups. I went through the steps listed here:

    Time Machine: How to transfer backups from a current backup disk to a new backup drive - Apple Support

    It seems to work correctly. I shot TM back and adding the new drive. TM is now backing up files on the drive up, but there is a problem.

    For some reason, TM has begun to put backups "freely" for lack of better in the external hard drive, and not in the backups.backupdb folder for a week, then returned to save them in the backups.backupdb > ComputerName > files from backups. So in other words, when you click on the hard drive in the finder, it opens the player and you see a folder named Backups.backupdb and then a bunch of mixed in which files are backups time machine named 2016-01-24-XXXXXX, etc.. When you go to the folder Backups.backupdb, there's a more random "loose" time machine backup file 2016-01-23-XXXXXX, and then another folder with the name of computers and in the folder are all TM backups except loose ones I mentioned earlier.

    It seems that TM is working properly now, but I don't know why he put the files from the first days outside the backup folder. However, when I do drag, I get the error:

    The operation cannot be completed because backup items is not editable

    I want to just put all the files in the right folder so that I can A) keep my disk organized and (B) ensure what TM can find everything correctly should I have to go back.

    No idea what is happening and how to fix it?

    Although the documentation Apple says you can copy Time Machine backups in the Finder, it is very slow and sometimes does not.

    This technique works only if the volume that you copy to the same size or larger that that you are copying to.

    First of all, please open the Time Machine preference pane and click the Select Disk... button. You may be able to unlock the settings first, by clicking on the padlock icon in the lower left corner of the window. Log in as administrator.

    Remove the volume you want to copy in the list of backup destinations. Then turn off Time Machine.

    Launch disk utility, open the built-in Help and search for the term 'Double '. Follow the instructions. All existing data on the destination volume will be deleted. That shouldn't be a problem, because you do not want to mix non-sauvegarde and backup data on the same drive anyway.

    If the volume you are copying has been encrypted by Time Machine, you must first unlock it. Click the release button in the toolbar of the disk utility window.

    Turn Time Machine back on and select the new volume as a backup destination. Alternatively, you can continue to use the old volume, if you wish. Both will be alternated when both are available.

    ATTENTION: If you copy the volume is corrupted, as shown by the ERD or first aid in disk utility, while corruption is copied to the new drive. Do not copy data from a damaged on a faulty disk volume. Put aside the reader and do not use until you don't know that you no longer need the data. Then securely erase it and bring it to a recycling center. Do the same if the restore operation fails with "disk errors."

  • Basic binary file not read unless placed in the Exact Format, it is from?

    OK, check this.  This just makes no sense to me.  First, you will need to run it and create two files.  You will get an error at the close.  Now... Here's what makes no sense to me.  If you enable the disabled diagram and read this file, you can watch how the file is read and interpreted data.  How is it different and not causing no not a mistake?  I took the U8 and changed its original format of Boolean Array [8] and received an error message.  Which means that the data has been read as a U8 at some point.  But... for any reason, cannot be read and displayed as a U8.  What is happening with this?  What I don't understand?

    Freeshape wrote:

    Huh... no reading and writing.  Read or write.  Gotcha.

    Not quite.  It is hence is the file pointer.

    The file pointer is where in the file will be read or written, according to what you are doing then.  When you write to a file, the file pointer is set to be directly after what you just wrote.  When you write a new file, the file pointer is at the end of the file.  When you try to read when the file pointer is at the end of the file, an attempt to read at the end of the file is located.  But there is that nothing so he could read it.  As a result, you get an end of file error.

    So if you added a file position set to set the file at the beginning of the file pointer, you can read your byte without error.

  • Cannot access the backup files on my external hard drive, the files are in the VHD format.

    My laptop was stolen Monday. I have a backup stored on external hard drive, but cannot open the becaause it is VHD format. My laptop has Vista Business my home computer has Vista Home Premium. How can I open the VHD.file?

    I used WINIMAGE to view backup files, it is a very good program.

  • problem takes place during the connection of laptops in LAN...

    After you have completed the steps to sharing...

    When I go into NETWORK... it shows me the two connected computer.

    but when I doulble click on PC - 2-PC-1... He asks me a username and password...

    I don't know what username he wants...

    When I give my password and PC - 1...

    He asks again and again...

    Why does this happen?

    What do you mean by "all stages until sharing...?  How to configure file sharing?  You use a group home or a working group?

    See file sharing essentials

    http://Windows.Microsoft.com/en-us/Windows/file-sharing-essentials#1TC=Windows-7

  • Model bag Clickfree Automatic Backup Device HD325 does not work in the Windows XP computer.

    Original title: BAG Clickfree Automatic Backup Device model HD325

    Cannot use the automatic backup device model Clickfree BAG HD325 on Windows XP.  It's a plug-and-play device.

    I tried to pass by and update the driver, but the wizard tells me there are no newer drivers available, and when I try to restore the driver tells me that there is no previous driver.  The USB port works properly and is the reading device.  I also tried to uninstall and reinstall the driver by using Device Manager, and the camera will not work properly.  The taskbar has said it malfunctioned, impossible to install correctly. and won't work properly, but after fiddling around by using the methods mentioned above, it says now that it is installed and ready to use, but the program does not start automatically.  I've been through to try to start the program manually, but it is not listed in the start menu or desktop.
    I also tried to add material using add new hardware, but it's not listed there either.
    I was able to use this program in the past, why I am no longer able to use this device?

    Hello

    You are able to use any other USB device on your computer?

    You can follow this link & check if the problem persists:

    USB port may stop working after you remove or insert a USB device

    Hope the helps of information.

  • SecEvent newspaper missing file - access denied error (5) through the event viewer

    After you save and clear logs (more precisely the security log file), I stop the PC.  It is started the next time, I went to read the log through the event viewer, I encountered this error: could not open the event to the event log viewer or custom views.  Verify that the event log service is running or query is too long.  Access is denied (5). (((("I checked that has) I use the admin account b) other log files are fine) 3 the secevent.evt file is not present in the C:\Windows\System32\winevt\Logs folder 4) on the creation of this file (as a copy/past from the application log file and rename it to secevent) the file is not written in.  (5) event log service can be restarted without error. (6) can not clear the security log file, I created.  Error reads as follows: Event Viewer is unable to clear the log.  The following error occurred: access is denied

    Any help is appreciated.

    I ended up having torebuild machine from scratch.  Nothing else has worked. Good luck

  • Cannot restore bookmarks. "Unable to process the backup file." I tried all of the solutions that I can find online.

    I am under W7 and 14.01 FF. My FF admin account works fine. My work account has problems. In the past I was able to get the bookmarks to return but not this time.

    The favorites were there yesterday morning and disappeared in the afternoon. Nothing has changed between the AM and PM to my knowledge. I tried every solution that I could find online but still no bookmarks.

    Problems with bookmarks and history does not properly can be caused by a corrupted database places.sqlite file.

    You can try to check and repair the database of places with this extension:

    Also, make sure that the backup has the correct file extension (.json to restore a JSON backup).

  • You want to take backup USB 3 n 1 player to the Windows XP computer.

    Original title: 3 n USB adapters fitting 1.

    I have a usb 3 n 1 drive adaptor plugged into an infected computer and I would see that he kept this computer but I don't know how, please help!  I am just checking that it saved so I can connect a machine to better protected and remove the virus... someone, anyone, please help!

    Hi Natasha,.

    1. what exactly are you trying to backup?

    2 do you have enough space on your computer for backup?

    3. what version of Windows XP is installed on your computer?

    To perform the data backup in Windows XP Home Edition, you can follow this link & check if the problem persists:

    How to use the backup utility to back up files and folders in Windows XP Home Edition?

    Hope the helps of information.

  • Files in Adobe take in charge the missing folder?

    I was suddenly a message when I open Photoshop CS6 saying "one or more files in the Adobe support folder, necessary for the operation of Photoshop are missing.  Run the Photoshop Installer and re-install Photoshop.  When I press the OK button I can continue to use Photoshop for most without problem.  This message appears only on initial opening the app.  Any ideas?

    Everything solved!

    There was a missing file in my folder of the library of scripts editions.  I just copied from a previous backup upward and pasted into the current library and the message is passed now when I open Photoshop.

Maybe you are looking for