Export Multiple Waveforms to Spreadsheet

Hey guys, I'm new to this forum--first post--so if I accidentally leave anything out please do your best to whip me into shape.
I just started with labview this week and am trying to collect data from Advantech's USB-4718. It has 8 thermocouple inputs with which I am attempting to simultaneously collect temperature readings and export them all to a .csv. The VI I've come up with so far is my best attempt at getting the formatting of the .csv to come out correctly. In that respect it does exactly what I want it to, however, it will only give me a single reading from each of the channels. So basically I am looking for some advice on how to append the array of waveforms anew with each iteration of the for loop, or if I should be building the array of data a bit differently.
I'm hoping this is a simple matter of looping the appropriate VIs, or simply putting a shift register in the right place. I realize I may have to simply use brute force to index and collect waveform components and just feed them into the write to spreadsheet VI, but I'd like to explore some cleaner alternatives before I get into all of that.
In addition, after reviewing this forum I realize I am surely prone to some mistakes that simply scream noob. So feel free to scream it at me. I'm pretty sure I made a nice CPU burner out of my VI, but I'm not entirely sure so if anyone could give some advice on avoiding those. Also if anyone has any advice for a new LabVIEW user in general--what to watch out for, goals to work towards--I'm all ears. I have a very demanding summer job that requires I learn and use all this stuff and I'd very much like to rise to the challenge.
Cheers,
Travis.
Attachments:
Multiple Channel Export (rev3).vi ‏72 KB

The problem apears to be with your array appendixing, and as you correctly guessed your shift registers. If you simply rearrange the components to look like:
then it should do exactly what you want it to do.

