Saving Multiple Waveforms to File, Timing

Hi everyone,
I am writing a program to log data from two sources, while I sweep from f=100 to f=1000.
First I'm sending a sine wave to an actuator, while I am reading data from an accelerometer on a device with the actuator attached.
I want to save the data as a text file with the following columns:
time
desired frequency
data of sine wave being sent to the actuator
data from accelerometer
I seem to be doing very close to that, but there are two issues I have noticed. First, I'm not sure if the timing of data from the sine wave matches data being read from the accelerometer. Does anyone have any advice on how to match the two, or to optimize my setup. I know its not good practice to use express vi's and timing structures but I couldn't figure out another way to get the desired effect.
The other issue occurs when I make the acquisition time for each frequency longer. Anything past 2 seconds gives me an error of data trying to be read that is no longer available or has been over written. Can anyone see why this is occurring?
I am using an NI Elvis II board and running LabVIEW 2010.
Any help would be appreciated.
Thanks,
Arthur J.
Attachments:
Haptic.vi ‏145 KB

Also in case if its okay to lose the samples, that means if the application doesn't require to acquire all the samples after it starts running and just want the latest sample whenever DAQmx Read.VI is called, then probably you might want to add following property node in your code and youll experience no overflow error:
For your refernce check below link:
Understanding and Avoiding Overwrite and Overflow Errors with NI-DAQmx
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    Did you check your user name and password in Settings>Mail,Contacts,Calendars...tap your email account, tap SMTP, then tap the primary server name.  Make sure the settings there are correct.

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • How to view waveforms in DIAdem that were saved in Labview using "write waveforms to file" VI

    I'm new to DIAdem but would appreciate any help to my question.
    I seem to be having a little trouble but how do I view waveforms
    in DIAdem that were saved in Labview using "write waveforms to file" VI??
    tks, Terry

    Hello,
    There are several ways to write waveform data from LabVIEW so it can be accessed from DIAdem. Two of the easiest ways are to use either .lvm files or .tdm files. You can write .lvm files using the Write LabVIEW Measurement File.vi which is located in the File I/O palette. You can write .tdm files by using the storage VIs which are located in the File I/O >> Storage palette. So, I would recommend using either of these file formats if you are developing a new application since these can be loaded into DIAdem directly.
    If you are interested in loading files that where already created from the Write Waveforms to File.vi, I am wondering what file type you are using. For example are you saving your files as .dat or .txt with your Write Waveforms to File.vi? Feel free to reply to this thread with this information and I would be glad to help you out.
    Regards,
    Kevin L.
    Applications Engineer
    National Instruments

  • Premier pro cs5 saving multiple trimmed clips as indivdual files in format h264 mov, what is the quickest way to do it. i have 280 trimmed files.

    premier pro cs5 saving multiple trimmed clips as indivdual files in format h264 mov, what is the quickest way to do it. i have 280 trimmed files.

    Hello Ashraf,
    Sorry you didn't get any help on this post. In the future, please contact Adobe Support for 1-1 assistance on issues like this: Contact Customer Care
    Thanks,
    Kevin

  • Saving spool request with multiple Adobe PDF files to local directory

    Hi,
    I have a spool file with multiple Adobe PDF files in it.  You can only save the spool content to local directory by opening and save each PDF files.  Does anyone know whether there is a way to combine all the PDF files within a spool into one big PDF file?
    Chuin

    Are you using any plugins, like PDFlyer?

  • Saving Report output to File

    Hello,
    I remember Portal(first version and WebDB prior to that)
    perfectly saving a Report as File even if the Report output
    spans multiple pages.
    Now I am using the latest version of Portal and I am unable
    to save the Report to file when the Report output paginates to
    several pages.
    It always saves the First Page of Report.
    Please throw light through any form of Solution.
    Thanks a million
    Madhav

    put the lines per page higher

  • Saving tiff or jpg files within a single, existing psd file without creating new files

         Hi, I just bought CS5 and I wonder if it is possible to save multiple images that are created within a single psd file in jpg or other image file formats without creating new psd files, but rather saving them as "embedded" within the single psd file in whih they are created. For example, one could select a portion of an image that one has created, and save just that selection as a jpg without leaving the existing psd file, and after that, one could select another portion of the same image and save it as a tiff, etc. Is this possible?
    Much thanks.

    No and Yes!
    You can do much of what you want, but not exactly as you described it.  You can certainly make multiple selections and have them saved in the psd file. You can also save jpg version of those selections, but you have to do a little extra work.
    Lets say, by way of example, you have an image and you want to make three different selections within that image, save each selection as a jpeg, and save those selections along with the full image as a psd file. You can do the following, which is just one way of several to proceed, with your image opened.
    1. Make selection 1, hit Ctrl+J to jump that selection to a new layer
    2. Make selection 2, hit Ctrl+J to jump that selection to a new layer
    3. Make selection 3, hit Ctrl+J to jump that selection to a new layer
    4. Alt click on the layer with selection 1. This makes only that layer visible.
    5. Click on Layer > Duplicate Layer > destination New > give it a name
    6. This creates a new (temporary document). Open it.
         click Image > Trim > transparent pixels
         click Save for Web & Devces, select your parameters and save your jpeg
         Close and discard this temporary file.
    7. Repeat steps 4,5 & 6 for selection 2 & selection 3
    8. Save your psd file
    You now have three jpegs and a psd file with all the information to create or modify the original selections
    Paulo

  • Can't Open Final Cut - "Waveform Cache Files Folder does not have read/....

    I am new to Final Cut and macs, so please bear with me.
    I have created an animation in Final Cut pro (5) using stills. The project takes up a lot of space, which is why I have moved the 'Final Cut Documents' file onto my external hard drive. However, I relocated/reconnected the project files when I next opened the project and all was peachy.
    Last night when I had the project open I got errors about not being able to save the project. This was my first problem, but is now insignificant compared to this new problem this morning:
    I cannot open Final Cut. I have an error saying 'The Waveform Cache Files Folder does not have read/write access. Please select a new folder in the System Settings Dialog or correct the problem on disk'. Final Cut then proceeds to shut down, so I cannot change any user settings within the program.
    I have made all Final Cut folders read/write as well as my external hard drive and anything else with Final Cut on it. It still presents this warning.
    A final confession: last night in (I think?) User Preferences I changed some of the settings to my external hard drive (I'm not even sure what settings...I just checked boxes next to the Hard Drive and unchecked a box next to the laptop drive), hoping it would just save the project to it, rather than on my laptop. This may have contributed to this new problem...maybe not.
    PLEASE HELP...this animation is due Monday.

    Thanks for your reply - it sounds like it will work, but I can't delete one of (yes, I made multiple copies, but have been able to delete the others) the Waveform Cache Folders as it comes up with the error "The operation cannot be completed because one or more required items cannot be found. (Error code -43)." Is this the cause of my problems? How do I fix it?

  • Writing to specific cells of existing Excel file and saving as a new file using LV 8.6

    Hi all,
    I am new to LV and am currently tasked to create a program that can open an existing excel file, input data in the program that will be written to a specific cell in the excel file and then saving the current edited file as a new file.
    I have browsed through all the forums but I am unable to view the examples sent in them as I am using LV 8.6 which is why I am still having trouble visualizing how to create a program like this. Can anyone help me and mentor me how to write this program in this version of LV? I do not have a microsoft office toolkit hence another approach could be preferred. Thank you.
    Aaron
    Solved!
    Go to Solution.

    Thank you for helping me on this. However I do not really understand how does ActiveEx work. I have created a Vi according to the picture that you provided but there was some error in running the file.
    Below is my own VI that I am trying to create. It consists of multiple string inputs which I am trying to input each into an existing file. I have created a separate txt file which has the cell numbers. I am trying to allocate each string into each respective cell in an existing file. I am currently having the problem of doing this "allocation" of each string as I do not have the microsoft office tool kit. Is there any other way for me to do so?
    Also, I would like to save the newly created file as a new file with the name as seen in my VI. How would I be able to do it?
    Please help me as I am stuck here but do not know how to continue
    Attachments:
    untitled.JPG ‏33 KB

  • Saving multiple versions of photo in iPhoto

    Hi, I am just begiining to use iPhoto on my new Macbook Pro. I  have two questions related to saving multiple versions of the same photo:
    After editing a photo I have noticed there is no Done or Save  or Save As options. All I see is back and forward arrows to go to a diferent photo. This bothers me in severasl ways. I may want to save the edited picture as some other revision without loosing the original. How do I do it? Also how to save multiple versions of edited files say version 1, 2, 3 etc? This is a very simple thing in most PC based photo editors but I cannot figure out in iPhoto. Not sure why Apple wants to be different each time.
    Actually I have similar issues on iPad too so if you can answer th same question on that device also, I appreciate.
    Please help me!
    Thnx

    I may want to save the edited picture as some other revision without loosing the original. How do I do it? Also how to save multiple versions of edited files say version 1, 2, 3 etc?
    As Larry said, iPhoto '11 on your Mac has a lossless workflow and will always save the original master image file in addition to your edited version. If you want to store more than one edited version of a photo, duplicate the photo before editing it, see: iPhoto '11: Duplicate a photo  http://support.apple.com/kb/PH2408
    Actually I have similar issues on iPad too so if you can answer th same question on that device also, I appreciate.
    With Photo on your iPad you also have a lossless workflow and can undo all edits and revert to the original. You can save several edited versions of the same photo to the camera roll. See the iPhoto help for iPad: http://help.apple.com/iphoto/ipad/1.1/#blnka97fbb1f  on editing photos.
    Regards
    Léonie

  • Location/directory used by JRE, for saving the temporary Internet files

    Hello sir,
    I am working on a project( in JavaFX ) which takes the URL of a streaming FLV video( eg: http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_11810873001_09c01923-00.flv ) as input and plays it in Media Player component.
    I have successfully played the streaming video, by taking the aid of sample project, Media Box( http://javafx.com/samples/MediaBox/ ).
    Now I am interested in knowing the location/directory, where these temporary Internet files will be downloaded to. Please let me know, the location/directory used by JRE( on both Windows and Linux ) for saving the temporary Internet files. Also let me know, if there is any possibility of changing that location/directory.
    Thanks for any help, in advance.
    Edited by: prabhakar9885 on Aug 22, 2010 2:29 AM

    You should avoid posting the same message multiple times...
    By definition, streaming is supposed to play the received movie data on the fly, without intermediary file. Now, it depends on implementation, if that's real streaming, etc., so in practice there might be a temp file, or not.
    But this temp location will be, obviously, highly dependent on the current system (even between WinXP and Win7, for example). You can find the answer experimentally, eg. on Windows by using Sysinternals' Process Monitor application (did that to find out where Storage files go), but it is brittle.
    I doubt there is (an official) way to know that from within the JavaFX application...

  • Reader 9.0, 9.1, 9.1.2 blue screening when opening multiple PW protected files

    I have a user, using MSOffice 2k3, who get a blue screen when opening multiple password protected files thru Outlook. The error suggests to update the BIOS, which has been done. This occurrs in all 3 versions of Reader 9. It specifically occurrs AFTER he inputs the password in the PW box. It does not matter which file he opens 1st. Any assistance would be appreciated.
    mburdikoff

    No, you are wrong (Gene & Mike). First, the forms, at least my forms, have NOT been edited since being created in designer. They were created and saved directly to flash. Second, this issue has been posted on the acrobat forum as well as the life cycle designer forum and both thread were ended with adobe expert posts saying it was an adobe reader issue and to post here.
    I have experimented more with this issue and it seems to be a 'trusted identity' issue within reader, but I have not wholely figured it out yet. My forms work on Reader, 7, 8, and 9. They work on all versions of 7 and 8 regardless of what the form was optimized for (my forms were optimized for 9 and higher). The only trouble is on 9.0. I have found that when updating on client machines, reader gives a prompt (sometimes) that says reader has found a set of trusted identities from a previous version, would you like to use these identies or create a new set of identities. If you choose to keep the existing trusted identies set, the form works, even when upgraded to reader 9.0
    Not trying to be argumentative (Mike and Gene) but the 'experts' bail on this issue by telling people it's a reader problem and to post here.

  • In trying to update I received this message: Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.

    In trying to download an update I first received: "There were problems checking for, downloading, or installing this update. Firefox could not be updated because: No data was received (please try again)" It also gave a link to download manually. When I tried from the Firefox website I got: /Users/(deleted for privacy)/Desktop/Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.
    Try again later, or contact the server administrator. I tried this 3 times.
    == This happened ==
    Not sure how often
    == Mon around 11 am, central time, May 17, 2010

    I have tried downloading the file several times and get the same message: "No data received." I have no other system problems, I navigate well to other sites, but I'm unable to download this upgrade. Any suggestions?

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

Maybe you are looking for

  • Should I upgrade to the Mac ML or Win 8 version of LR5?

    I've got two laptops (long story) that I could choose from for traveling and using LR; I have LR4 on a Macbook Pro 2.26 Penryn machine right now. But I just got an Acer M5-481PT 6644 which has a somewhat bigger screen, I3 1.7, and a small cache-type

  • Better options than DAVE for Win NT connection?

    I work for a small Mac design group in a large business environment. We store Quark, InDesign, Photoshop files on the companies Win NT Server. To do this they have installed DAVE because they said just using OS X's PC connect ability was causing the

  • Passing SCP password in a script

    Dear all, I am passing a file from one server to another using scp. It asks for password to do with the command scp -r /file_path/filename 10.10.80.80:/target_path, I want to schedule it in a script, how can I pass the password to scp in a script, or

  • Original serial number logic

    I'm trying to install a 2nd instance of Logic Studio on my MacBook Pro and the "wizard" is asking for original serial number or insert Logic XSKey. If I don't know what either of these is - how do I move forward with the installation? Any help is muc

  • RG1 register flow in SAP

    Hi friends, I would like to know the complete flow for RG1 i.e. update,extraction, mvt type I should use, legends meanings(green/red) etc. Would anybody can contribute. Thanks & Best Regards, Atul