How do you acquire multiple image buffers and save to disk later?

Good morning everyone,
I am working with the LabVIEW code posted below.   I am taking images through a CCD camera at a high frequency.  Therefore, I need this code to be able to keep up with the trigger.  I take anywhere from 30 to a few 100 images and acquire them through buffers.  The code I have now (which I got from someone else in my lab; I did not write it) saves the images in the for loop in which each is required.  This slows down the code considerably.  Timing is important to my application.  Does anyone know if there is a way to set each buffer aside after they are acquired and then save them to disk AFTER all the images are acquired.  I think this will allow the code to keep up with the trigger. 
As a side question, I would like to have the code trigger my camera on both the rising and falling edge of the trigger pulse.  As you can see from the code, I tried to set this up, but the method I tried doesn't work; each time a new trigger is setup it wipes out the old one.  Is there a way to set up 2 triggers?
Thank you very much,
Matt
Attachments:
Save_Image_Matt_Trig.vi ‏46 KB

Left from the loop there's an "Array Subset" vi because I didn't use the first two pictures of the ring.
So you can forget about it and wire the ring directly to the "For Loop".
You can see the Ring as an array of images, so basically you don't need any VI to retrieve an image from the ring, just an "Index array" will do.
Wire the output of the "Index array" to an image control.
This is of course if you first fill the ring and then process it.
If you want live images, then you can use the vi you're using to extract an image from the buffer but I understood that you want to acquire images as fast as possible and process them afterwards.
Correct? Yes, then you don't need the "IMAQ Extract Buffer" vi.
And yes, you can remove everything from the loop, just check if the number of frames is reached.
When all frames are acquired, quit the loop and process the ring buffer.
I checked your code again, and observed that you do nothing with the ring buffer
You build it up in the first For loop and delete it at the end of the code but never used it in the loop
I attach a larger view of the acquisition loop, so that you can have a better idea of the whole ring stuff.
I have a shift register for the ring so that all states can access it.
The state "Save all images" loops through the array, to save the images one by one.
I'm sorry I can't post the complete vi, it's way too large and contains lots of sub vi's to analyse the images and handle the I/O toward the process line.
Attachments:
SNAG-003.jpg ‏217 KB

