Taking the kth-column of multiple files and then joining them together in a single file

Hi
I would like some help with array manipulation
I have multiple (1000) files with 5 columns each and 20,000 rows. The first row of each file has a header that labels the columns.
I would like to be able to read these files, pull out colum 3 from each file and then build these into a new 2D array. It would be nice if they also had their corresponding header labels. So then I would end up with the new 2D array containing 1,000 columns (corresponding to column 3 of each of my 1000 files) with 20,000 rows plus a first row with the header labels.
I would also like the option to in future select column 2 for example, or column 5; plus I would also like the functionality to allow me to perhasp pull out more than one colum, e.g. colum 2 and 3, before we build the new array.
I hope I made some sense and that someone can help. Thanks you

RVR,
This is a great exercise to get familiar with LabVIEW's array functions.  A great place to start is actually the LabVIEW help on arrays, located here:
http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/grouping_data_with/
Depending on your data format, you can probably use the Read From Spreadsheet File VI to bring your data into a 2-d array.  You could then use the index array VI to pull your column out.  You could do this in a For loop and use Autoindexing to build your 1,000 column resulting array.  I would leave everything as a String format until I'm done. 
This doesn't sound like a very difficult task.  Good luck!
--Paul Mandeltort
Automotive and Industrial Communications Product Marketing

