Assign Filenames of Images

Hi,
I am acquiring images every few nanoseconds from a camera through LabVIEW.  
What is the best way to make the camera wait 10 nanoseconds and then snap an image using IMAQ (I already have the image snapping VI), and then download that image as a BMP file with a certain filename (e.g. pic1.bmp) into a given folder?
I don't want the camera to have to wait for the computer to download the image because that may result in a delay.  Any help? 
I was thinking something like in a for-loop I have the snap and wait VIs, and the acquired image goes into an array, which is then saved after all images are snapped.  But how would I name each pic in the array the filename I want?
Solved!
Go to Solution.
Attachments:
LL Snap.vi ‏33 KB

Max_2013 wrote:
I was thinking something like in a for-loop I have the snap and wait VIs, and the acquired image goes into an array, which is then saved after all images are snapped.  But how would I name each pic in the array the filename I want?
Once you have an array of images, you can run it through an 'Auto index enabled' For loop and can name it logically... What is the issue you foreseeing in that.
You can also have two loops running parallel and Image acquisition loop can transfer the image data to low priority second loop.
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • Keywords cannot be assigned to multiple images

    A keyword can NOT be assigned to multiple images at the same time when following the procedures outlined in the Aperture help. I can't find this problem addressed in a FAQ or knowledge base. We're told to select multiple images in the Browser window then drag a keyword to any of the images to assign that keyword to all the selected images. This does not work -- only the specific image on which the keyword is dropped will actually be tagged with the keyword. The other images, though properly selected, do not receive the keyword. The keyword must be assigned to one image at a time. Needless to say, this is more time consuming than it's worth when you're faced with thousands of images that need to be tagged.
    I own two registered copies of Aperture, both up to date with the latest patches, and the problem occurs on both systems, so I know its not something related to a single computer.
    Surely I'm not the only person who has encountered this problem?

    I thought I had the same problem, but then did the following:
    1. In Browser (grid view) went ot lower right and turned off the "primary only button" (ie it should not be "lit")
    2. Highlighted the images I wanted to apply the same keyword to
    3. Opened the keyword HUD
    4. Clicked on the keyword I wanted and then dragged it to one of the highlighted images in the browser

  • Assign/Change page image in TOC - RoboHelp 9

    I would like to have 2 sep. page images in my TOC. One = [?] and another indicating that a video link is contained on page. I changed the URL image link but can't find out how to assign the image to the page. Is this the way to go? If so, how do I assign the image to the page. --Thank you.

    Hi there
    First off, before I even write this I'm fully aware there is a strong possibility it will come off as me being argumentative. Please know up front that this is not my intent.
    Jack DeLand wrote:
    As Johnny Carson would say: "I did not know that." Still, at $49, I think FAR is a major bargain.
    I can't agree with you more regarding FAR. No help author should really consider that his or her toolbox is complete without a copy safely tucked away on their hard drive.
    Jack DeLand wrote:
    ...And for $0, you could use the HTML Help Workshop interface:
    To apply an icon to a contents entry
    Open a project (.hhp) file, and then click the Contents tab.
    Click a contents entry, and then click the Edit Selection button.Edits the associated name, file, URL, keyword or style information for the selection.
    Click the Advanced tab.
    In the Image index box, select the image you want to apply to the contents entry.
    Notes
    You can create new images for any type of contents entry.
    (nabbed from HTML Help Workshop Help) Note that you can use your own icons as well.
    I'm just sayin. 
    This part is the real reason for my reply. I'm mystified as to why one would elect to use RoboHelp for all other authoring aspects, but resort to HTML Help Workshop (HHW)  to manage assigning icons when you are able to easily to it from inside RoboHelp. Sure, HHW is free, but we are still assuming folks are using RoboHelp as we are in the RoboHelp forums, no? Why would I elect to use a separate tool when the tool I have does exactly what I need? So that bit is a real puzzler to me.
    I noticed you also wanted to point out that the help for HHW states you may use your own icons. And to that I would caution that while it certainly is possible and I've done it, actual implementation is far more painful than many care to use. As a result, the whole notion of using your own icons is most likely abandoned after seeing how difficult it can be to get implemented.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Assigned ringtones with image doesnt work together...

    hello, could someone help on my new nokia 5800, while using the image (stored n tranferred frm pc by reducing the required size) I cant hear the spl ringtone assigned to the same contact. Though if i use nokia inbuilt images (came with the set) or dont use any image, I can hear the spl ringtone assigned to the contact as well as the image.
    cheers!!
    lalit

    Problem solved. I got my 5800xm six days ago and just figured the problem with my ring tones. Its very easy just go to your contacts and set the numbers as they appear when someone calls you I am from Trinidad but in my contacts I had the numbers starting with *31# and then the persons number because in Trinidad with bmobile if you block your phone's number  from the settings you can just use *31# in front the persons number & it will show. My wife just called me and the ringtone played so I wondered how come so I checked the number & notice it was the same work # she called me from yesterday and I saved it not having time to put *31# in front of it .In my contacts I had the number but with *31# in front of it for eg I had in my contacts *31#7566766 the # I save was the same but it appeared on my phone as 8687566766 and thats how I solved the problem It's just your Country code in front the numbers in the contacts so now I put *31#8687566766 and it works with no problems (In Trinidad our country code is 868). Or if not just put the numbers you see when someone calls you its that easy.

  • Adding filename to images for slideshow

    Hello.
    Is there an easy way to add the filename to an image while it is displayed in a slideshow? I imported some still images and made a slideshow, but if I do this for a customer, they will want to know the filename.
    Thanks!
    Ty

    Ty,
    The only way to do it in iMovie would be to manually go through an add a title to each image.
    A better approach may be to create your slide show in iMovie. In the slide show settings you can check the setting to show titles.
    If you then export the slide show you'll get a QuickTime movie and the image titles will be in the upper left. You can use this as is or import it to iMovie.
    Matt

  • How do you assign numbers to images in Adobe InDesign?

    I am adding over 500 Images to a Catalog for InDesign and would like to have each Image have its own Numerical Value assigned to it in the bottom right hand corner.
    Is there a way to achieve this, or at least a similar work around?

    I'm no expert at LR, but here's how I entitle images on web galleries:
    Select the images, and insert the title you'd like into the IPTC data (e.g., in the Title field) for each image, via the Metadata panel in the Library module.
    When you go to the Web module, there is a panel called Image Settings, where you can toggle a title or caption (I use Title). Click "Custom settings" to the right of the word title, and scroll down to Edit...
    In this dialogue box, you can select the IPTC data that you'd like displayed w/the image.
    jeff

  • How can I assign filename for the Write Table to XL.vi from NI sample?

    The sample from NI (Write Table to XL.vi) works fine, but always it open a "Book1" as defult then askes to save it later!
    I try to modify it and assign a meaningfull filename so that the user does need to save or rename it ... but I failed!
    Is there an easy way to modify this sample for that purpose? Can anyone help me?
    Thanks.
    Attachments:
    Write_Table_to_XL.vi ‏102 KB

    Hi ATC,
    I modified your vi, it creates an XLS file with the filename you assign (no dialog box).
    You get a dialog box only if the file already exists, but this is normal; if you don't want to have it either, simply delete it progammatically before creating the new one.
    Good luck,
    Alberto
    Attachments:
    Write_Table_to_XL.zip ‏34 KB

  • Assigning Profiles To Images

    I haven't found a way to assign a profile to an image in Aperture. Is this by design? An oversight? An ignorance of how to use Aperture on my part? I was expecting a command like the one in Preview where I can assign a profile, or convert to a profile. Thanks in advance, Michael

    Richard: Thank you for the pointer, it was helpful. Now I understand that Aperture doesn't expect us to assign or convert in Aperture, but only when we print or export. However, I have some slide scans that are unconverted—that is, just the raw data from the scanner. I also have some profiles for the scanner, and would like to assign them to the scan files. Must I do this in PS or Preview first? It seems like something I ought to be able to do in Aperture. Thanks again, Michael

  • [CS3 JS] Get filename of image in a labelled frame

    Hi,
    I can easily get the content of a labelled text frame using
    var myString = app.documents[0].textFrames.item("myLabel").contents;
    Is is possible to get the name of an image placed into a similarly labelled graphic frame?
    One way I thought of doing this is to look at the parent frame of each link in the document and test to see if it is labelled "myLabel" and then get the name of the linked file.
    There must be a simpler way.
    simon Kemp

    You can create an array of all text frames labeled "myLabel" like this:
    myArray = app.documents[0].textFrames.item("myLabel").getElements()
    Then you can cycle through that array checking if an element has a graphics in it: if (myArray.graphics > 0)
    Peter

  • Assigning Keywords - Multiple Images?

    I'm trying to add a keyword to a group of images at the same time.  All are selected in the browser, but I am unable to either drag the keyword to the images or drag the images to the keyword. 
    I think there is a control that may be limiting my action, but I cannot find it in Aperture Help.
    Suggestions? 
    DonColorado

    Hi Jaap (?).  I strongly suggest taking the time to work through the first seven chapters of the User Manual.  They provide a thorough introduction to Aperture, and an excellent foundation on which to build your understanding of the program.
    Keywords can be shown as part of each of the seven different Metadata Overlays.  You should customize each one to meet your needs.  Search the user manual (for this page ) and the forum for instructions and links.
    Your auto-fill problem might be related to Aperture's Autofill List (this is separate from the Keyword Auto-complete function).  Go to "Metadata→Edit Autofill List ... ", scroll down to" IPTC Keywords", and if you can find the misspelled keyword, select it and delete it.  Thereafter, the Keyword Auto-complete feature should work better.
    (The interaction of these two auto-complete functions is a poorly implemented design.)
    Let us know if that helps.
    Message was edited by: Kirby Krieger -- link added, minor clean up.

  • Setting filenames for images sequences via scripting

    Is there a good way to set the output filename for a sequence via scriping? When I explicitly set the filename and render location, the frame number is being appended to the end of the extension. (example: "filename.png002").

    Did a quick test.
    You can set name the way you want "Comp 1-[#].jpg" - I mean if you add [#] by hand, AE seems to respect that.
    So I guess you could check how many frames you are going to render and set appropriate amount of # signs in the file name.
    Looking at your example, seems that AE ads frame number after the extension. In case you want to control where AE puts those frame numbers, try this "filename-[#].png" - that should do the trick.

  • Assigning One Buffered Image To Another...

    Hey all!!! I need help with buffered images. I have two buffered image arrays; (filteredImageBuffer and originalImageBuffer). Both start of with the same images, but the images in the filteredImageBuffer can the altered. Now I'm using the code below to reset the images in the filteredImageBuffer array back to the original image...
    for (int x=0; x<setCount; x++)
    filteredImageBuffer[x].flush();
    filteredImageBuffer[x] = originalImageBuffer[x];
    Now the code seems to work but it only works once (I can only reset the images in the filtered buffer only once). Can any body tell me what I'm doing wrong???

    You're setting the elements in the array to references to the original images, so any further operations on those images will effect the originals.

  • I want to use a pre-assigned filename to save a PNG file

    I have checked out the report writer for saving a front panel screen and it is more than I need.  How do I take a number that the user has already entered into the vi and use that for a filename to save a bmp of the front panel to a directory?
    Solved!
    Go to Solution.

    What method are you using? Print to RTF will make a handy Word-ready picture. See attached.
    Richard
    Attachments:
    print to rtf.jpg ‏15 KB

  • How do I get rid of the wrong album artwork when the "get album artwork" assigns the wrong image?

    My message is simply the question. Anyone know how? Thanks.

    In iTunes, select the song, right click or control click and use Get Info option. In Artwork tab, select artwork and press delete,

  • How do I assign images to grid cells based on their random number value?

    Hello everyone!
         I need a good point (or shove) in the correct direction.
    Background
         I've created (with previous help from this forum) a 12 x 9 random number grid which cycles through the numbers 1 to 9 a total of twelve times each. I've then created a button which shuffles the current grid's cells each time it is clicked. I now want to use 9 images that I have imported as individual symbols into the library (I have given them each their own class titled "skin1," "skin2," ... "skin9") as cell labels or the equivalent. I have also set the images up as individual movie clips (using the .Sprite class as the extended base class but keeping the actual image class names in line with their object name, i.e. the "skin1" image is the "skin1.as" class).
    Question
         How do I assign these images to the grid cells based on their respective values (ranging from 1 to 9) and have them populate the grid each time I click the "shuffle" button? So for example, in my grid the numbers 1 through 9 randomly appear 12 times each. Every time the number 4 appears in a cell, I want it to be assigned to the image "skin4" (which is just a graphic that looks like a button and has a fancy number "4" printed on it). Below is a chunk of the code I am using to draw the grid cells with:
    // Creates a grid cell when called by generateGrid().
    private funciton drawCell(_numeral:int):Sprite
              This is the code I am currently implementing to populate the grids with (although I
              don't want to use text labels as I want to fill each grid with an image according
              to its numerical value (1 to 9).
         var _label:TextField = new TextField();
         _label.multiline = _label.wordWrap = false;
         _label.autoSize = "center";
         _label.text = String(_numeral);
         // Add numerical label to cell array.
         cellLabels.push(_label);
         var _s:Sprite = new Sprite();
         _s.graphics.lineStyle(2, 0x019000);
         _s.graphics.drawRect(30, 0, cellW, CellH);
         _s.addChild(_label);
         return _s;
         While the following isn't working code, it will hopefully demonstrate what I want to achieve inside this function so I don't have to use the above snippet for text labels:
         //This will "hopefully" create an array of all 9 images by calling their classes.      var _imageArray:Array = [skin1, skin2, skin3, skin4, skin5 , skin6, skin7, skin8, skin9];      // This is what I want to happen for each cell using the above image array:      for (i = 0; i < cells; i++)      {           if (_numeral == 1)           {                // Insert skin1 image for each instance of #1 in the grid.           }           if (_numeral == 2)           {                // Insert skin2 image for each instance of #2 in the grid.           }           ...           if (_numeral == 9)           {                // Insert skin9 image for each instance of #9 in the grid.           }      } 
         Again, I don't want to use text labels. I have a custom skin graphic that I want to go over each number on the grid based on its numerical value (1 to 9). Any help with this is much appreciated!

    kglad,
         Thank you for your help with this one. Using the code below, I have successfully populated my grid cells with the desired corresponding graphics. I noticed one thing though regarding my use of the shuffle button with this particular implementation: even though the numerical values residing in each cell get shuffled, the original images remain in the grid rather than being replaced by new ones. The first code snippet below is the revised cell drawing function including your help; the second snippet shows you my simple shuffle button function (where the problem lies, I think).
    Snippet #1:
         // Creates a grid cell when called by generateGrid().
         private function drawCell(_numeral:int):Sprite
              var _label:TextField = new TextField();
              _label.multiline = _label.wordWrap = false;
              _label.autoSize = "center";
              // Creates a label that represents the numerical value of the cell.
              cellLabels.push(_label);
              var _s:Sprite = new Sprite();
              _s.graphics.lineStyle(2, 0x019000);
              _s.graphics.drawRect(30, 0, cellW, cellH);
              // Physically adds the labels to the grid.
              _s.addChild(_label);
              // Assigns a graphic class to a cell based on its numerical value.
              var _classRef:Class = Class(getDefinitionByName("skin" + _numeral));
              // Undefined variable for holding graphic classes.
              var _image:* = new _classRef();
              // Lines the images up with the grid cells.
              _image.x = 30;
              // Physically adds a graphic on top of a cell label.
              _s.addChild(_image);
              return _s;
         So far so good (although I question needing text labels at all if they are just going to remain invisible underneath the images, but enough about that for now). This next part is the reason that the images won't shuffle with the cell values, I think.
    Snippet #2:
         // When shuffleButton is clicked, this event shuffles
         // the number array and fills the cellLabels with the new values.
         private function onButtonShuffleClick(e:MouseEvent):void
              // Shuffles the number array.
              shuffle(numbers);
              // Verifies the array has been shuffled.
              trace("After shuffle:", numbers);
              // Loop replaces old cellLabels with new number array values.
              for (var i:int = 0; i < cells; i++)
                   cellLabels[i].text = String(numbers[i]);
         As you can see, it never replaces the original images that populate the grid. I tried using the _s.removeChild(image) function but that didn't work, nor would copying/pasting some of the code from snippet #1 directly into this function as it would cause another instance of the images to be placed over top of the existing ones rather than actually swapping them out. Any continued help here is greatly appreciated!
         PS Is there a quicker method for posting code into these forums without having to type it all out by hand again (i.e. copy/paste or drag/drop from my .fla or Notepad file directly into this thread)?

Maybe you are looking for

  • Is it possible to save a copy of Form

    Whenever I open my custom bid form in Adobe Reader it gives me a warning message that says I will not be able to save data entered into the form and if I would like a copy of the Form I need to print it. Is it possible to save a copy of the form (and

  • Unlocked iPhone 3GS, Tethering and Carrier Updates.

    I originally purchased my iPhone 3GS on pay as you go locked to O2, but i got it unlocked through O2, i now use it on a variety of carriers in several countries and would like to tether it. My iPhone is currently on iOS4 and there is no option to tet

  • Selection-screen fields validation for dialog

    Hello ABAP Gurus Requirements: this is a report wherein , depending upon the correct select-options , user will pick some field values from table and some will be entered by the user in the next se51 custom screen for creation of a record in a ztable

  • I have used windows live mail for over a year worked fine. Now it has stopped working?

    I have used windows live mail on my mac for over a year worked fine. Now it has stopped working?

  • Using loadVariables with nested SWF movies

    I have a .swf with a dynamic text box that loads an external text file. Using both loadVars and loadVariables I can see the that text is loaded when i play just that file but when i nest the .swf into a movie clip in a container movie the text doesn'