Similar Messages

  • How do you resize a image/picture and save it?

    Hello, I know how to resize a image. But how do I save a new image/pictures has Jpeg with new size properties?

    Use File>Save As or File>Save for web. Either of these will create a new document as long as the name is different or is in another folder.

  • How do you open multiple binary files and plot them all on the same graph?

    I have three different binary files and I want to plot all 3 of them onto a graph.
    I am familiar with opening and reading a single binary file. (Thanks to the help examples!) 
    But to do multiple numbers at the same time?  I was thinking of putting 3 different 'reading from binary file' blocks with the rest of the 'prompts', 'data type', etc.. and then connecting them on the same wire.
    However, I got into a mess already when I tried to read one .bin file to dynamic data type --> spectral measurements --> graph waveform.  The error was Not enough memory to complete this operation...  Why is that?  That didnt happen in the help example "Read Binary File.vi"...  Has it got something to do with the dynamic data type?
    Thank you for your time.
    Jud~

    Have a look at the image below and attached VI.  Simply enter the different paths into the PathArray control.
    R
    Message Edited by JoeLabView on 07-30-2008 09:59 PM
    Attachments:
    multipleBinary2Graph.vi ‏18 KB
    multipleBinary.PNG ‏5 KB

  • How do you change the image size and resolution in photoshop everytime I change the width the height changes my measurements will not stay

    Can someone assist me with changing image size and resolution.  each time I change the width the height changes and vice/versa?

    There's a chain link between width and height. The point is to keep the aspect ratio the same, otherwise your picture would get stretched.
    You click on the chain-link to shut that off and you can adjust width and height separately.
    Also could you give us your version of Photoshop, what OS you are running it on (Windows 7 for example) and what exactly you want to do with your document?
    Resolution is the print term for how many pixels will be printed on an inch of paper. It doesn't apply if your image is intended for screen viewing.
    Gene

  • How can you create a voice recording and save it as an mp3?

    I want to create a voice recording and save it as an mp3.  How can I do that on the MAC?  Right now I can only think of recording the voice in iMovie, but it does not have a choice to save as an mp3.

    Rather that iMovie, you may want to check our Audacity.
    It's a free, open-source audio editor and recorder.
    You can easily save a recording as an MP3.
    http://audacity.sourceforge.net/
    Matt

  • How do you add multiple images in Keynote with the same slide formatting?

    I want to add 100+ images into Keynote for a photo slideshow, and I want all of the images to be preformatted using the frame/border style I set up in one of the  master slides...I don't want the images to fill the entire slide, and the goal is to not have to touch every slide and every image.  I know I can add images individually using the media button on the photo placeholder and the photo will fill the frame I have created, but I want to do this for all images at one time.  Is there a way to do this when adding the images into the presentation, or a way to format them all at once after adding them to the presentation.  Someone please help, I have looked everywhere and have had no luck finding an answer!!!  I accidentally made this happen last week when I was playing around but I don't know what I did and I can't seem to duplicate the results.  I feel certain there has to be a fairly simply solution, something I am missing.  I am working in the most recent version of Keynote (ver 6) and on Maverick OS.

    tspencer74, I have exactly the same problem and it's driving me nuts! I'm heartened that you managed to actually do this even by accident as I've not managed to make it happen at all in spite of much fiddling. So, the big question, did you find the answer? If so can you tell me what it is please?

  • How do you manage multiple users, iTunes and icloud

    I haven't figured this out yet.  I have an iTunes account, two daughters who buy most of the music on it but we all share the account.  We all have Macbooks and iPhone 4 or 4S.  I don't want to download their music and they don't want to download mine.  How do we blend iTunes, iCloud and our phones and Macs without so much cross-pollination?  I already have music in my library that has been downloaded since I got my new iPhone and activated iCloud and it's music they purchased.

    How to use multiple iPhone, iPad, or iPod devices with one computer

  • How do you play multiple sounds simultaneously and synchronized?

    lets say I have two wave files that are similar in play length but not quite the same. I calculate a new frame rate for reach to make their lengths almost perfectly the same. Now I want to play them and have them repeat for a while.. If I don't synchronize them in some fashion, inevitably the slight difference in play time will cause them to unsync.
    what's the best way to keep them in sync? I've been trying playing each sound in it's own thread for the past few days and using thread synchronization, but that isn't working so well.
    thanks for the help.

    I found the answer I'm looking for! version 1.5 came out with the CyclicBarrier class that causea a thread to pause when it calls the barriers await() function until a predetermined number of threads call await().
    So I can create a barrier of size (ThreadCount) and tell all threads to pause at the beginning of a measure until all threads have checked in. That way all threads are out the gate at the same time every measure.

  • How do you combine mutable iphoto libraries and clean up duplicates

    how do you combine multiple iphoto libraries and clean up duplicates

    If not the only answer is the paid version of iPhoto Library Manager -http://www.fatcatsoftware.com/iplm/ - and maybe duplicate annihaliator -http://www.macupdate.com/app/mac/18748/duplicate-annihilator
    You must have IPLM as stated - you may also need DA depending on how thing go with the merge
    LN

  • How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time?

    How do you highlight multiple documents rapidly, rather than having to click on the document and on "command" one at a time? Right now, when I'm trying to highlight documents to export, I have to click on each document individually. Is there a way to highlight one document while scrolling down the list until all desired documents are highlighted? I would like to rapidly be able to do this to save time when I am exporting or saving multiple files from my documents to an external drive, CD-Rom or cloud storage.

    Click on the first item
    Hold the Shift key
    Click on the Last Item.
    All the items in between will be selected.

  • How do you print multiple different images on a single page in preview

    How do you print multiple different images on a single page in preview?

    Chances are no one who saw your question knew the answer.
    Unless you're willing to share the answer you found here, then anyone else like you searching for the problem who comes across this thread will also be unable to thank you for providing the answer too.  

  • How do you delete the images in the Iphone images album.  Not the camera roll.  There is an album called Iphone images and there is not a delete option

    How do you delete the images in the Iphone images album.  Not the camera roll.  There is an album called Iphone images and there is not a delete option

    The same way you put them on the phone. Connect the phone to iTunes on your computer, click on the name of the iPhone, then the Photo tab. Uncheck the albums you don't want on the phone and click Sync.

  • How do I view multiple images in one window?

    How do I view multiple images in one window?  I want to compare images side by side, not in tabs.

    Thank you, Barbara.  I found that I had to close the program after I turned on "allow floating documents" and restart, before I was able to go to "float all in windows". 

  • How do you have multiple apple id's with one itunes

    how do you have multiple apple id's with one itunes

    I have multiple IDs and use the single computer sharing itunes. By 'sharing' I mean we open the pc, open itunes and log in with our individual ID as required.
    While Im logged in I plug in  my device. I transfer my purchases from my device as per the file menu (not the check for auto downloads). I move them as required to whichever playlist I like.
    Then when my son wants to use itunes or update his device, he logs in, plugs in his device, transfers purchases from his device, puts whatever music he wants into his playlist and/or drags direct to the device regardless of who purchased it and then syncs.
    Im not sure how it works associating the pc with only one ID or all that other business- I know I don't fiddle with any of that.

  • How do you select multiple files to drag

    How do you select multiple files to drag from one folder to another? Is there a command?

    Open the folder which has the contents you want to transfer.  Press COMMAND 'A' and then all of the data should be highlited in blue.  Drag it to the new folder.
    If only certain files are to be transferred, then you have to select them (COMMAND 'A')  individually and the drag them as a group to the new location.
    Ciao.

Maybe you are looking for

  • My nano no longer lists podcasts that are on it

    several weeks ago, I deleted a podcast episode  of Wait,Wait..., which for some reason appeared twice.  Since then, although iTunes shows that it has dowloaded more episodes, wait, wait does not show up in my podcast menu, so I cannot play it.  I hav

  • Hotter running windows xp?

    Has anyone noticed a difference? Got the 2.4GHz just last week and running boot camp. When I'm doing ordinary MS Office stuff in XP it's so hot it's uncomfortable to have my hands resting on it while I type and I don't ever hear fans running. When I

  • Why the request.getInputStream() return nothing?

    I use this code to display the request content : <%    java.util.Enumeration headerNames = request.getHeaderNames();    while(headerNames.hasMoreElements()) {      out.println(request.getHeader((String)headerNames.nextElement()) + "<br/>");    int co

  • Firefox wont load

    displays missing profile or inaccessable,i have spent hours trying to correct this without success, any help greatly appreciated,thanks Terry

  • OID Attributes question

    OID domain is being set up for  hr.mycompany.com Users and Groups container will be set under  hr.mycompany.com Please confirim attributes for following dc=com dc=mycompany 1) should "hr" be set up as OU as below ou=hr,dc=mycompany,dc=com OR  dc=hr,d