Save the data when the signal is stable at least an hour

All, can you please help me with the following:

I data connect when a signal is at least an hour between two values. If this is the case, all data can be stored. If this isn't the case, let's say that after 30 minutes that a signal is out of specification, previous data measured in these 30 minutes are not displayed in the log file. Does anyone have a solution for this?

Thanks in advance

This can be useful. Sorry, the code is a little messy!

Tags: NI Software

Similar Questions

  • CHKDSK is at the same point for at least 5 hours

    I have a 4 years old Dell Studio 1558. He worked slow/no correctly. Action Center recommended running a CHKDSK. I understand from reading other messages that it takes some time. However, I started this 7 hours ago and it has not progressed in the past 5 years. I think it would be easier to be patient, if I saw progress. He is currently at step 4 of 5 with 13 percent. It seems to be stuck at 421778 of 528368 processed files. Should I do something differently?  I understand that it is risky to have an abortion.

    Hello

    If Chkdsk is blocked, he'll keep hanging. The best you can do is Cancel and try again. If it crashes again, your hard drive is faulty, pure and simple.

    If you run it with the scan only parameters, cancel it will not hurt either. However, if you ran it with scan + attempt to repair bad sectors, no promises.

    Kind regards

    Patrick

  • Save triggered data of 2 modules

    I use SignalExpress (3.0) with USB cDAQ-9172, NI9203 current and voltage NI9201 module.  After the acquisition of (continuous) data, I use a trigger current 9203 signal software to analyze and record the triggered data (collected on the 8 channels on 9203).  However, I am not able to save the data of the voltage module 9201?  Looks like that the trigger for software only accepts a single module entry (I think).  As indicated in the attachment "triggering Input.jpg" I can only select 1 module as input for the relaxation of software (current module or module voltage)

    Is it possible to trigger on a single track and then save the data of these two modules?

    Thank you!

    Ryan

    Hey Ryan!

    You can actually do all this one-step DAQmx Acquire.  There is a tab in the acquisition stage where you can specify your trigger.  Then, there's a recording options tab up at the top where you can choose to save your data when starts it logging to a file TDMS that can be read in excel.

  • How to use "Write to the spreadsheet" to save the data when I want?

    When I use write on worksheet to record data, I must determine whether to save data or not before running the program, is there a way I can run the program and then decide whether to save the data, which means I can have a 'save' botton After runing the program, when I shoot, I can record data, otherwise, it is not. Thank you.


  • Unable to save the 'Release Date' field in iTunes/Windows 12.4.0.119

    Unable to save the 'Release Date' field in iTunes/Windows 12.4.0.119

    I've just updated to 12.4.0.119 and can no longer add Release Date for a TV show.  When I go to "Get Info" and type the release Date, it allows me to enter a valid date, but as soon as I have the label off the field it emerges by itself.  If I enter the date and click on 'Ok', the date is not recorded.

    I had this same problem Windows 10. Just tested it on iTunes/Mac 12.4.0.119 - this platform will not yet you allow to select the release Date field to make an entry.

    It is a major issue, as AppleTV allow no sorting replacing television programs other than by Release Date.

  • When I have 2 or more tabs open in my browser I want to close Firefox and save the tabs so when I open it again the sites will return. Use to do this, but something needs to happen. begin to close, now it asks me if I want to save sites

    When I have 2 or more tabs open in my browser I want to close Firefox and save the tabs so when I open it again the sites will return. Use to do this, but something needs to happen. begin to close, now it asks me if I want to save sites

    If you still want to open the sites that you opened before, in the Options dialog box, go to the general Panel and make sure that the parameter 'When Firefox starts' is set to ' show my windows and tabs from last time '. You will not be asked to save the tabs because they are automatically registered.

    If it is set to one, but sites do not open when you start Firefox, open your profile folder and delete sessionstore.js and if there are sessionstore.bak. For more information on how to find your profile folder, see the article of profiles - where Firefox stores your bookmarks, passwords and other user data . Who can help if the file that stores the details of the session is corrupt.

  • Can't get firefox to save settings and tabs when closing even if I check the box that asks if I want to save the settings and tabs when I close Firefox

    When I close Firefox I get the reminder box that asks if I want to save settings and tabs on the next launch I check the Yes box, but he never save the settings or the tabs, function works very well on the desktop but not on the computer laptop windows 7

    This has happened

    Each time Firefox opened

    == me remember not just started could have been after an update

    If you use delete navigation, search and download history on Firefox in Firefox 3.5/6, or clear private data in Firefox 3 to clear the browsing history when Firefox is closed then in restaurant tabs at the last session (for example "save and exit" or "show my windows and tabs from last time ') does not work.

  • How can I control the writing-data-to - spreadsheet.vi to save the data?

    Hi all

    I tried to draw a wave and save the data to excel. Now, I want to control the writing-data-to - spreadsheet.vi to save data when I want which means that the vi records nothing until I have send a command to it. How can I make this happen or do I need any other screws?

    Nicky

    Hello

    Maybe this wat you are trying to do... Let me know if it helps...

    Kind regards

    amine31

    (Kudos are always welcome)

  • How to save the data of different rates in a single VI?

    Hello

    I tried to acquire 2-channel measurement of voltage at 10 kHz and analyze data, finally to save the data to both 1 kHz and 1 Hz. What I did is this loop of producer/consumer use to do the work of recording at different rates. I have queued all the data in the main loop, and then removed the data and write it to the file in other loops. I added "wait = 1 ms' a consumer loop for recording data at 1 kHz (loop of fast logging) and added" wait = 1000ms' in another loop to get the slow 1 Hz (logging loop) data record.

    My problem is that the data record works fine in the case of 1 Hz, but it does not work for the case of 1 kHz. Although the time-out period defined as 1ms, the interval between two samples in the loop of fast data recording is about 100ms.  Subsequently, 1ms, 10ms, 100ms, 150ms tried in this loop to see what intervals are in these cases. I found that the intervals are same as assigned in the timeout greater than 100 ms, but if the time-out is set to 1ms or 10ms, the intervals are again around 100ms.

    My question is - why I can't reach data record 1 kHz using loop of consumers/producers, while the same way works for the case of 1 Hz?

    Thank you very much

    Hao

    You are sampling at 10 kHz and you want to back up your data "as if you sampled at 1 kHz and 1 Hz", if I understand correctly.  I also understand that you use the design of producer/consumer model to help with this (a good idea).

    I'm assuming that the producer 'product' a segment of data at a time, to say the value of a second of data or a 2 x 10000 I16 (assuming a 16-bit integer A/D) table you put into a queue and wait for the consumer.

    If you have data at 10 kHz, how do you get representations to 1 kHz or 1 Hz?  There are (at least) two possibilities - average data over the interval of proper time, or (re) sample data.  The good thing is that you can handle the situation 1 kHz and 1 Hz, essentially at the same time and in the same processing loop.  I'll discuss the case 1 kHz - with the assumptions I made, the case of 1 Hz becomes almost trivial.  I'll discuss treatment also just one channel, as it is similarly almost trivial to go from 1 to N-channel.

    If you have 1 second of data sampled at 10 kHz, and will "reduce" 1 second of data sampled at 1 kHz.  Note that you have 10 samples for each data point that you want in the end.  The "Averaging" method said "Replace all 10 points in the average of these 10 points", while "resampling" method said "replace 10 points with, say, the first point, ignoring the others.  An easy way to do this is to use the Reshape feature to transform an array of 10 x 1000 elements of your array of 10000 items 1-D 2D.  Now, you can use a loop FOR an average of 10 items or simply extract the first.  [This is where almost everyone, including me, a mistake - when you put a 10 x 1000 2D array in a loop, you get 10 iterations of 1000 items and we want 1000 iterations of 10 items.]  Oops, what to do?  [Simple - converts 2D array before sending in the loop FOR.]

    So when you have processed your 10,000 points and got both 1000 samples "1 kHz" and 1 "1 Hz" sample, you write each of them in their respective folder and wait for the next item in the queue of the consumer.  Consumer focus on the queue loop, it will automatically 'block', waiting for the producer of the 'feed' some data.  Note that the producer generates data once per second, producing 10000 points for the consumer in the process, but the time to deal with these points and perform the required disk i/o should take only a few milliseconds (certainly not more than 100, even if writing to a floppy!), so you don't have much time to do other interesting things (such as display data).

    Bob Schor

  • Save the input of the meter against the clock data

    Hello, I would like to know about recording by using an entry in the file of the measure.
    When I record a given as analog inputs, to save the file with display analog data against the clock.
    But when I tried to applied the encoder, which uses counter entries, in the .txt file are not displayed
    the result in the form of analog input. If anyone can give me a guide on what writing to measument setting
    file to measure the revolution per minute is against time, thank you


  • I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound.

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...

  • Error-2147352567 when you use save the vi report

    Hello

    I am developing a software test bench end line for a company. Everything was going well until I met an unexpected error which I don't understand. My code works a simulation engine and stores data in two excel files. When I have the path disconnected to save the report to the File.vi (screenshot 1), my program works without problem and records one of the files and returns an error due to the vi save report being disconnected (as expected). But when I connect the path to save the report to the File.vi, I get an error-2147352567 (screenshot 2) at a table to append to report.vi elsewhere in the code, which worked perfectly well until the road was connected to the vi to save the report. Also, now the second excel file is saved because its path has been connected. I don't understand what is the question. I couldn't find any source that has given me a reasonable solution to the problem either. I use Labview for less than 2 weeks, so forgive me if I forgot something.

    Hi DPAC.

    My apologies for the confusion in the previous post, I thank very you much to clarify it.

    Following my last post; the error was due to a race condition. There is no data flow between two separate writing report files. This means that LabVIEW will try to run the two bits of code in parallel. However, it was sometimes causing one of the sub-vis to be called by two different parts of the code at the same time, causing the error.

    This is the reason for which the code executes without error above if you have disconnected the path to the first 'save report to File.vi', because this part of the code was not running, allowing the second party to run freely.

    To counter this I simply wired terminal 'error' "save report to File.vi" (the one that used the All_Saved.xlsx) in the terminal ' error in ' of the 'new Report.vi' (one who has used the Template.xlsx). Because the screws will not work until all entries are filled, this forces the writing of the first report before the writing of the second report, not occur at the same time.

    I have attached the revised version of the "EOL_V1.vi" where you will be able to see how I wired errors to force execution.

    I also noticed that you have not initialized your shift register "speed". This means that every time that you run the program, it will retain the last value from the previous execution. Is - this intentional? This means that your worksheet does not properly update if you run the program twice in a row.

    Thank you

  • Why DAQmx read 200714 error when you save the file?

    In particular vi that I created, I have 3 analog inputs coming in and are graphically represented.  If I choose to save the information to a file, a dialog box appears and I can choose what to save it under.  If I take too long to save the file (aka about 8-10 seconds if the sample read rate is 500/s) then I get this error once the file has been saved:

    Error-200714 occurred at .vi DAQmx Read (analog 1-d NChan DBL 1Samp)
    Possible reasons:
    Acquisition stopped because the driver could not transfer the data from the device to the computer's memory rather quickly. This was due to limitations of the computer system.
    Reduce your sample clock rate, the number of channels in the task, or the number of programs on your computer that is running simultaneously.

    Why the DAQmx bed vi I have this problem when the vi has been idle for 10 seconds then I choose where to save the file?  How can I fix this error?

    Hi child of pre-school age,

    I think your error might be caused by the read buffer overflow. my suggestions for you would be to either the following four ideas:

    1. stop the acquisition before writing the file. This should mean that the DAQmx Read function will no longer be reading and therefore does not generate an error.

    2. If you still want to read the data but also write data as well, I think you'd be best suited for use live TDMS. TDMS allows the user to stream to a reading of filewhilst.

    3. the configuration backup dialog box file before starting the acquisition. Download the user to enter all data in the file before you start to acquire.

    4. change the buffer to unlimited so that you have enough time to navigate the record window.

    If you send your VI I can advise others

    Let me know how you go,

  • Where labview does not save the data file

    Hello

    I wonder when I choose the path PDF running vi and save a file of measures in a vi. Later when I do a .app or .exe file, where he saves the file data or results. I looked at the folder of the application where I have the .app or .exe file and it does not record there.

    Thank you

    Yogesh

    Never mind. It save .app package file. I can see and read by opening the .app package content.

    Thanks for your help

    Yogesh

  • How to change the time that the computer automatically saves the data entered. I want to record while I'm typing.

    How can I get the computer to record while I'm typing in it?

    Hello

    · What application you are using to save data?

    You must manually save the file you are working on using the key CTRL + S.

    However, if you use any office 2007 or applications later we have auto save option.

    Note: AutoRecover or AutoSave does not replace the Save command. You must use the Save command to save your document at regular intervals and when you have finished working on it.

    ASR is effective for unplanned interruptions, such as a breakdown or accident. AutoRecover files are not designed to be saved when a logoff is scheduled or a normal shutdown occurs.

Maybe you are looking for