Similar Messages

  • Multiple waveforms to spreadsheet

    I am aquiring episodic data, say 2seconds at 20kHz then a 30 second interval and more data. I am saving this in a tdms file and all is fine. 
    I would now like to export these waveforms to a tab delimited spreadsheet, and I like the header etc that the cannede vi's offer. However when I set the append option to false, there is a new file for each waveform. When I set it to true, the next waveform gets appended at the bottom (same columns, new rows) instead of as new columns same rows. With the write array to spreadsheet, there is a transpose option. Is there something analogous for waveforms, or will I just have to use the write to spreadsheet and make my own headers etc?
    thanks a ton!
    (Using LabView2013 on Win7)

    No offense was intended, the point is that if you focus on building the program all you will get is the program. However if you focus on building all the reusable bits you will get the program you need but you will also get a bunch of reusable code the will make your next program faster and easier.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to save multiple waveforms to excell spreadsheet

    Hi Everyone,
    So I just got a new project in lab which is to use our new DAQ board(NI USB 6341) to read a voltage from 5 PMTs.  I'm new to labview, and am struggling quite a bit but here's what I've done and would like to accomplish:
    My example today uses two channels sampled at 1K.
    1.Interface with the deivice and create a Task to measure from more than one channel. -Complete
    -In my example code I have the sampling rate at 1k and N samples at 100.  Eventually I would like to sample at 100Khz. What is an appropriate N samples?
    2. Generate Labview code that will continuously take data untill I tell it to stop and bring each channel to its own tab delimited column on the write out file.
    I cannot get step two work correctly.  My understanding was that the DAQ assistant in my example outputs a 1D array of waveforms and that "Export Waveforms to Spreadsheet file" VI would read each element as its own array but I cannot get it to do that.
    3. Graph in real time the two channels 10 seconds at a time. I.E I want it to continuously have a 10 second window([1,10],[2,11]...[101,111]) etc. so that way I know the current run time for sampling and I can see the current events.   This is a tricky situation because I want each to have their own plot and I haven't found a good way to use the register to append new data without eventually running out of memory.  The other issue is that when I append the data it shows from 0 seconds to my current time, I would like it to show me the waveform in time as discussed above.
    If I could get some help on either of these two fronts, I would be immensely greatful.  Thank you so much for your help, and for reading this
    Best,
    -Joe
    PS- Attached is my code.  Give it a run and see what it does to understand things a little better please.
    Attachments:
    Read Voltage.vi ‏60 KB

    Okay so the charts ended up working out nicely if I wanted to sample at 1kHz and have samples to read=100
    But If I now up my sampling rate to 100kHz and 25k samples to read for 5 channels I immediately receive the error message:
    "Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
    Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."
    I guess my first question, would be what is happening that is making the VI crash right away, the DAQ board can handle 500KHz across all channels so that is not the issue, how can I create my VI to handle this amount of data?
    Attachments:
    Read Voltage.vi ‏94 KB

  • Getting rid of the date stamp in "Export Waveform to Spreadsheet.vi"

    Probably a very simple and stupid question, but how do I get rid of the date stamp while keeping the time stamp in the "Export Waveform to Spreadsheet File.vi"? I may have found the place on the block diagram, but I'm not entirely clear how that vi works.
    Thanks,
    Joe

    Never mind, I've figured it out.
    For the curious, it was a matter of altering the "Waveform to Date Time String.vi" in the "Export Waveform to Spreadsheet.vi". All you need to do is stop it from concatenating the time string with the date string in that particular VI. I hope this helps some of my fellow newbies.
    Sorry to waste the rest of your time.
    Thanks,
    Joe

  • Export multiple forms to xml/excel - field headings are missing

    I have created a dynamic flow multiple page form in Livecycle.  When I first tested the form I would export -> multiple forms to a spreadsheet -> an xml file that I would then open in excel.  This worked great and the field headings showed at the top.
    I did some edits to my form and now when I run the export to xml and then open in excel, the field headings are gone.  What controls this variable, does anyone know how I can correct this?
    Thank you in advance!

    Hi,
    The heading are in the table pt_fcat - you don't seem to be passing that in form....
    PERFORM setup_and_display_alv_ver2
    USING
    it_out_alvp "Parameter structure
    it_output[] "Internal Data table(header table)
    it_output[]. "Dummy table for Hierarchical ALV!!(item table)
    which I guessing in in one of the includes?
    Saying that the extract pof code does not show where you are calling form it_out_alv_fieldcat_before ...which populates the headings...
    Regards
    Stu

  • Export digital waveform+labview

    Hi to everyone...I'm a newbie with labview, and I want some help for the beggining...Well I'm working on a project and for start I must use an arbitrary signal and an oscilloscope so as I can see the the graph of it(for simplicity I used a sinus in the beggining...)and then I must use an A/D converter and the digitalized output must be saved in a .txt file so that I can read it...So I wired the sinus with the A/D converter but then I cannot make the output of it compatible so that I can save it...I used the component "export waveforms to spreadsheet file.vi" but it says error diffent type of data you cannot wire a "Digital waveform" with the input of the file "1-D array of waveform(DBL)"????I used and some other components for saving in a file but it didn't go better...What did I do wrong???Please if anyone can help me...I would appreciated!!!
    Solved!
    Go to Solution.

    Hi again...I want some help...Last time I sent you "my_main.vi" file and told you that had a problem about making time to be correct in the .txt file...I haven't solved it yet, although I tried a lot to find how I can change this the txt. Anyway for now what concerns me most is that although the gragh(with the formula i use) i see in the front panel is correct when i take the data from the .txt file and paste it to a .xls file and making a graph it seems that there are pulses of the same amplitude before the visible signal i see in my front panel...I couldn't understand why this was happening but after a while i put the same formula in a grahp calculator that i have and saw that the previous pulses are not of the same amplitude, they just appear to be so because the amplitude that is set to the component isn't enough to show their whole amplitude...so they are been cut off and seem to be the same...So i tried to change the values at the x-axis but I didn't make it.The program holds some certain range(0-4) that I had initially set to it...At the bottom line I'm facing a problem to appear the rest of the graph in the component's output, and also to fix the phenomenically wrong pulses to my .txt file...Please I would appreciated if anyone can help me...Im sending you all files to have a picture of wht's going on...
    Thank you for your time...
    Michalis V.
    Postgraduate Student
    Department of Informatics and Telecommunications
    National & Kapodistrian University of Athens  
    Attachments:
    my_main.vi ‏20 KB
    results.txt ‏154 KB
    samples.xls ‏428 KB

  • How can i export multiple sesssion at a time

    Hi,
      My requirement is to write an equivalent query for the sap standard program RSBDCDAT_NEW which will export a particualr session information into a flat file. I have to modify this program to export multiple bdc sessions at a time in one go. the session names will be given as an input from a flat file present in application server.
    An any body give me any idea regarding this requirement.
    thanx in advance.
    Regards,
    Maqsood

    You can't from the phone.
    If they are iCloud contacts you can sign into iCloud.com with Your Apple ID from a web browser on your computer. Click Contacts, select the contacts you want to delete, click the gear icon on the bottom left then delete.

  • Can I use preview to export multiple page PDF as jpegs?

    Using Preview, I export multiple page PDF as jpeg and results are the first page only as jpeg. Can I use preview to export multiple page PDF as jpeg for every page?

    Automator is great for this if you need to export many pages to JPG, or just have to do this often.
    Two other quick and dirty way sto get it done:
    (1) Enable thumbnail view, click on the ONE PAGE you want to convert to jpg, then choose "export." If you choose more than one page, only the first will get exported to jpg.
    (2) Create a copy of the file, delete all the pages except the one you want to export to JPG, and export that page. You may be able to "undo" the delete, get all your pages back again, and re-delete all but the one you want to export, etc. I would not recommend doing this on the original version of the file because of Preview's autosave so-called "feature."

  • How do i export multiple full resolution movie files at the same time in final cut pro 6?

    I've been using Final Cut Pro since version 3 came out, know the program well, have even had jobs consisting of just operating the program.  I'm currently running version 6 because that's the latest one that works on my computer.  Back in verison 3, there used to be an option under Export to export a "Final Cut Pro" movie, which was really a Quicktime movie but appeared with a FCP icon and defaulted to opening in FCP, but the important thing about it is that it was a full resolution copy of the movie with no compression.  Now, that option seems to have been changed to "export Quicktime movie."  In my opinion that change is kind of stupid since it is so much less specific and is even less of an implication that one is exporting a full resolution file.  But in fact you are.
    One also has the option of using Compressor to export a version of a movie, and therein there are so many different options that if you are not confused by it I think there's something wrong with you.  Moreover, it would appear that there is no equivalent of exporting a full resolution version of a file in Compressor.  Fair enough: a full-resolution file involves no compression so is not appropriate for "Compressor."  BUT, suppose you want to export multiple uncompressed, full-resolution movies at once.  When you use Compressor, you are able to create batch lists and export many things at the same time, for instance, lists that will take many hours to complete so you can go to bed and get the results the next day.  But as far as I can tell there is no way to do this at full resolution without compression.  Instead you have to sit at the computer waiting for each one to finish and after each one, manually go to the next and select "export Quicktime movie."  Even if there is a way to do this I would complain that such an obviously desireable thing is so unaccessable.  In fact, the only reason I've typed out my question at such length is because I'm stuck here waiting for each one of my movies to export.
    Anyway, all my complaints aside, anyone know how to do this?

    what you're missing to export multiple files is the batch export command available in the file menu or by control clicking on the items in the browser.  You can export multiple sequences/clips at full resolution with this.
    This has been available in fcp for a long long time.
    Wow, you are right.  Now that you mention it, I can't believe I never noticed that.  Thanks.
    Only if you have the 'Self-Contained' box checked.  Otherwise you'll end up with a reference movie.
    Correct.  That box is typically checked by default.  There are other default settings you could change that would not result in a full-quality version, but what I meant was hitting that option from the pull-down menu, then changing nothing and hitting ok.

  • Can I export multiple folders at the same time, keeping the album structure

    I'm exporting all of my photos from 2010 so far. Is there a way to export multiple folders at the same time, while keeping the existing album structure? It seems that when I try it, iPhoto exports them all to the same folder.
    I really don't want to do this one album at a time, and here's why -
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.

    Check out [iPhotoToDisk|http://www.iphototodisk.com/index.html]
    I'd like to select all of the albums, then export, using the plugin, to WalMart so that I can order prints.
    Why not upload to Walmart from iPhoto? Check out the first option here:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and later* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and later:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?

    Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?
    Scenario: We have a few legacy certificates based on some legacy templates (2012 R2). Some belong to an old SubCA (2008 R2).
    I’ve can manually export them using certmgr mmc on the local machine to a single .p7b e.g.
    cert_backupNEW.p7b. But this is not a practical solution for me and I want to achieve this remotely via certutil or some other util that comes with Windows 7 machines.
    I’ve already worked out how to run a certutil command to add the certs back into the store e.g.
    certutil.exe -addstore -f my cert_backupNEW.p7b
    Is there a way to export multiple certs to a single backup cert, or is what I’m trying to do not possible with multiple certs?
    TC

    Something like this:
    $store = New-Object Security.Cryptography.X509Certificates.X509Store "my","localmachine"
    $store.Open("ReadOnly")
    Set-Content -Path exportedcerts.pfx -Value $store.Certificates.Export("pfx","password")
    $store.Close()
    note that this command will fail, if there are certificates with non-exportable keys. You cannot export certificates with non-exportable keys.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • How to export multiple indd files to individual PDF's?

    Is there a way without using scripting, to simply take, say 10 single indesign files (all just single 3.5x2 business card layouts) and export them to a pre-defined PDF preset resulting in 10 single PDF's? (other than one at a time?)
    I tried a few things from Acrobat 9 pro, one of them being File/export/export multiple files/  thinking that must be the ticket, but
    1) I can't find my pre-defined PDF preset in the "export to dropdown list" (but thats secondary, probably can add that in somehow, right?) and
    2) even when I just pick PDF/a or PDF/x it starts the process, then tries to open each indd doc but a message comes up saying it can't open the INDD  file(s) and nothing was processed.
    Can someone help me with this?
    Thank you.

    Macinbytes,
    Would you mind walking me through what you are doing?
    In your screen shot, that window looks like the preferences panel, in which you can set your PDF preset, correct?
    Here's what I have been trying.
    File/Create PDF/Batch Create Multiple files.
    Eventually, I get this window. (output options)
    Then when I hit OK, I get this error message saying the files cannot be opened.

  • Do I need to export multiple sizes for all standard print sizes? i.e.Say I crop the image in LR to 6'5" x 9' to fit within an 11" x 14" (overall) mat of a framed print.. Now let's say I want to reprint that same image in a 12" x 16" size ... to fit within

    Do I need to export multiple sizes for all standard print sizes? i.e.Say I crop the image in LR to 6'5" x 9' to fit within an 11" x 14" (overall) mat of a framed print.. Now let's say I want to reprint that same image in a 12" x 16" size ... to fit within a mat of with overall size of 20" x 24"? Or will the 1st export be "locked" at 6.5" X 9" (proportionately)?

    So, for the first one Export it cropped to 6.5 x 9 - and in the Export Dialog box there is a capability to rename the file for exported output - which would allow you to add something like the crop or intention to the base name of the file.  e.g. for _IMG0846.nef - setup the output filename to _IMG0846-65x9 for 11x14.jpg and output it at, say 300 or 360 dpi.  So, it has a unique name and purpose in your output folder.
    For best results, now, re-crop the picture in LR - just open the crop [R] dialog again, reframe the image to the new ratio, 12x16 and Export again - with an adjustment to the filename. e.g. _IMG0846-12x16 for 20x24.jpg
    So, now you have two clearly identified image files in your output area and you can provide those to whomever is printing for you, etc.  Discard them when you're done since you always have the original to return to to re-frame again as necessary.
    This way you get output sharpening and resolution (in pixels) optimized for your output print size.  Maybe not super important for smallish prints-but more important for larger ones.   Output at 100 quality.

  • Export multiple responses in pdf form?

    Is it possible to export multiple responses into pdf form, not just excel? Thanks!

    Sorry we currently do not support this. You can vote for the feature here:
    http://forums.adobe.com/ideas/1378
    We use this to help prioritize our work.
    Thanks,
    Randy

  • Acrobat X Pro - Export multiple PDFs to JPG

    In Acrobat 9 Pro I am able to export multiple pdfs to jpg using file--->export multiple....   In Acrobat X I can't seem to find this funtionality.  Any ideas?
    Thanks.

    I tried this script and it did work but I needed to export to PNG rather than JPG. I could not see a way to do that without actual scripting, which I don't know how to do. So I opened the script linked here in Textpad and just changed "jpg" to "png" and it worked - happy day for me! If anyone would like to download this action, you can find it here: http://ccl.rutgers.edu/~lindaeve/acrobatx/Export_to_PNG.sequ
    Linda

Maybe you are looking for