How can I store the previous data elements in labview

Hello,
    I am
using PXI1042Q chassis with 8106 microcontroller and PXI 6289 DAQ
cards. I am implementing a real time system where we acquire data
point-by-point.  I would like to know if there is any way that I
can store previous 500 sample points. I know that shift registers can
be used to store values from previous cycles. It seems impractical to
insert 500 shift registers in to system. Is there any way to store the
previous 500 samples?
Thanks,
kartik 

altenbach wrote:
For better memory performance, you would use a fixed size=500 array and replace the oldest element with the newest at each iteration. Keep track of the current element index with another shift regsiter.
Here is an old example tha keeps the last 10 values in a size=10 shift register and calculates the mean.
Modify as needed.
Information about action engines can be found here.
There is also the "collector express VI". Since it uses dynamic data, it's probably more demanding on resources.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How can i get the previous date?

    Hi,
    I am entering a future date(xx-xx-xxxx) through my application.I need to perform some actions on the previous date of the entered date(xx-xx-xxxx).How can i get that previous date?

    Oh dear god.
    Parse the date using SimpleDateFormat. You can then use Calendar's setTime to set a Calendar instance to your date, and use add(Calendar.DAY_OF_MONTH, -1) to substract a day. getTime() will then provide a new Date. And yes, look it up in the API docs.

  • How can i store the data from the list to MS-Access?

    Hi all,
    We all know that from alv it is possible to export data to Ms-excel or word or text file. Can anyone tell me how can i store the data from alv or reports to Ms-Access?
    Thanks in Advance,
    Abhijit

    Hi,
    If you want that without code, i suppose there is a option in MS-Access to import data from Excel, so you have to first export to excel and then import to Access.
    If you want to code it yourself then have a look at FM TABLE_EXPORT_TO_MSACCESS, as said in Exporting Data from R/3 to MS ACCESS
    You can also see the search results in SCN for [export data to MS-Access (45 Results)|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=exportdatato+MS-Access&cat=sdn_all].
    Regards
    Karthik D

  • I am new to Photoshop Elements.  How can I see the exif data of my photograph?

    I am new to Photoshop Elements.  How can I see the exif data of a photo?

    I have Elements 10.  Sorry I am really struggling with the programme and I
    don’t see the word Menu anywhere on the editor screen.
    Rev. Dr. Jill Morley
    PO Box 51059
    Musgrave Rd.
    Durban.
    [email protected]
    0837791978 (c)
    0312080473 (h) and (f)

  • HT204150 i have deleted all contacts in icloud but still have them on my iphone (which is backed up as well to iTunes) how can i restore the iphone data to the iCloud so it will resend it to my mac book and iPad?

    i have deleted all contacts in icloud but still have them on my iphone (which is backed up as well to iTunes) how can i restore the iphone data to the iCloud so it will resend it to my mac book and iPad? I have switched my iphone to airplane mode so it is not connected to the internet and so icloud can not wipe it at the moment.
    thanks roy

    There's a menu choice (I think under "Files") that lets you sync purchased items on a device back to itunes.  Look for that.
    iCloud does not store music.  If you want to do that you'd have to subscribe to itunes Match, but to get music to the match servers, you need the music in the itunes library on your computer.

  • TS1538 I have just purchased an iPhone5 and created a new user instead of using my previous ID. How can I access my previous data?

    I have just purchased an iPhone5 and created a new user instead of using my iPhone3 ID. How can I access my previous data?

    don't just sign out!
    if you simply sign out, the stuff you recently purchased will be an issue in the future when an update comes out for apps or anything else. restore the device as new from itunes then restore from a back if you have one as stated above...or set up as new and use correct apple id. this will ensure you will be using the apple id that you used originally without issues from the new one.

  • Hi, can you help?  My emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    Hi, The emails that I have received show the date received as either today, yesterday or July 28.  How can I get the correct date received?

    That's very scary. They might do it, but I personally have never had Apple contact me re id's except on their site when signing in. I suggest you DO NOT respond until you have a phone conversation with Apple security. They can verify if they sent you the e-mail and why.
    While it's very possible it's true,again, I suggest you not respond until you speak to someone at Apple. I've often read here that when people sign in they are not allowed to because "someone else has used the id" type of statement.
    Also, you should be able to go to the app store and see what apps you have downloaded.
    Though it could have been a free app, have you checked to see if any were bought with your id account?
    I've gotten these types of e-mails from places like USPS and FedEx which look amazingly authentic and were from their website. I also received an odd e-mail from my cousin in Ireland last year that clearly was not from him. It was also sent to others in his family in Ireland. I e-mailed him that I only opened it because it had a .ie, but suggested he change... Days later I received mail from 'him' - same name, but at yahoo.com. 
    Again, I would call Apple. You can also report it at [email protected], but I would not settle for that given your situation. If nothing else, call Apple sales (sales depts. anywhere answer fast) and ask them to transfer you to security. Apple will not want anybody accessing their name, and while it's unlikely, it's not impossible that it is someone phishing.
    Hope this helps and can you let the support community know your results by posting on this thread when you're done? Thank you.
    Hope this helps.

  • HT1386 I bought a new computer and I cannot transfer my library to this new one. The message says that I'm not allowed to sync with two computers??? How can I delete the previous from my account???

    I bought a new computer and I cannot transfer my library to this new one. The message says that I'm not allowed to sync with two computers??? How can I delete the previous one from my account???

    You cannot transfer from the iPhone to the computer.
    You must move the contents of your old computer to the new one directly.
    Use an external hard drive perhaps or restore your old computer backup to your new computer.
    The iPhone is not the source of your data, that is the computer, the iPhone is only a slave device to iTunes.

  • How can i get the meta data from database?

    Hi, all java and db experts,
    I need to write a tool to generate java file which will be used to hold the resultset of a stored procedure of Oracle. Is there any API call or tools to connect to db and then get the meta data of the return cursor instead of reading stored procedure definition on my own?
    Please help, thanks a lot.
    Hanna

    if i execute a Oracle stored procedure, the resultset of a cursor is returned. It's easy to know the meta data at the runtime.
    However, could i get the meta data about the resultset of a cursor before runtime? Such as by connecting to the database and ask it about meta data of a specified stored procedure?
    Is it feasible?
    DatabaseMetaData dbmd = conn.getMetaData();
    ResultSet rs = dbmd.getProcedureColumns("", "%", "SP_NAME", "%");
    while (rs.next()) {
    String colName = rs.getString(4);
    int colType = rs.getInt(5);
    int colDataType = rs.getInt(6);
    int colPrecision = rs.getInt(8);
    int colLen = rs.getInt(9);
    int colScale = rs.getInt(10);
    long defaultValue = rs.getLong(11);
    But what i get is a list of stored procedure parameters. In oracle, cursor is IN OUT parameter . How can i get the meta data about the resultset of cursor?

  • How can I restore the game data from an old ipod touch to a new one?

    How can I restore the game data from an old ipod touch to a new one?

    Restore it from the backup of the old ipod.

  • How can i remove the previous icloud acount from my iphone4?

    I recently purchased a second hand iphone4 not jailbroken and i already restored it to factory settings but i can't log in to icloud using my account because it states that  "The maximum number of free accounts have been activated on this iPhone". How can i remove the previous icloud acount from my iphone4? Hope someone could help me on this. Cheers! :)

    Hi,
    My dad gave me his old iphone as he got an upgrade. I can't seem to change his icloud account to mine. I'm getting his updated calender and his mail - and there seems to be some confusion between both our accounts. He seems to be acquiring some of my contacts - some of which have names which have led to some probing questions... So basically this needs to be sorted out! How can i delete his account from the iphone but not his whole icloud account? he would not be happy if i did this...
    Sophie

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • How can I restore the previously bought apps after I have formatted my computer without backing up any of my files for iTunes?

    As titled.
    I bought many apps from iTunes at the end of last year, and then my computer had got problem that I had to format and reinstall everything.
    I just want to know how can I restore the previously bought apps once if I forgot to backup any of my files on the computer??
    Would be really grateful if someone can show me how to. Thanks!!
    FYI: At that time I was using iPad 1 and the OS was still 3.1.x. Now I am using iPhone 4 and would like to restore the apps at least those that are compatible to my phone.

    How to redownload purchased apps from the App Store

  • Is iTunes 11.1.5 compatible with Mac OSX 10.6.8? If not how can I restore the previous iTunes version?

    Problem: Recently when I open iTunes it doesn't work; the little pinwheel just keeps spinning.
    I have tried leaving it on, as suggested by another user, for over 12 hours. I didn't work.
    I think the new iTunes version, 11.1.5, is not compatible with the operating system; Mac OSX 10.6.8. If this is so, how can I restore the previous iTunes version?

    You need to be updated to iTunes 11.2.2.
    You might want to consider running the combo updater over your install to refresh your files.
    Combo updater: Mac OS X 10.6.8 Update v.1.1 - 1.09 GB
    http://support.apple.com/kb/DL1399
    After running the combo updater, select Software Updater and update iTunes.
    If iTunes fails to open after updating, hold down the Option key when launching iTunes. It will ask you to locate your iTunes Library.
    Note: I've seen users with their iTunes Library on an external drive spin like this when the drive was failed to be seen in Disk Utility. Run Repair Drive on the external drive to fix this issue.

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

Maybe you are looking for

  • Finding of materials in scheduling agreement with more than 150 lines

    Dear Experts, we are in need to find materials in scheduling agreement with more than 150 lines. In standard SAP, materials can be searched only based on item Nos. is there a way we can search by material in ME38. also we noticed that find icon is gr

  • Mini DVI to HDMI hookup not working.

    I just purchased the Mini DVI to HDMI hookup for my MacBook Pro. I plugged it into the HDMI port in my Samsung TV and the blue screen appeared onto my Mac for a second and then it went back to normal. My TV isn't detecting the MacBook and the Mac is

  • How to change QCI data in Outbound Delivery Order (VL02N)

    HI, Dear ABAP Experts, I need to over ride standard Quantity conversion interface data in Outbound Delivery Order with user specific data. Go to VL02N and select item number and click on ‘Additional Quantities’ button we can see all SAP calculated QC

  • Clickable jar files for Windows

    Could someone please explain to me, or direct me to a resource that can, how one makes a jar file that executes when double clicked under Win32? I've seen such files, but I don't know if they are proprietary or supported directly by Sun. Thanks, Robe

  • EFFECTS OF OPTICAL ILLUSION IN AFTER EFFECTS

    OPTICAL ILLUSION IN AFTER EFFECTS Although optical illusion looks great in final composed video, however my major concern is on rendering time, I spent long time to create few trial videos of just 30 seconds due to rendering time. Here below are the