Similar Messages

  • I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    Adobe has made this process much simpler in recent years.
    No need to re-install any version earlier than the current version (CS6). All installers (upgrade or full) contain the full program code. The difference between full and upgrade is in the serial number.
    All you need do is download (link below) and install CS6, enter the CS6 upgrade serial number then enter the CS5 serial number (even if that too is an upgrade).
    Download CS6 products

  • When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.

    When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.
    With new files opening as a layer and not a background I'm not able to create multiple layers and it wont let me convert the layer to the background.
    How did this happen. I used PS just yesterday and had no problems. Today my computer did mandatory updates and now this.

    Yes. You are using the Ellipse Tool's Pixel option. So it is laying down pixels as it is supposed to do without creating a layer.
    Choose the Shape option:
    Also Layer menu > New Layer creates layers and the curled paper at the bottom of your Layers palette also creates a New Layer. I hope those work.

  • Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I inste

    Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I instead just keep everything on my ipod and then if I have to get a new computer or something just download all my songs from the ipod to my new computer's itunes? Will that work? Will I still be able to keep all my songs that way?

    I'm going to assume the consolidating files does not work due to hard drive space limitations.
    Since you're moving to Windows 7, have you tried using the Windows files and settings transfer utility?  That will move everything for you to the same location on the new computer, it also allows some control over what actually gets moved.
    Alternatively, if you know the location of all of the media, it can be manually moved by copying it from the old computer to the new computer in the same location.
    Also, using the Apple article on moving the library, take a slight twist on what it says.  Move the iTunes library to the external drive, update the settings in iTunes to reflect the library being on the external drive, then consolodate it.
    The options are endless for moving the library... it simply takes a little effort to make it happen and possibly a twist on existing "standard" methods depending on your unique situation.

  • Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    Is it possible to break an edit into small scenes, and then sew them together, but without losing quality by using the 'publish and share' options?

    redflashred
    What is important here is that you know the properties of your source file(s), set the project preset to match the properties of those source files, and then export with settings as close as possible to the original. Often you can do this without noticing quality differences in the export.
    I am understanding and defining your issue as you wanting to maintain the quality of the original imported files in the export. If that is the case, the please supply the following, and I will give you a step by step
    a. What are the properties of your source files (including bitrate). Here I am looking for
    video compression
    audio compression
    frame size
    frame rate
    interlaced or progressive
    pixel aspect ratio
    file extension
    A quick way to get that type of information is knowing the brand/model/settings for the camera that recorded the video.
    2. Based on that information we can set manually a project preset to match those source property.
    3. When we go to export...example Publish+Share/Computer/ and your choice and its preset, we can customize the preset selected
    under the Advanced Button/Video Tab and Audio Tab of that preset in order to try for the best possible match between the properties of the
    original file and the properties of the export.
    But, please let us know if you also need help in trimming the original import at the Timeline level prior to export.
    Your mention of Publish+Share suggest that you are working with Premiere Elements 11, 12, or 13. What is the computer operating system?
    Thanks.
    ATR

  • HT1848 How do I download content and apps from the iTunes Store to my computer, and then sync them to iPhone

    How do I download content and apps from the iTunes Store to my computer, and then sync them to iPhone

    Nevermind I got it
    I went to itunes on my iphone and clicked on purchesed and then went to not on this iphone and downloaded it
    Thank you all so much for you time and sorry im new to this

  • In adobe Captivate I would like the person taking the quiz to write their name and then for that name to appear on the score page.  Anyone know how to do that?

    I have lessons created using Captivate that my high school students use.  I would like the student taking the test to type their name and have it appear on the score page so that they cannot share results.
    Otherwise kids can do these for HW and share it with their friends.
    thanks

    Supposing you don't use a LMS, this could be the work flow:
    Add a Text Entry Box in the beginning of the course to ask for the name. If you want to be sure that they really do enter a name, have a look at:
    Where is Null? - Captivate blog
    Each Text Entry Box has an associated user variable.It is created automatically with the same generic name as the TEB, but you could better use a more significant name for the user variable:
    Save Time: Create Associated Variable for Text Entry Box while Defining this TEB - Captivate blog
    On the Score slide, insert a text container (caption or shape) in which you insert the user variable, using the X button in the Properties panel of the text container; it will appear between $$ and be replaced by the value of the variable on runtime

  • I have 100 data files, I want to join them together as one data file

    I need to join approx. 100 data files into one data file, and be able to read back each data file from that one big file. I would also like a feature to count how many files are in the main one file. The data files contain graphs, text and numerics.

    What you want to do is not going to be easy to implement. The idea is that files are just binary data and you can join the data into one binary file. The trick is going to be creating the appropriate header for the binary file to include things like file location--the beginning and end of a subfile--as well as the number of files. The exact structure of the header is really left up to you and your imagination.
    Why do you want to join all the files into one? It sounds like what you have works now and making one file increases the chances that all of your data will be lost if the file becomes corrupted. Also LabVIEW is limited to files of about 2GBytes, so you will be more likely to run into this limit.

  • Downloading content to use with apple tv on television, can you download multiple shows and then watch them later or just one at a time, watch then download the next one??  If multiple downloads are possible how does one do it?

    I just received apple tv as a present this Christmas and the shows take too long to download when I want to watch them.  Can I download multiple shows overnight or during day and watch them in the evening??  If so how?

    The ATV stores no content.
    Content can be downloaded to iTunes on a computer and then streamed to the ATV via HomeSharing.

  • My track pad highlights applications and files and then opens them without my doing anything. I run MacKeeper and having run the scan several times only get cleaning issues (5 -). Any ideas as MacKeeper Kromtech have not responded to my calls nor email.

    Folks
    I run an iMac. Today for some reason when I run the cursor across the screen applications and files are highlighted and then opened without me doing anything (no clicking etc) In fact print at times opens. As far as I can tell I have not changed any settings except to open firewall.
    I run MacKeeper and when I run a scan only a few cleaning items open. Safe and fast are as they should be. I run fix. If I again run the scan I get a few more but different claeing items to fix.
    I have rung MacKeeper several times without getting through. The occasion I did get through the bloke said he could not help and passed me to a higher authority. Needless to say the line dropped out after 30 minutes waiting.
    As it is the weekend and I do not live near an Apple store I am quite keen to get the problem identified and fixed so I can continue working.
    Your assistance please.

    Remove the "MacKeeper" scam product as follows. First, back up all data.
    "MacKeeper" has only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Don't empty the Trash. Let MacKeeper delete itself.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.

  • Can I use Camera Raw 8.1 to process files and then open them in PSE 12 ot finsih the edit??

    I really like working with RAW files in Camera Raw for initial processing, but I also like the simplicity of PSE to finish the edit.  Before I buy PSE 12, I wanted to make sure that I could get Camera Raw 8.1 also so that I can use them together.  Is this possible??

    Okay, I didn't know. I'm not a Mac user. I use Windows 7. I haven't had any problems with any version of the DNG converter. If you have access to a computer with the newer OS on it (through a friend order otherwise) maybe you should use that computer to convert your files. Without being able to use the converter, I don't know of any other solution for you. The only problem with converting an someone else's computer is a you wouldn't have the profiles for your camera on your machine. Can you not just upgrade your OS?

  • Adobe pdf files won't open while I'm online in FireFox even though I can download pdf files and then open them. It all freezes and tells me to check regedit. I have FireFox 5 and Acrobat 8, and I haven't found regedit, let alone know what to do with it..

    If I click to open a pdf file when online with Firefox, the screen freezes and it tells me that the registry isn't updated and I should try regedit. About a month ago I had to wipe my computer clean and start all over again because of a virus that couldn't be cleaned out. I've since downloaded all necessary programs, Acrobat 8 one of them, but this message only appeared yesterday. Not sure why it worked up until now if it's the registry. But I don't know how to update it with regedit.

    You need to get rid of all those duplicate files. Put these in the Trash:
    Adobe Reader 7.07 (all copies)
    AdbeRdr708enUS.dmg
    This should leave you with one copy of Adobe Reader 7.08 in your Applications folder, with the correct Adobe icon.
    Now run Disk Utility and choose Repair Permissions. When it's done, try double-clicking on the Adobe Reader icon and see if it starts normally. If not, make a note as to any error messages or unusual behavior and post again.
    Mulder
    If this answered you question, please consider awarding some points. Why Reward Points?
    iMac G4 700Mhz   Mac OS X (10.3.9)  

  • How do I add variables to different checkboxes without using the 'Export Value' and then add them together (if checked)?

    Hello,
    I am very new to JavaScript.  I would like to create a checkbox with a numerical value variable activated if the box is checked.  Unfortunately, I cannot use the 'Export Value' because I already need to use it for something else.
    Any help is really appreciated.
    Thanks,
    Robyn

    Brace yourself, here's your solution.
    First of all, the export value of you checkboxes should definitly be the number of hours for the class since you will just add them up further.
    Second, we will use the userName property for our second export value (its the field right under Name and its labeled "tooltip").  You will name the class there.
    Finally, you need to name each checkbox with a number at the end starting with 1 all the way to 190.  This will be used in loops. ("whatever.1", "whatever.2,....."whatever.190")
    In the calculate event of "total hours":
    var sum = 0;  //declaring a variable that will be used in the loop
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              sum += Number(this.getField("whatever."+i).value);   //.....add its value to the sum
    event.value = sum;  //display the total
    Now for the course name field, we will use the same pattern in the calculate event
    var courseList = new Array();  //declaring an empty array that will contain the courses
    for (var i = 1; i <= 190; i++){    //this loop will scan through all your checkboxes
         if (this.getField("whatever."+i).isBoxChecked(0) == true){  //if box is checked....
              courseList.push(this.getField("whatever."+i).userName);   //.....add its userName (tooltip) to the array
    event.value = "You are attending these courses:  "+courseList.join(", ")+".";  //display the array by turning it into a string and joining its items with ", "
    You can try it out with just a few checkboxes at first.  Don't forget that the loop mustn't go further than the existing field or you will get an error and the script will stop.  Make sure no error show in the console (ctrl+J).

  • I just bought a new laptop and am wondering if there is a way to save the bookmarks to a flash drive and then install them on the new computer?

    Just looking to import bookmarks from one computer to the next.

    See also http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

Maybe you are looking for