How do you read a large ( 100Mb) 3-D matrix from a file and make sure that you keep only one copy of it within the LV program for future use?

I have to deal with large 3-D, I16 matrices that are stored in files. This data represents the density of an object at a sample point in 3-D space. I need to be able to display a 2-D section through the cube in an Intensity Chart. Since I want to update images in the intensity chart in real time to show different sections on demand I cannot adopt the approach of reading a section from the file when required - the I/O time assocaited with the disk read is way to long.
The solution, is to keep EXACTLY one copy of the entire data set in memory at all times and then just get the required section on demand.
This changes the disk I/O time to a memory access time, which is fast enough for my puposes.
Here is the problem. Since the matrices are so large, I want to be very sure that I only keep one in copy of the data in memory. After a couple of weeks discussioin with Tech Support, and the development of several sample programs, they have agreed that it is not possible to do it with less than two copies of the data in memory.
This additional memory requirement is a real problem for me and I am hoping someone is ingenious enough to come up with a way of doing it with only one.
I can send a sample program illustrating the problem if necessary.
Many thanks.

Jean Pierre,
Thanks for your reply - most kind of you to take the time. But.....
This is exactly what I thought, and is similar in concept to the way I wrote my code. But it doesn't work. I modified you llb slightly by setting the variables to be I16's and setting the default array size to 54,000,000 and the default action to be initialize. ( I'll enclose a copy of my modified llb for you.)
Here's what happened. I start the windows task manager, loaded LV and the program and looked at the memory shown in the task manager. It shows about 28Mb before I start to run the program. I then single step through the program. When it gets to the output of the Initial Array the memory usage jumps to about 134Mb, indicating the creation of the first copy of the array. As you continue single stepping it jumps to 239Mb as you leave the Case loop and head for the Shift Register. This memory does not drop down again.
After talking with Platinum Tech Support, they agree and tell me that they cannot see a way to have just one copy of the array. That's why I posted it on the message board to see if there was anyone out there who had come up with an ingenious solution. It seems to be a serious limitation to labview.
Let me know what you think.
Thanks once again.
Attachments:
HugeArrayMod.llb ‏92 KB

Similar Messages

  • My iPod Touch has been stolen, someone offers me to make his mine. How can I erase the informations from his iPod and make sure that my library will copy in the new one?

    My iPod Touch has been stolen, someone offers me to make his mine. How can I erase the informations from his iPod and make sure that my library will copy in the new one?

    Restore it as new.
    iPod touch User Guide (For iOS 5.1 Software)

  • How do you show only one caller's video display wi...

    How do you show only one caller's video output with four people sharing a video call? i.e. the call originator wants to show a DVD video on a TV screen and the other callers want to view the video on full screen not just one fourth of their screen.

    Thought I'd try this just in case they are stripping out attachments.
    Gary Grow
    6457 Audubon Sq Dr N
    Mobile, AL 36695
    Email: [email protected]
    Cell: (251) 422-8817
    The American Creed by William Tyler Paige
    I believe in the United States of America as a government of the people, by the people, for the people; whose just powers are derived from the consent of the governed, a democracy in a republic, a sovereign Nation of many sovereign States; a perfect union, one and inseparable; established upon those principles of freedom, equality, justice and humanity for which American patriots sacrificed their lives and fortunes. I therefore believe it is my duty to my country to love it, to support its Constitution, to obey its laws, to respect its flag, and to defend it against all enemies.

  • How do you remove this: META NAME="ColdFusionMXEdition" CONTENT="ColdFusion   DevNet Edition - Not for Production Use."

    Hi,
    How do you remove this: <META NAME="ColdFusionMXEdition"
    CONTENT="ColdFusion DevNet Edition - Not for Production
    Use."> since it
    automatically generates in my code when i run the application
    and it
    generates an error in the page.

    Deinstall the devnet version, and install the proper version.
    Adam

  • How can i check my mails on the iphone and make sure that the mail wont pop up again on my computer ?

    How can i check my mails on the iphone and make sure that the mail wont pop up again on my computer/ will be deleted on the server ?

    For that kind of connectivity you need to be using an email account configured either as IMAP or Exchange.
    IMAP & Exchange accounts will maintain a sync across all your devices, so if you read / delete a message on your phone, it will disappear from the server as well. This cannot happen in POP email accounts.
    If your using gmail, instructions on how to set up exchange / imap are here http://www.google.com/support/mobile/bin/answer.py?answer=138740&topic=14252
    Alternatively, if its anything other than Google, you will need to contact your email providor or IT department (if your email address resides with an enterprise environment) to get the correct settings.
    Hope this helps!

  • How to make a photo STAY in the assets panel for future use for In browser editing?

    How to make a photo STAY in the assets panel for future use for In browser editing?
    When I delete a photo from a page, it does not stay in the assets panel. My client uses in browser editing daily. Once a week he changes a photo just for a day, then needs the previous photo to replace it. The original photo is not in the asset panel (or folder) for him to choose.
    When you upload a photo, it has an arrow in the asset panel. How do you use this as an asset?

    Sure ... right mouse click on  your page and choose 'Exclude Page from Menus' :-)

  • How do you keep your ipod apps after updating to the 4.0 upgrade?

    I first backed up my iPod touch to keep all of my apps. Then I updated it to 4.0, when I got finished it didn't have any of my apps except the original ones from the iTouch. So I went to click restore from back up and it said that the 4.0 update would go away if I restored from backup. So how do I keep my apps and the update? I have bought some of the apps and do not think it would be fair to re buy them.

    No, a backup won't do anything, you need to check your sync settings and then re-sync.
    1- Connect your Touch to iTunes
    2- Verify that your App sync preferences are set correctly
    3- Verify that all your other sync preferences (Music, Video, Podcast) are set correctly
    4- Click Apply if you made any changes, or click Sync to initiate a sync w/o any changes.
    Assuming the missing Apps are in your iTunes, they should be added to your Touch after you re-sync.

  • Design Problem : How to design/code a java client which is deployed to all the machines in a cluster and make sure that only one of the java client is active

              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

    Hi Nisha,
              Failover message listeners? Sounds like you want MDBs, which are deployed on all nodes in a
              cluster. If your JMS destination is a queue, then only one MDB will pick up the message. And just
              like any other ejb service, MDBs failover.
              Gene
              "Nisha" <[email protected]> wrote in message news:[email protected]..
              hi ,
              I have to design a java client (which is basically a JMS message listener)which
              is deplloyed to all the servers in the cluster. But as these are message listeners,
              i want only one of the instance to be active at a time.
              If the server on which the client is active goes down , I want the second server
              to start listening to messages.
              How do i design this ? Also is there a public api for multicasting that we can
              use ?
              Anybody has an idea on how to go about this..
              Thanks
              nisha
              

  • HT3702 I would like to remove the credit card info from my account and only use iTunes prepaid cards. How do I take care of this and make sure that payment will be taken from iTunes cards? Thanks

    I would like to remove credit card info from account and only use iTunes prepaid cards. How do I take care of this and make sure payments are takin from the iTunes cards? Also, I need to change my last name and address on account.

    Hi Alexis ...
    I need to change my last name and address on account.
    Help here >  How to change the name you use for your Apple ID
    I would like to remove credit card info from account and only use iTunes prepaid cards.
    Help here >  Create an iTunes App Store account without a credit card

  • Can you transfer hd video directly from an ipod and then EDIT that video in imovie? I will be on the road and wont have a mac, just an ipad 2 and ipod touch. I want to shoot video on the touch and edit it on the ipad. Thanks!

    Can you transfer hd video directly from an ipod touch to the ipad 2 and then EDIT that video in imovie? I will be on the road and wont have a mac, just an ipad 2 and ipod touch. I want to shoot video on the touch and edit it on the ipad. Thanks!

    Thanks Tgara.
    Its funny. So far the responses have been 50/50 on this question. I even asked two seperate Apple Store employees here in NYC, and got two different answers! One said yes, the other no.
    Argh!
    I know from watching the keynote speech about icloud and iOS 5 that you will be able to cut the cord between the pc and ios devices like the ipad. No more need to sync them via a cord. So will that mean i would then be able to load video directly to the ipad via tha cam kit connector from my ipod? Also i wonder if/when Apple will allow HD video from on Apple devices like a canon dslr to be able to transfer to the ipad via the cam kit connector AND be able to EDIT that footage in imovie for the ipad. Speaking of imovie for the ipad...i hope it gets an update soon as well.
    Anyway....with the macbook airs getting updated next week with thunderbolt and new sandy bridge chips....i may just get one of them instead of the ipad 2 for editing video on the road. Still...i prefer surfing the web experience on the ipad. Grrrrrrr. **** youuuuuuu Apple!!! Lol

  • HT1386 How do you sync only one way?

    I want to know how to sync only one way because there are some photos from our previous apple devices and I don't want those photos to appear onto my new one when I sync to put the photos or videos onto the computer. Does anyone know how to do it without messing up the system?

    The photos are now on your computer and you don't want them on your new iPad?
    Then move this photos on your computer to another location (folder) first and then sync.

  • How do you remove a desktop icon with out deleting the whole program?

    i downloaded software online and it went into my application folder but instead of just the program the whole folder did with manuals and everything, so i copyed that to the desk top and then put the just the program back into the application folder. Now how do i delete the other one off the desktop, with out deleting the program,

    If you removed the application from the folder of other files, then deleting the folder has no effect on the application file. However, you might check that the application doesn't require any of the files in that folder before you remove it. Drag it to the Trash, but don't Empty the Trash until you're sure the application works without it.

  • How do you keep two (2) totally separate libraries on the same computer

    I have had an iPod nano for a few years and have built up my own library. My son received an iPod touch for his birthday. How do I keep my music and his music totally separate? We are using the same PC (the same iTunes link). He has his own iTunes account but it is still trying to sync my recent purchases with his iPod. And vice versa. His songs are in my library. Help!

    I sort of have a similar question about the same situation.
    I created a new iTunes library for my old iPod mini and loaded it up with music for my father-in-law. Only problem is, when I connect my 2G iTouch, my library with thousands of songs doesn't come up. I tried holding Shift down when I open iTunes to choose my library, and I see the one I created for him, but I can't find my library.
    Any ideas on how to find it or where it might be? I've been working on this for hours and have tried almost everything. Any help would be greatly appreciated, thanks in advance!

  • How do you put pictures on an ipod nano?? What program can I use?

    I really want my pictures on my ipod but have no clue how to. I asked around and everyone is clueless like I am. Please Help!!
      Windows XP  

    there is 18 mb free on the iPod
    The iPod can get really fussy when you are getting close to the limit. I would try putting like 300 mb free and then see what happens. As for all the dragging to iTunes, etc. It won't work. Just sync to folders using the iPod prefs as described in the help files.
    12" PB, Mac Mini (x2), G3 iMac (x3), G4 iMac, G5 iMac, Centris 610, SE30, Mac+ Mac OS X (10.4.4) 3G iPod, iPod shuffle, iPod nano

  • How do you keep a local copy of a song only

    I am enrolled in iTunes Match.
    I have some local audio in iTunes - from music workshops - that should not be loaded to the cloud.
    But I want to keep my local version.
    How can I mark it so Match won't upload it to the cloud.
    Regards..
    Leo Marland

    Turn off iTunes Match and change the Media Kind to Audiobook or Podcast. But if the tracks are encoded at 96 Kbps or less they will be ineligible for iTM anyway.

Maybe you are looking for

  • Use multivalue parameter in "in" clause.

    Hi expert, I pass a status string 'OPEN;CLOSED;REOPEN' into procedure, and in the procedure I converted it into variable v_status in format 'OPEN','CLOSED','REOPEN', then used it in the procedure as follows: select * from table where status in v_stat

  • Hypertext link from a Result

    Can part of a Result be configured as a hypertext link? For example, could a click on a column of a table go to cnn.com? As far as I can tell, the closest general support for this navigates from a Result to a Dashboard, which contains a hypertext lin

  • RMAN Hot Backup Errors.

    Hello Everyone I would appreciate if someone can assist me in resolving a problem. Starting from December of last year, we were able to take daily hot backups of our ORACLE 10g database server successfully with no issues. Presently we have been exper

  • User creation in sap portal

    Hi All, I have a requirement where in a supplier registers online and after approval(application is developed in ABAP web dynpro) is created as supplier in SAP. At the same time the supplier should be created as a portal user with supplier email ID a

  • Grouping and UnGrouping of JTable Rows?

    Hi, Has somebody done Grouping and UnGrouping of JTable Rows as we find in MS-Excel. Thanks & regards blue