Deal with .xls files.

My LabVIEW vision is V7.1 ,in my case I have two files:
The first one such as:
SN:a
WL    PDL 
1590     0.32
1600     0.45
The second one such as:
SN:a
WL  PDL
1590    0.03
1600    0.04
I want to get a result the first file minus the second file such as:
SN:a
WL  PDL
1590  0.29                                             (0.32-0.03)This I don't need
1600  0.41                                             (0.45-0.04)
How can I get it? Any suggestion?
EZCONN TEST ENGINEER
V

You can open both files, index the array for the column that you want to subract, and then use the subract vi from the numeric pallete.  It will automatically subract the first element of array one from the first element of array 2, etc.
See the attached picture.
Kenny
Kenny
Attachments:
difference in files.gif ‏134 KB

Similar Messages

  • How i can deal with oracle file by using php api

    how I can deal with oracle file by using php api ?

    What has this to do with Reflections and Reference Objects?

  • LTFS is slow when dealing with many files

    Working with LTFS on Windows 7 64, I find find that it slows down significantly when dealing with many files (>1500)
    From the behaviour, I suspect that it has to do with the number of file handles.
    Some LTFS vendors have a copy utility that deals very well with this situation.
    I could not find anything like that for HP.
    Does it exist? Is there an open source solution?
    Thank you,
    - Bartels

    Can someone from the Experts please respond?
    Your LTFS solution is in certain situations much slower than the competitors; the difference is a huge factor three..
    I would really like to know if there is a solution or not. Either way.
    - Bartels

  • Dealing with large files, again

    Ok, so I've looked into using BufferedReaders and can't get my head round them; or more specifically, I can't work out how to apply them to my code.
    I have inserted a section of my code below, and want to change it so that I can read in large files (of over 5 million lines of text). I am reading the data into different arrays and then processing them. Obvioulsy, when reading in such large files, my arrays are filling up and failing.
    Can anyone suggest how to read the file into a buffer, deal with a set amount of data, process it, empty the arrays, then read in the next lot?
    Any ideas?
    void readV2(){
         String line;
         int i=0,lineNo=0;
            try {
              //Create input stream
                FileReader fr = new FileReader(inputFile);
                 BufferedReader buff = new BufferedReader(fr);
                while((line = buff.readLine()) != null) {
              if(line.substring(0,2).equals("V2")){
                     lineNo = lineNo+1;
              IL[i] = Integer.parseInt(line.substring(8,15).trim());
                    //Other processing here
                     NoOfPairs = NoOfPairs+1;
                     }//end if
                     else{
                      break;
            }//end while
            buff.close();
            fr.close();
            }//end try
            catch  (IOException e) {
            log.append("IOException error in readESSOV2XY" + e + newline);
            proceed=false;
            }//end catch IOException
            catch (ArrayIndexOutOfBoundsException e) {
                   arrayIndexOutOfBoundsError(lineNo);
         }//end catch ArrayIndexOutOfBoundsException
         catch (StringIndexOutOfBoundsException e) {
              stringIndexOutOfBoundsError(e.getMessage(),lineNo);
    }//end V2Many thanks for any help!
    Tim

    Yeah, ok, so that seems simple enough.
    But once I have read part of the file into my program,
    I need to call another method to deal with the data I
    have read in and write it out to an output file.
    How do I get my file reader to "remember" where I am
    up to in the file I'm reading?
    An obvious way, but possibly not too good technically,
    would be to set a counter and when I go back to the
    fiel reader, skip that number of lines in the inpuit
    file.
    This just doesn't seem too efficient, which is
    critical when it comes to dealing with such large
    files (i.e. several million lines long)I think you might need to change the way you are thinking about streams. The objective of a stream is to read and process data at the same time.
    I would recommend that you re-think your algorithm : instead of reading the whole file, then doing your processing - think about how you could read a line and process a line, then read the next line, etc...
    By working on just the pieces of data that you have just read, you can process huge files with almost no memory requirements.
    As a rule of thumb, if you ever find yourself creating huge arrays to hold data from a file, chances are pretty good that there is a better way. Sometimes you need to buffer things, but very rarely do you need to buffer such huge pieces.
    - K

  • Help dealing with jar file

    hi all
    i'm trying to deal with a jar file:
    in myPackage.myClass i call:
    Class.forName("org.hsqldb.jdbcDriver");i know that this file is contained into the file named "hsqldb.jar"
    where shall i place this jar file in order to be found by myPackage.myClass without edit any system variable like class-path?
    thanx a lot
    sandro

    For the jar, no, as jar's must be explicitly referenced on the classpath.
    For the un-jar'd classes yes.
    If they are extracted so their directory tree starts in the same place as the directory tree of your classes
    e.g.
    someDirectory
    |
    +-- yourComapay
    |    |
    |    +- yourApp
    |        |
    |        +- YourClasses
    |
    +-- com
          |
          +- importedPackage
              |
              +- ImportedClassesSo long as 'someDirectory' is on the classpath. It should run.

  • Macs still unable to deal with WMV files without a paid for app

    This is just really embarrassing stuff from Apple.  I love the hardware, but the software is Stone Aged.  What's gone wrong with Apple.  It's like there's not been any software progress in 10 years.

    "WMV" stands for Windows Media Video.  Apple is not associated with Microsoft Windows.
    So if you want to deal with this type of Windows file on an Apple product, look for a third party solution.
    http://lmgtfy.com/?q=WMV+File

  • How do I deal with damaged files that aren't damaged?

    I find when trying to download pdf files that quite often, Firefox says "the file is damaged and could not be repaired" or something like that - but I know there is nothing wrong with the file because when I used Internet Explorer, it works!
    == Ever since I started using Firefox

    kstp,
    the .thm file is simply a jpeg thumbnail version of your movie which you could probably view by changing the name from .thm to .jpeg (not entirely sure about that). Your audio problem is more likely caused by iMovie not having the codec needed to play the audio format encoded into your mov container. Maybe someone here more familiar with iMovie can tell you what audio formats work within iMovie, and you can set that in your camera to prevent this problem.
    Now, worst case scenario is that you'll probably have to extract the audio and convert it to something that works in iMovie. You can extract the audio from within iMovie from the advanced options menu. You can also use a free app called FFMpegX to extract and convert it to something else. Hopefully though, someone here will have a more convenient solution for you.

  • What is the deal with .wma files?

    I recently purchased a 3rd generation nano, and I am pretty sure that I might be able to launch the space shuttle with this thing. There seems to be nothing that it can't do--EXCEPT download audiobooks from my library...which is one of the primary reasons that I wanted the thing! What is the problem? Why can't Apple get it's act together with this file extension? Do I really need to go out and buy ANOTHER .mp3 player just to listen to audiobooks?

    Have you even tried? It's easy!
    Use File -> Add File to Library... then select the .wma file, a warning will appear saying ..."iTunes will automatically convert them to the AAC format"... go ahead, the result will be a .m4a file in the music library.
    Then select the added file, use File -> Get Info, in the summary, at the bottom, look at the file location. if you want the audiobook to appear on in its respective library (not with the music) then rename that file changing the extension to .m4b, delete the original entry on iTunes, use File -> Import... to select the renamed file and that's it, look for it in Audiobooks.
    You may want to add cover art, correct the tags, perhaps set equalizer preset (to spoken word), all that is done with the Get Info panel, the other tabs let you do it.

  • How do I deal with .thm files and iMovie?

    I've been using my digital camera to take short movies. When I download them onto my computer they show up as a file with a name like: MOV02161.MOV and another with an identical name but the extension .THM. When I double-click on the .mov file it opens in Quicktime and plays back no problem. When I import the .mov file into iMovie it plays without sound. I've noticed that the .thm file seems to be crucial to whether there is sound or not (I tried trashing one but then the Quicktime video played without sound!) but I can't import the .thm files into iMovie. Do I have to convert them to some other format? How do I do that?

    kstp,
    the .thm file is simply a jpeg thumbnail version of your movie which you could probably view by changing the name from .thm to .jpeg (not entirely sure about that). Your audio problem is more likely caused by iMovie not having the codec needed to play the audio format encoded into your mov container. Maybe someone here more familiar with iMovie can tell you what audio formats work within iMovie, and you can set that in your camera to prevent this problem.
    Now, worst case scenario is that you'll probably have to extract the audio and convert it to something that works in iMovie. You can extract the audio from within iMovie from the advanced options menu. You can also use a free app called FFMpegX to extract and convert it to something else. Hopefully though, someone here will have a more convenient solution for you.

  • Urgent! Help, how to deal with m2ts file in Final Cut Pro or Compressor...

    Dear All:
    Please help me solve this urgent issue, I've got source that came with the mpeg-2 Transport Stream (48min content @ 3.42GB size) format , but both my Final Cut 6.0.6 and Compressor 3.0.5 can not open this type of file, is there any way that I can transcode this m2-ts file into a Final Cut Pro and Compressor readable format with the highest quality possible? And how to do it?
    Thanks in advance.
    Kevin
    Message was edited by: Kev C

    hey, Thanks David, actually, I used MPEG Streamclip prior to post this massage, the problem is that my
    MPEG Streamclip 1.9.2 can't correctly open this m2ts file (it says it can not read the file size...) and I also tried using VLC to transcode it, but with no luck, I can not find the right video and audio format to come out with QT playalbe file. Let me try ClipWarp to see if it works.
    Kevin

  • How to Read file name which we are dealing with ODI File tool

    Hi,
    We are using ODi10g version and we have requirement to move file from one place to another place. We are using ODIFileMove utility but we also want to read file name.
    Any help.
    Thanks in Advance.

    You can accomplish this with a fairly simple Jython script.  Use the os.listdir(<directory>) command to get the name of files in a given directory. 
    You can then (still in the Jython script) loop through the files and move them to a desired location (bypassing the OdiFileMove tool) OR use the Jython script to write the file names to a SQL table.  Then, use an ODI procedure to loop through the newly inserted records and store the file name in an ODI variable that you can then use in your OdiFileMove tool etc.
    I often refer to this blog entry from Gurcan Orhan as a starting point for this kind of task: Loading multiple files with ODI | Gurcan Orhan&amp;#039;s Oracle Data Integrator Blog

  • VIDEO PODCAST WITH iWEB-how to deal with huge file size

    Hello folks,
    I have created simple website for my video podcast. It all works fine, except one problem. I had used just small video clips for now, just for testing... and it takes long time for website to download. I can't even imagine, how slow it will be, when I have full 15 video episodes within my website. So I am wondering, is there any way of how to maintain that cool iWeb podcast structure (with podcast page, entry page and archive page) but not to embed those videos onto the page, but instead, play it externally? I have tried to just post the link to the video clip, but than "publish to the folder alternative" does not create correct rss.xml feed, because it does not know where those clips are. So it doesn't work in iTunes.
    Any suggestions? Thanks for any input or advise.

    Hello,
    unfortunately, no answer yet. The only solution I can think of, is to create a Blog instead of Podcast, then post hyperlink to your video file on entry page. That way, the actual video is not embeded on that webpage, but it only downloads when someone clicks on it. That way you probably won't be able to use subscribe button and RSS subscribe button, but you can create your own Feed with Feed For All software (http://www.feedforall.com), put it on your domain, then post it's URL on your website. So if someone wants to subscribe to your podcast, he will copy that address and paste it into the iTunes or some other podcast readers.
    I am a beginner, so this most likely is not the best solution, however, it works so far.
    Good Luck

  • What's the deal with zip files?

    This was the closest forum match I could find to what I'm posting, hope it's right.
    Being a Windows user, every time I get a zip file from a mac user it's full of all these extra files, often just duplicates of folder names with no extension. Pretty much always is a folder named "_MACOSX". What are these? Am I supposed to extract them with the rest of the content?
    Message was edited by: Phil Nolan

    Hi Phil,
    quite the right place here for that question
    The DS_Store file is created when a Mac user creates an archive (also called a zip file) using the Mac.
    The DS_Store file contains the information about how a folder will be opened:
    for example, the shape and size of the window, the window's position on the desktop and which view was last selected.
    The DS_Store file is contained in every folder:
    If a Mac user zips a folder of files, and the Mac user sends the zip file to another Mac user, the folder will not appear - this is a hidden folder.
    When the Mac user sends the zip file to a PC user, however, the DS_Store file is shown.
    PC users are often confused by these (seemingly superflous) files and folders.
    Neither the __MACOSX folder, nor the .DS_store files are important for PC users, so you can ignore them; not unzip them; delete them.
    Regards
    Stefan

  • Error Code 120 when dealing with locked files

    Here's a weird one.
    I've been moving some files around from drive to drive, and have a small pocket of resistance in the form of three folders, all containing locked files.
    If I "Get Info" on any given file, I'm told that a) the file is locked, which is greyed out, and b) that "You have No Access" under Permissions. Attempting to change the Owner returns the following error message:
    *The operation could not be completed.*
    An unexpected error occurred (error code 120).
    Any ideas? I can't copy the files to their future home, nor can I delete `em. I've Repaired this disk (no errors found) and Repaired Permissions as well, all to no avail.
    Any insight would be appreciated!

    I wonder if the immutable bit has been set? If that is the case, this article by Michael Conniff might help:
    http://discussions.apple.com/thread.jspa?threadID=121976&tstart=0
    The error code you are getting doesn't quite make sense. According to Mac Error codes, 120 means "The version of the "Mac OS ROM" file is too old to be used with the installed version of system software"--which doesn't seem to have anything to do with anything you are doing.
    Francine
    Francine
    Schwieder

  • InDesignCC cannot deal with .indd files.

    Hey All,
    Recently (in the last few months) InDesignCC freezes briefly and is extremely slow when I open or save .indd files. I cannot seem to understand why this is happening. I can create a new file, but as soon as I save it as .indd it freezes periodically and is simply unusable. Saving files to .idml works fine too, but its just .indd that freezes. I have tried resetting preferences and reinstalling the program, but the problem persists.
    Has this happened to any one else? Please help!
    Regards,
    David

    I have no experience with SSDs, but 20 GB doesn't sound like enough free space for temp files and such along with saving documents. Aside from that I have no more ideas. Did you replace the prefs using one of the methods here?: Troubleshooting 101: Replace, or "trash" your I... | Adobe Community

Maybe you are looking for