Losing data when importing excel into an array

Hi,
I have been writing some code that imports data from an excel .xlsx worksheet file containing 890 columns and 150 rows.
When I set the VI to import 702 columns everything works fine.  When I try to import 703 columns I get no data in my array.  The VI continues to run without any errors just gives me no results as there is no data in the initial array.
Can anyone tell me if there is a setting somewhere Im missing or explain why this is happening as I have read that there should be no limit to the amount of columns you have as long as you have less than 2^32 elements which I am well below.  I am using a Labview 2009 and a PC with windows7 64bit and 4G RAM so there should be no problem with PC resources.
Thanks,
Ray.

Hi Ray,
702 is the limit when you use just 2 chars for the column name: "A" to "ZZ" allows for 702 columns.
Probably a subVI somewhere deep in your Excel loading routine is limited for that naming scheme (or is only aware of  older Excel versions)...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • I am losing quality when importing images into ps touch?

    Bringing in 12mp images from Nikon camera and losing quality (blurry edges, low quality, etc).  Is there a setting I can change or is this what we have to deal with on ps touch?

    use the touch forum http://forums.adobe.com/community/creative_cloud_touch_apps/adobe_photoshop_touch

  • When importing photos into iPhoto I get an error Unreadable Files:

    When importing photos into iPhoto I get an error Unreadable Files: The following files could not be imported (they may be an unrecognized file type or the files may not contain valid data).
    I can open the JPG in question with PREVIEW, photoshop etc.. actually if I try to import a photo that I had originally imported it also fails..
    Please help... Thank you..

    I too had this error message (and to be honest, it was becoming a bit of a pain). I resolved it in a slightly different way to Terence.
    I had 10 photos that were allegedly unreadable; however, as Terence rightly says, they are duplicates. When I opened iPhoto I mad a note of each of the files concerned and did a Spotlight search throughout my hard drive.
    For each photo, there were four or five duplicates. I deleted all but one of each of the photos and then reopened iPhoto. No more error message.
    The original problem stemmed from importing my files directly from an external device I was using with a previous computer [that was running XP].
    Anyway, hope this helps.
    Andy

  • When importing images into LR5 on my laptop, the photos all have a wide yellow streak through them. This only happens on the laptop; I can import the images onto my desktop LR and there isn't the streak of colour.   Can someone help?

    When importing images into LR5 on my laptop, the photos all have a wide yellow streak through them. This only happens on the laptop; I can import the images onto my desktop LR and there isn't the streak of colour.   Can someone help?
    This is happening even with photos that were taken on another camera, not just mine.  My daughter told me that the laptop recently fell.  The yellow streak is not anywhere else on the laptop, just on the photos in LR.

    I have had this problem on my desktop.  I have been attempting to reproduce it where it can be debugged. Here are some observations/facts in my environment--no conclusions:
    1. I do not import from camera or memory stick directly into LR.  I copy all images (using Explorer) from camera to two different locations (backup location first); and then my working area. In both cases, after files are copied I mark them Read-only.
    2. Poor observation, but in any event: the issue has only occurred when I do a large number of images. Its a poor observation as I have no exact number.  I suspect when I do less than 50 always works well every time.  However, I have also done some very large imports without issue.
    3. Error only occurs with my RAW images--for me that's NEF.  I have multiple cameras--those that only capture jpg images have never had an issue in LR.
    4. Even if the file is marked Read Only issues can still occur.  I then remove the image from the disk using LR -- and then manually (Explorer) copy in my backup image -- re import again and all is well.  I think one time I exited LR and replaced the bad file with a backup and restarted LR and all was well again.
    5. When it occurs I have performed a HASH value on the broken file and on the backed up file to determine if the file contents has changed--and each time the file contents has changed.
    6. I have had this occur immediately after import, but most often it occurs like this... import large number of images; Make changes in Development Module on random image, export jpg of changes--exit LR. Open up LR and file is corrupted.
    7. I have had this issue on multiple USB drives ( okay just 2 different drives have been tested ).
    What next--fire up Process Monitor and monitor the system (specifically LR) to see if it reports any file open for write access when this occurs.  So, far I have not had process monitor actually running when it occurs--one of these days.

  • HT1473 When importing CDs into i-tunes should the artwork be there automatically.  If not how do I get artwork to show in i-tunes and on my ipod.  I had artwork with a PC but now I have a mac artwork does not appear.

    When importing CDs into i-tunes should the artwork be there automatically.  If not how do I get artwork to show in i-tunes and on my ipod.  I had artwork with a PC but now I have a mac artwork does not appear.

    I don't use iTunes's "fetch artwork", so I'm not 100% sure, but unless you are signed in to your iTunes account, artwork is not automatic. Even then, iTunes doesn't always find it.
    You can copy-and-paste artwork from the inernet, either Amazon or Google. I use 300x300 pixel images.
    For the future, if you have iTunes questions, you might be better off posting them in the iTunes for Mac forum, this is iTunes for Windows. In this situation, it doesn't make any difference, but next time maybe it will.

  • When importing files into fcpx from go pro hero2, some are importing as .mov and some as .mp4. when making a multi cam clip it will only add one type, if you try and add the other it says camera clip cannot be processed.

    when importing files into fcpx from go pro hero2, some are importing as .mov and some as .mp4. when making a multi cam clip it will only add one type, if you try and add the other it says camera clip cannot be processed. need to figure out why it randomly imports differently, or how to add different file tyoes to multi cam.

    here is one that is imported and stays .mp4. the specs are same as original file before import.
    here is one that has changed somehow during import. specs on original file are same as above, but once it is imported it changes to this in event folder, and others randomly keep the above specs.

  • When importing Raw into A3, in what format is the picture displayed? Jpeg or tiff.

    When importing Raw into A3, in what format is the picture displayed on the screen? Jpeg or Tiff ?

    None of the comments you have gotten are particularly useful.  The display is independent of format of the file.  It's rendering is of the full pixels in the image file that you have imported, modified by any adjustments you have made, or not if you ask to see the Master.
    Even if your Master was imported as a JPEG, as seen on the screen it would have been decompressed, and you would see all the pixels (that the screen is capable of).  However, a JPEG may have lost some detail in the compression, but when decompressed has the same number of pixels as the equivalent uncompressed photo format -- but some of them may result from interpolation, and not be the original. 
    Ernie

  • Dates get randomly changed when importing folders into Aperture

    I am in the process of migrating my iPhoto pictures over to Aperture. Because I have close to 100k pictures and short clips, I can not import my entire 500 GB library at once because I don't have enough hard drive space to support both iPhoto and Aperture libraries at the same time. I also thought it might make sense to not have one gigantic library. Also I would like to have my old photos separated by years, and I don't know if Aperture would do this if I imported the entire iPhoto library (which does only separate them by events) at once. So it appears to me that the only import method that would work (please correct me if this is wrong) would be to open the "Masters" directory of iPhoto in the Finder, and drag and drop each year's directory into the "Projects/Library" panel in Aperture. Note that I do not want any editing information preserved from iPhoto, so using the Masters seems to be the most space efficient thing. So far so good but there appear to be at least two big snags. Firstly the yellow projects folders within each blue years folder in Aperture are not in chronological but in alphabetical order and I can't find out how to fix this. Secondly (and much more problematically) the dates on many old photos have been altered in an apparent random manner during the import into Aperture! Therefore they do appear in the wrong locations in my events library, according to the altered date. There are many too many photos that have been changed to undo this manually (I estimate it would take several weeks to do this).
    But how and why could this have happened in the first place?
    I also noticed that even when I change the dates of the Aperture masters to the true ones (by comparing to the masters in iPhoto), they still remain in the same wrong location in my Projects/Events library, according to the date originally (and falsely) assigned by Aperture.
    There surely has to be a way to import photos into Aperture without ruining their date stamp?
    Thanks in advance for your help!

    Hi iScientist,
    If I understand you correctly I should not import iPhoto Masters directly, because they have been altered to be in some kind of internal organization scheme. What I'm confused about is that I thought the "Masters" in iPhoto were just untouched camera files?
    Yes, I would also be confused. The more I think about it, the less I know why anything wrong. You stated that you don't care about any adjustments you made in Aperture, so why wouldn't be okay to "reach into" iPhoto's internal database and pull out the masters? Good question. The only thing I can come up with: Maybe that folder isn't really what you think it is.
    Were you able look at the metadata in Preview after finding one of the problematic masters in the iPhoto library again? That might give a clue.
    When you say "regular way", do you mean going to "Import -> iPhoto library"? The problem with this, it seems, is that my entire iPhoto library will be imported that way, however I would like to import it chunks, split in years and on different physical media
    Yes, that is what I meant. There have been various topics in this forum concerning how to import parts of the iPhoto library. I cannot seem to find any relevant posts at the moment. Perhaps someone else has better luck searching...
    In any case, you may be better off using *referenced masters* instead of multiple libraries. With multiple libraries, your photos will be disjointed by whatever scheme you devise (like years). So, when you're looking at 2011, and you want that Christmas photo from 2010, you will need to close Aperture and restart it with a new library.
    With referenced masters, you choose to store a particular set of *masters only* (maybe all of them) in another location. You can put different sets of masters in different places. For instance, you can have one project on one external hard drive, and a different project on a different external drive. Your versions, metadata, previews, thumbnails, all stay in the library. In this way, you can at least view screen-sized versions of last Christmas even if your "2010" external hard drive is not connected.
    Looking at manual for references to referenced may be good for you before you delve too deep into this.
    What I meant by order being unchanged/the file being in the wrong location is that in the chronologically organized projects overview the projects that were imported with the wrong date, which I changed to the correct date in Metadata, still appear in the wrong location.
    Ahh, that is a bug that users discovered a little while ago. It took me a while to re-find the thread, but you can read up on that here. I (among others hopefully) have provided feedback to Apple concerning that bug.
    [http://discussions.apple.com/thread.jspa?messageID=12981789&#12981789]
    I didn't think about that view because that view is not generally as useful as the list view in the Inspector pane. That view is new to Aperture 3 and in my opinion was built to make the transition for users of iPhoto easier.
    nathan

  • Photos on my Mac show the wrong date when imported from a portable Hard Drive

    I’ve got loads of photos that I had imported from my old PC.Last night I decided to start going through them and trying to get them sorted  
    prior to importing into iphoto. I discovered that some of the pictures (in particular ones I have taken from my old Iphone) all had the same date and time
    assigned to them. When I checked the Exif details, it listed the correct camera etc, but the date created seems to have changed to the date I copied them to my portable hard drive.  
    I thought this was strange as when they were on my PC I thought they were correct. I booted my PC up and checked the portable hard drive on Windows. When viewed on my PC the pictures all have the correct time and date assigned to them. However when I plug the same portable hard drive into my Mac the same files show up as being created on a more recent date (say 20th Jan 2013).
    I’ve done a lot of research last night, although I can find no forum with this exact problem, I feel it must have something to do with compatibility. The portable hard drive is FAT32, and I am assuming that in order to ensure all of the photos information is transferred correctly in needs to be NTFS.
    The problem I have is how do I transfer my files again from my PC to an NTFS drive, whilst keeping all of the correct date and time information assigned to the photos. My understanding is that the 2 aren’t compatible.
    Has anyone ever had this problem? It mainly seems to be with photos I have extracted from my Iphone or edited in some form by rotating them.
    I have a 13" Macbook Pro Retina with OSX Mavericks installed.

    What you may want to do is archive as a Zipfile the photos and then transfer them to the Mac.     It is possible some of the metadata is being lost on the FAT32 formatting.    USB Flashdrive might work better than a FAT32 formatted hard drive, as I do know that most USB Flashdrives are formatted about the same as SD media cards, which manage to preserve the data when copied from camera to Mac.    My big question is, do you still have the photos on media cards?  You might just want to get a media card reader on your Mac, if the photos are not on SD cards, and transfer them over with the media card reader.
    I do believe Retina MacBook Pros all have SD card readers built-in.
    Note: I've asked this be moved to the MacBook Pro forum.  MacBook without the secondary name refers to the consumer notebook Apple stopped making in 2011.

  • When importing photos into LR, the year is incorrect. How to fix?

    When I first created my Lightroom catalog, each new folder would fall under 2012, and within that folder would be the date, so for New Year's Eve "2012-12-31". Now that it is 2013, when I import photos into my 2013 folder, Lightroom instantly tries to create a subfolder of 2012 and another subfolder in that with today's date. I can't seem to get Lightroom to stop doing this. See the image below to see what I mean.
    I'd like it to just put today's importing images into a subfolder under the 2013 folder, called "2013-01-25". It still wants to create this 2012 folder. Sorry if I am not using the correct wording but this is what is happening so everything shot in 2013 keeps getting put into a new 2012 folder each time.
    As you can see I want the subfolders to be organized and Lightroom already has the date format correct. Please help me with this.
    Thank you very much.
    I am running Lightroom 4.3 on a 13" Macbook Air with Mac OSX 10.8.2, 1.8 GHz Intel Core i5, 8 GB 1600 MHz DDR3 memory, with RAW photos from a Canon EOS 6D.

    As far as iOS is concerned naming or labeling your photos is pointless since it's a "visual and tactile" device where you touch or swipe what you see or a folder opens to show you it's entire contents. IPad and iPhone was never intended to search for a picture as such like you would on your desktop or laptop.

  • How do I extract original photo date when importing photos?

    Hi,
    I am trying to import photos from a backup CD of pictures that I created in August. However, when I import them into iPhoto, the date that gets associated with the photo is the August date of the CD creation instead of the original photo date.
    I can see the original date of the photo image file, and I want that to be the date that iPhoto uses to organize the photos.
    Is there any preference I can set to extract the date information from the image data itself and NOT from the date stamp on the CD file?
    Thanks!
    Jason
    Message was edited by: JasonGP

    Please don't take the following as a flame...
    <quote>The move option is grayed out when importing from a card to save you from yourself. At least that's what I've always assumed.</quote>
    That's a bit draconian don't you think? Why have the option greyed out if you don't want the user to be able to do this. It's kind of like saying hahah, this is possible to do, but, you, the user, are a moron. Why even place the option on the page in the first place.
    <quote>It just happens to be a bug that few on this forum care to see fixed because most of us feel that using it is unwise due to the danger of lost images and corrupted cards.</quote>
    Again, why put it on page as an option if it weren't intended to be enabled in a plist somewhere for those who wish to be 'unwise.'
    My logic is as follows: If Apple provides software that is more accessible to the 'unwashed masses' (because it's included with Leopard ie. Image Capture) and it deletes images directly from the camera, then why would a professional package (Aperture) limit the so called 'professional' from designing and using his/her own workflow governed by their own experience. Which could include first a backup to dvd or other device of your choice (keyword here: CHOICE) THEN import images and delete directly from the camera. Logically this is completely BACKWARDS, the app available to the 'masses'(Image Capture) should NOT let the user delete images directly from the camera and the 'professional' app (Aperture) should allow more flexibility for the advanced user who understands the implications of his/her work flow and adjusts accordingly.
    Besides, And I quote myself "I have searched the forums here and have only seen people offer advice why this is not good. Not to be an A##, but I don't want advice. I need an answer to my question. How do I enable this functionality?"
    Therefore, respectfully, your answer is: non sequitur.
    Best Regards

  • How to take waveform chart data and put it into an array

    Hello all,
    I am new to programming in Labview, and am learning basically by watching youtube video and such. My question is how to take a set of random data that I have written code for and linked to a waveform chart, and put the data into an array so I can calculate the mean of the data set. If there is an easier way to calculate the mean of the data set I am all ears, but I need to be able to display the mean on the front panel each time the code is run. I have attached a file of my code.
    Thanks
    Attachments:
    CA1.vi ‏11 KB

    Welcome.
    If you have not done so, look at the on-line tutorials on Getting Started with LabVIEW on the NI web site.
    A chart has a property known as History which retains some previous values.  You can get access to the the History property by popping up on the block diagram terminal of the chart and selecting Create >> Property Node. Note that the history length can be set via a pop up menu.  The default length is 1024.
    Other comments: When you know the number of iteration in advance you should use a for loop rather than the while loop.
    You can also use an autoindexing tunnel at the boundary of the loop to create an array. It only contains the values from the current run, unlike the chart history which can retain values between runs (as long as the VI remains in memory). Watch the two Mean indicators as you run this VI several times.
    The error wire is to assure that the history property node runs after the loop.  Disconnect the wire and watch the Mean and Mean 2 indicators carefully.
    The Wait is to slow things down a bit so that you can see what is happening.
    Lynn
    Attachments:
    CA1.2.vi ‏11 KB

  • "Unable to log URL" error when importing WSDL into Web Service connection

    Hello Experts
    I'm using Xcelsius Engage and I'd like to use Web Service connection.
    I've developed my own Web service (that is using 2 other web service inside it).
    and now I'm trying to import it into the Xcelsius (connection --> Web service connection).
    And I get the follwoing error:
    "Unable to log URL"
    When I browse to my wsdl file in IE the file is loaded with no problem.
    When trying to import other URLs it also works fine (for example: http://www.xignite.com/xFinancials.asmx?wsdl)
    Any idea?
    Thanks,
    Miki

    Hi Matt
    Thanks a lot!!!
    Indeed the solution was in the follwoing thread:
    VB.net code to create XML
    Parsing the query result fixed the problem.
    For others who might have the same problem:
    Here's a working web service (C# code, for vb code follow the link to the thread above):
    public Service () {
        public struct QueryResult
          public string SlpName;
          public string Commission;
        [WebMethod]
      public QueryResult[] RunQuery()
          // Open Connection - Query Data from DB table - Close connection
          SqlConnection connection = new SqlConnection("Data Source=(local);Integrated Security=SSPI;Initial Catalog=SBODemoUS");
          SqlDataAdapter adapter = new SqlDataAdapter(
            "SELECT SlpName, Commission FROM OSLP", connection);
          DataTable DT_QryResult = new DataTable();
          adapter.Fill(DT_QryResult);
          connection.Close();
          // Parse data to be forward to Xcelsius
          QueryResult[] QryRes = null;
          QryRes = new QueryResult[DT_QryResult.Rows.Count];
          int i=0;
          foreach (DataRow row in DT_QryResult.Rows)
            QryRes<i>.SlpName = row["SlpName"].ToString();
            QryRes<i>.Commission = row["commission"].ToString();
            i++;
          return QryRes;
    Best regards,
    Miki

  • Error when importing cd into itunes

    when i insert a purchased cd i cannot import it into librbay for trf to ipod.
    I get an error message
    error occurred while converting file - the required folder cannot be found.
    im a mac virgin and have had great fun with my new mini, it blitzes the pc's but is it possible i cannot rip original cds?

    yes i can view the contents of the cd in i tunes but when i press the import button, i see the error blah blah cannot find folder.....
    because i have the itunes librbary pointing to my external drive (which was formated and connected to my windows pc i think there may be a permissions issue because itunes plays the tracks but i cannot write to the drive of change its contents.
    so this may be the reason, and i do not know the solution.
    maybe i should copy he drive contents to the macs hard disk and re format or something the drive with the mac. ... but i do not know how.
    what do you think? or am i missing the point
    thanks

  • Dial-up connection disconnects when importing CDs into iTunes

    When importing a CD, my dial-up Internet connection disconnects after each song has finished importing. The importing doesn't seem to be affected, but I keep having to reconnect. This is very annoying!
    Has anyone else had this problem, and how can I fix it?

    This is also a known phenomenon on Macs with a dial-up connection.
    For Macs there is a workaround, but no solution yet.
    By using an Applescript, the firewall settings will be toggled on CD insert, preventing iTunes to contact Gracenote (to get track information).
    I don't know something similar for Windows.
    Maybe you can write some code yourself.
    The URL to block (temporary) is "http://service.gracenote.com"
    You can always get the track information later by selecting all tracks of an imported CD and choosing 'Get CD Track Names' from the Advanced menu in iTunes.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.4.6)   Several ext. HD (backup and data)

Maybe you are looking for