Reduces size of file is saved with the time

Hi all

I use the system data with sample rate 10000 and 1000 per channel (there are 4 channels) to acquire the analog voltage signals to measure the amplitude of each channel.

In addition the raw signals are saved as file TDM to a minute. The system works continuously for a week. I noticed that, after 3 hours, the size of the saved file is decreased according to time.

Size starts with 50 MB/min and after 3 hours, it became 42 MB/min, after that 1 day became 11 MB/min. Which indicates that the data has been lost, please, what is my programming error.

Thank you

Since the zero status code, there are several things that could improve here.

1. you only need to create the task once before the main loop.

2. you probably don't even need the loop outter if you use logging configure DAQmx as I already said.  And you can use the properties to say how many samples to be included in a file before I go, so that the part of your code is eliminated.

3. the display can be just a simple chart (it seems that you probably already use a chart).

This defined for your ranking history?  May cause your slowing down if there are too many data points.

Tags: NI Software

Similar Questions

  • My goal: "convert to pdf"-> the file is saved with the same name as pdf instantly. feasible?

    Hello dear experts

    I use Adobe Acrobat 9 pro extend to convert word, ppt, jepgs etc. in a PDF file.

    Not if I

    (1) convert a ppt in pdf: he asks-> "save under"-> converts--> opens the file

    (2) convert a JPEG to PDF: it opens instantly-> file in pdf-> I need to save manual under "save under".

    In both cases, I want to

    My goal: "convert to pdf"-> the file is saved with the same name in pdf instantly

    WITHOUT asking me "save under" + "opening the file.

    Is possible and if so, how DO ?

    A fast response is very very much appreciated, because I need to convert hundreds of files this evening in order to get into 1 pdf

    THX and greetings from the Germany,

    Julia

    Try the forum for Adobe Acrobat.

  • size of files when saving for the web

    'Save for web' sometimes export icon to very small size with size huge file (500Ko), when I take the same image and re - record using "Save for web", I get the small file (1 or 2 KB)

    Why does this happen?

    This happens because Photoshop is save the metadata in your PSD and JPG files. You can see that from Photoshop in file Info under the file menu, and then on the tab of raw data you will be able to see usually several lines of metadata information, sometimes thousands, and if you did a lot of manipulations on the file that can add literally MBs to the size of the file. Save for the Web and export as you can delete metadata. Personally, I find it a nuisance more than a useful feature tends to remove metadata from Lightroom, there is a plugin that allows you to select what you want to keep and what to throw away.

    Hope that helps

    Terri

  • While trying to install windows 7 pro 64-bit, as the files to try to finalize an error message appears and says that windows cannot manipulate files to work with the hardware in my computer

    Original title: Win hardware problem. 7 PRO

    Trying to install windows 7 pro 64-bit, and while files are trying to finalize a message error shows up and says windows can't handle files to work with the hardware in my computer.

    The only thing I can think is that maybe the Mobo is not compatible with windows 7, do not answer on the Asrock web page.

    -Asrock Fatal1ty killer FM2 + Mobo. Processor AMD Athlon X 4 860 K. RAM Corsair 2133 (executed in 1866)

    Or they are corrupt, try to get a new copy and try again.

    For 5 years, Microsoft made it fairly easy for users of the Windows 7 operating system to get reinstall media. If you have lost your support disc or installation retail collection; either it has been damaged or defective; You can download a copy of the edition that you have licensed from a membership site called Digital River. More recently, Microsoft ended the availability to reinstall media that you can download as a. File ISO in Digital River, which is a digital reproduction of an optical disc.

    It was particularly convenient for people who could not easily get the manufacturer's recovery media, did not want to pay the fees required to get or preferred a clean configuration without the software packaged manufacturers or even a recovery partition does not work. It's easy to use, all you had to do was reinstall and reactivate using the product key located on the certificate of authenticity and download all the drivers on the manufacturers website.

    Given that this option is no longer available, what are your options? See the article for more details:

    How to: What are my options for Windows 7 reinstall media?

    Make sure you scroll down and read the section:

    What to do if you cannot get your manufacturer recovery media, refuse to use or to buy it or the Microsoft Software Recovery Website does not work?

  • Is it posible to track people play that your app is saved with the help of bbm surveys.

    Hello

    Save with bbm on launch my application.  There are statistics that I can look who will give me a sort of return to how many people my app was saved with the help of bbm surveys... find out how many people have my app diaplayed in the Apps of their bbm profile section...

    Thank you

    No, we don't currently offer reports with this information.

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    I have the first Pro 2015 but when I try to open a project that has been registered with the Premier Pro 2015 on another machine I get an error message that says that the project has been saved with the latest version.  Help!

    It seems that your version is not the latest.

    Check help / about... what version it reads.

    It should be 2015. (9.2.0 build 41)

    Otherwise, please update your version via app updates... or cloud in respect of aid.

  • is it possible to save files in illustrator with the trial version a month?

    is it possible to save files in illustrator with the trial version a month?

    Yes you can, but also easy to ask the question. Download the route and try it

  • Why the titles are not saved with the project? Where are they?

    CS5 PC.

    Why the titles are not saved with the project? Where are they? I can save them with the project?

    You can also configure a project basis including all titles.  When it's time to start a new project, open the template and change the name before starting to work.  In this way all the foundations are in place without having to implement the project with these basics every time.

  • I have the problem with the time in my laptop

    Hello everyone,

    I have issue with the time, whenever I stop my laptop for 2-3 hours. He return to date 01/01/2006 12:00 AM

    What should I do?

    Hello

    Did your laptop more than a few years old?

    The symptom you describe occurs when the battery that powers the CMOS BIOS chip wears.

    The CMOS battery is responsible for providing voltage to the CMOS chip so that he remembers actually all parameters, including the time and date, that have been defined.

    Replacing the CMOS battery is pretty simple in a standard OEM desktop PC. Unplug the unit. Open the case locate the quarter size battery. Remove the old battery and replace it with a new one. Plug in power and start the PC and set the time and date and accept the default settings. That's about all there is to it.

    Replacing the CMOS battery in a laptop requires generally a bit of disassembly of sequential parts just to get to the battery. Not all laptops are, but most are like this.

    I recommend that you have the CMOS battery, replaced by a HP authorized repair center.

    Kind regards

    ERICO

  • I have installed Adobe Audition on my pc but I have a problem with the time and the effects of pitch appear unavailable

    I have installed Adobe Audition on my 64-bit pc but I have a problem with the time and the effects of pitch appear unavailable because... I can do?, installed on another PC laptop 64 bist and does not

    My guess is that you are in multitrack view and not editview

    These fx are destructive and only take effect when you change a single audio file in editview

  • I have problems with my computer with the time remaining after I reset the clock and made sure it was on the correct time zone and summer time has been check the battery has also been replaced

    and it will not keep the exact time it will keep accelerate at least 5 minutes or more.

    I don't know what else to do about it. You can someone help me?

    I still find myself make too many assumptions.
    First of all, I guess your derivative of clock occurs during the time when the computer is running and not during the period where it is off (or immediately early)?
    Second, I'm assuming that when you run the command "w32tm/Resync" above, the clock made it back to the correct time and no errors were reported?
    Third, you say that your clock drift 5 minutes or more, but you do not tell us how long this gain occurs.  It is two times more win if you wait twice as long to check?  Is the gain gradual or sudden?  Keep he wins or if he stops wins once it arrives before?

    Conditions of default for a computer connected non-member of the field, the time will be updated network-time only at the start and then once a week.  If you are winning too much too quickly, you can adjust how many times your computer asks for time.  Computers in the domain must be more precise and one every hour for a default time synchronization.  You can set your W32tm to that of a computer in the domain to resynchronize your computer more often (SpecialPollInterval).  Here are two articles that describe the clock settings:

    "How to synchronize the time with the time service Windows in Windows XP"
      <>http://support.Microsoft.com/kb/307897 >
    "Time Windows Services tools and settings.
      <>http://TechNet.Microsoft.com/en-us/library/cc773263%28V=WS.10%29.aspx >

    HTH,
    JW

  • Microsoft Windows 7 is not syncronozing with the time server, what can I do about it?

    Windows does not synchronize with the time server. For me, it says that there is no previous time being synchronized on the record, but I don't see why it should not be synchronized at all!

    Have you tried one of the alternative servers?

  • DatePicker with the time in the report of the collection

    Hello

    I've created a report through collection. Now, I want an APEX_ITEM. DATE_POPUP with the time in the report.
    To do this, I made some changes in my report, when I change APEX_ITEM. TEXT in APEX_ITEM. DATE_POPUP, then there is an error a occure and when I the lance.

    Error: - ORA - 01858: a non-digit character was found here where was waiting for a digital.


    my code is

    Select HTMLDB_ITEM. HIDDEN(1,SEQ_ID),
    APEX_ITEM. C001 Text(2,a.C001).
    APEX_ITEM. DATE_POPUP (3,a.c002,'DD/MM/YYYY HH24 ') c002.
    APEX_ITEM. Text(4,a.C003) c003
    OF APEX_COLLECTIONS one
    where a.collection_name = 'REC_ITEM. '


    I change here too.

    Start

    because me in 1... HTMLDB_APPLICATION. Loop G_F01. Count
    htmldb_collection. () UPDATE_MEMBER
    p_collection_name = > 'REC_ITEM ',.
    p_seq = > HTMLDB_APPLICATION. G_F01 (i),
    p_c001 = > HTMLDB_APPLICATION. G_F02 (i),
    p_c002 = > to_date (HTMLDB_APPLICATION. G_F03 (i), ' DD/MM/YYYY HH24'),
    p_c003 = > HTMLDB_APPLICATION. G_F04 (i)

    end loop;

    htmldb_collection.add_member
    (p_collection_name = > 'REC_ITEM',)
    p_c001 = > NULL,
    p_c002 = > NULL,
    p_c003 = > NULL,
    );
    end;


    In the datepicker report has created, it is not a datepicker with the time, see the only date, not a date with time.



    Thank you
    Maury

    Maury, I've done a workaround, you can read here: error in date picker in relation to collection

    Edited by: AndyPol 2009-09-11 16:24

  • help me create a column with the time format

    Hi all

    Please help me find the query to create a table with 3 columns and insert the following data

    ENTITYID | CHGDATE | CHGTIME

    ======= ==================== ========

    4214984 | 2 OCTOBER 06 12.00.00.000000 AM | 07:23:57

    4214985 | 12.00.00.000000 11-SEP-08 AM | 10:52:19

    and update of the first line of the above table as follows
    ---------------------
    4214984 | 2 OCTOBER 06 07.23.57.000000 AM | 07:23:57
    ------------------------
    you will need to update the CHGDATE column with the time of the CHGTIME column.

    Sorry, we need a new format around the to_date

    select to_date(to_char(chgdate, 'mm/dd/yyyy') || ' ' || to_char(chgtime, 'hh24:mi:ss'), 'mm/dd/yyyy hh24:mi:ss') from etime3;
    

    This should telll Oracle to the format of the generated string. If this isn't the case, run select with the to_char two as separate columns to see that get us the data that we expect.

Maybe you are looking for