Find a photo of IMAQdx GetImagae.vi and then save

Hello, I'm using a while loop to check if there is an image form a GIGE camera, the time-out period for the acquisition of trigger is set at the lower point and what I'm doing is going some time loop and save a picture IF it is available from the camera. My problem is that the vi that records the image returns an error when there is no available image.

Is there a way to check the availability of an image of the Getimage.vi and then use a box structure to save the image if it is available?

I can't extend the waiting period since by doing so, I won't be able to stop the loop when I want!

I have attached an example of my program code,

Thanks in advance for your help,

Yannis.

Hi Ymartz,

Thank you for your post and welcome to the forums.

A method to check if a valid image is present at the output of the VI 'IMAQdx get Image' is to use a property node 'ImageSize', to unbundle this property node data and control if the 'x' and 'y' image size is greater than zero.

If 'x' and 'y' are greater than zero a valid image is present and can be saved, otherwise continue the reference around the while loop. The VI snippet below illustrates the principle. If you have LabVIEW 2011 made simply drag the image in your diagram of existing block to use the code.

I hope this helps with your request, please keep me informed of your progress.

Best regards

Tags: NI Hardware

Similar Questions

  • I want to create a Web site where people can choose a date and time and click on search, and it will find the photo of my HARD drive and show them on the page, is that poosible? If so could somone tell me how I will pay?

    I want to create a Web site where people can choose a date and time and click on search, and it will find the photo of my HARD drive and show them on the page, is that poosible? If so could somone tell me how I will pay?

    On your local HARD drive? N ° on your web server? Course

    How do you know php? There are exif function that can read EXIF headers on your images. You can use it in conjunction with the functions of file system scanning of the images on your web server. If you have thousands of images, you want to index the results in a database rather than search the real-time file system.

  • After that I have to crop a photo, apply to the harvest and then exit, the picture disappears!

    In Windows Live Photo Gallery, after I have crop a photo, apply to the harvest and then exit, the picture disappears!  I am running Windows 7.

    You have McAfee? Had the headaches.

    The Windows 7 library files are not displayed
    http://service.McAfee.com/faqdocument.aspx?ID=TS101228

  • Find the layer with the name "Name1" a name change for 'name2' and then save PDF

    Hi there together, we have the following problem:

    We need a Javascript script to rename all the layers named 'name1' to 'name2' and then save the PDF file.

    Any help would be greatly appreciated.

    Thank you very much

    Patrick

    This code will rename the layer:

    var ocgArray = this.getOCGs();
    for (var i=0; i
    

    Save the file afterwards is more complicated. You can use the Save command sub in a context of trust to do it silently, or you can call the dialog box save as, and let the user manually, by using the command app.execMenuItem ("SaveAs").

  • Why when I try to print a web page only offers save the page and then save it not?

    Up to two web days ago pages printed fine for me, now, I only gave the option to save as a print job. XPS file - and then save it. If I cancel, it tells me that there is an unknown printer failure but testing printer just fine.

    Hi sofg777, when you're on a page you want to print try to press ctrl + P, and then select a different printer than the Microsoft XPS Document Writer, who seems to be set as the default printer in firefox at the moment.

  • I would like to know the command line options that are available to mspaint. I in bulk of images, I want to open in paint and then save it in jpg format in the paint.

    Hello

    I would like to know the command line options that are available to mspaint.
    I in bulk of images, I want to open in paint and then save it in jpg format in the paint.
    I want a script batch for the above procedure. Can anyone suggest me the script to do the same.

    Thank you
    Bodin

    original title: ms paint command line options

    Neither Windows XP nor paint offers all these capabilities.

    "BinduS" wrote in the new message: * e-mail address is removed from the privacy * _xp...

    Hello

    I would like to know the command line options that are avaulable to mspaint.
    I in bulk of images, I want to open in paint and then save it in jpg format in the paint.
    I want a script batch for the above procedure. Can anyone suggest me the script to do the same.

    Thank you
    Bodin
    - http://answers.microsoft.com/message/04b8dfae-1fa5-42db-81c2-b042652ecfc8
    Meta tags: images; windows_xp

    Tuesday April 10, 2012 08:23:14 + 0000: CreateMessage BinduS

  • If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If you have made the timeline or out of a movie from the trial version, it will have this watermark on it.

    Once you have purchased and activated the software, you can remove the watermark by going to the folder directory on your computer where your project files are saved and deleting the folder Adobe Premiere elements preview files.

  • In version10.1.5 how I would break down a large PDF file and then save each page which is the biggest file?

    In version10.1.5 how I would break down a large PDF file and then save each page which is the biggest file?

    If you mean Adobe Reader 10.1.5 (you tell what you have) then you can't. This would require the full version of Acrobat.

  • PDF/A, when I have a standard PDF file and add some text to it, and then save as PDF/A, there is an error.  Any ideas?

    PDF/A, when I have a standard PDF file and add some text to it, and then save as PDF/A, there is an error.  Any ideas?

    Preflight check should give you an idea of the problem. It may be that the file must be flattened before attempting the conversion. Not all aspects of a PDF file can be converted to PDF/A.

  • Why don't slideshow showing photos of a few clicks, and then continues normally?

    Shows all the pictures subsequently, but viewer of the site click on a bunch of times to see the slide show without showing anything, and then continues. Here is the site: http://penn-kraus.com/photos/#gallery. Thank you!

    I guess I need to know at some point in the past, but your site has made me remember / realize that you can create a tunnel in and select the image in a container of thumbnails or slideshow hero and delete the image without deleting the container (by double clicking on until 'The Image' is selected). The result is that you are left with an empty container of miniature and heroes in the slide show. This seems to be what has happened with this slideshow.

    If you use the layers panel, you can see the empty thumbnails, the six entries of "Miniature" down. If you select and delete (by shift + click on the box to the right of each item in the layers panel), you can press DELETE to remove all pairs of container empty thumbnail/hero of the slide show.

  • How find specific text in a text frame, and then replace it?

    Hello

    I am currently using InDesign CC, specially the script part, for updating a price list for my company.

    I have a table that contains all of the blocks of text in my document. A page use a block of text. I want to go through all these text block, find a Word and then replace it with the word I want.

    Example: The line, in a text frame that contains several line, ' CAR56974 - $14.95 "must be the change of ' CAR56974 - $ 18.66»

    I want to find this line in all my text frames, and then replace it with the new line.

    I looked in the forums but cannot find an answer for my problem specfic.

    Here's how to get all my text blocks:

    var allTextFrames = myDoc.textFrames;

    for (var i = 0; i < allTextFrames.length; i ++) {}

    TF = allTextFrames [i];

    }

    Thanks in advance!

    Olivier

    EDIT: I use JavaScript.

    Hi Oliver,.

    Can the underside of coding work for you.

    app.findTextPreferences = app.changeTextPreferences = null;
    
    app.findTextPreferences.findWhat = "CAR56974 - $14.95";
    
    app.changeTextPreferences.changeTo = "CAR56974 - $18.66";
    
    app.activeDocument.changeText();
    

    Thank you

    Beginner_X

  • How do to download a PDF file online, fill it, and then save?

    Hello

    I'm trying to figure out how to download a PDF on our own server (via an FTP site) so that users can fill, then save it desktop/hard disk of their computer. I've looked everywhere and cannot find a solution. Can someone please?

    Thank you in advance for any help you can provide.

    Current system:

    MacBook Pro

    Mac OS X 10.6

    Acrobat Pro 9.4.3

    Acrobat Reader 10.1

    You need to open the PDF file and use file > save as > Reader extended PDF.

    Remember that there are strict limitations as to how many times you can collect data from an active PDF. There is a limit of 500 times. You'll want to read and understand section 15 of the end user license agreement before proceeding.

  • Need help! Some kind soul take these small 3 files and then save them in 8.2 or lower?

    Mindsensors was less useful - not sure why - I remember well the theory that software sells hardware.  In any CASE, I need to have three small files (which are used to run their infrared distance sensor) that was saved in LabView 8.5 to load and then (saved file, except for the previous version) under 8.2.

    Many blessings to follow!

    Thank you

    Gil

    Nevermind - my apologies to mindsensors - they say they write only in labView 7.1 - so why I can't load into 8.2 - and why the error message indicates that it is written in 8.5 - I do not understand.

  • Save the data on the button and then save the data on a spreadsheet on another key.

    Hello

    I am a new user of Labview. I'm developing a Labview 7.1 program that will record data on the keys. Another button, he must stop recording, and then open a file dialog box to save the data stored on a worksheet. I read in this forum that I have run several loops in parallel but unfortunately I can't see the examples because I use an older version of Labview. I tried to do to pass the data in a table, once recording is started, and then I carry the data to write a function that spreadsheet inside an another case statement. However, once I put the writing on the spreadsheet for the case statement he cannot write. I tried to put out the statement box but it save only a single set of data. Sorry if I am not clear with my explanation. It will be greatly appreciated if someone can give me some advice on this.

    Thanks in advance for your information.

    See you soon,.

    Anson

    You want to build a table of data.
    If the Boolean value is true, you will add a data point in the table.

    If it's wrong, you do not add anything, and the loop will be re-iterate.

    In the example below, the same code appears twice.

    Half top shows the case of 'Real' and the bottom half shows the case of 'false '.

  • Edit the object and then save back causes the object to move?

    Hello

    I use Acrobat X 10.1.6 update. When you edit PDF documents in a right-click and then by selecting "Change the subject", I get my usual Illustrator pop-up window, change my color or anything else, save, moves back to Acrobat, and the object in question! This has only started happening recently and I have been using Acrobat on a daily basis in my work, as a device, since Acrobat 7 Professional prepress and never had this problem.

    Please tell us what is causing the object to move? I re-installed Acrobat today and being updated and no change. I also have several colleagues on the different versions of Acrobat from 9.5.3 to 10.1.6 who cannot reproduce this problem, even on the same PDF file?

    Thanks in advance.

    Tom.

    I have a feeling it may be a problem of Illustrator. That update?

Maybe you are looking for