Displaying mutiple pictures onto a front panel

Hi ,
Basically what iam trying to do is have mutiple  images on the front panel.
The problem that iam having is that when i load an image onto the front panel it overwrites the other image. What i mean by that is , that instead of having two images on the front , each time i run the code it loads the same image twice onto the front panel.I tryed using a imaq dispose etc but it didnt work. Iam attaching a file that is similiar to the one that iam working on.
(incase i didnt explain it very well on my front panel when i run the vi i what to be able to load up two different images onto the front panel like below but try to load a second image it also replaces image 1.)
image 1
image 2
What actually happening
image 1
Image2
Thanks for help. Iam badly stuck.
(labview 7.1 and vision assisant.)
Attachments:
test5.vi ‏116 KB

Hi jihn,
you connect on both "IMAQ create" vi´s the same name. I think if you change one name it should work.
Mike

Similar Messages

  • How can I simultaneously acquire and display an image on the front panel using a PCI-1424

    Dear friends;
    I want to use PCI-1424  , and labview 5.1 to capture the image,  But I can not find some functions in labview to capture, display and save the image.Can you be kind to share some examples or provide some information.
    Another question is how I CAN display the image in the front panel.
    thanks so much

    Hello yangshang,
    Thank you for contacting National Instruments!  To acquire images from the 1424 you will need NI IMAQ 2.5.1 or later.  This can be found HERE on our drivers download page.  One thing to note is that in LabVIEW 5 we only had the ability to view an IMAQ image as a pop up window.  This VI is called "IMAQ Windraw".  This will pop up a separate window that will display your picture.  If you need to view the picture on the front panel you can try saving the image as a file (BMP, JPG, etc) then use the LabVIEW Graphics and Sound VI's to Read a picture file in and then wire the picture to a picture control on the front panel.  Let me know if you have anymore questions.  Good Luck.
    Regards,
    Mark T
    Applications Engineer | National Instruments

  • Display a color image in front panel.

    Hi there,
    How do I display a color image in front panel? Which graphic indicator should be used to display a color image? I do not want to use Imaq WindDraw.
    Thanks in advance.
    Hugh

    Try this "draw flatten jpg to pic ctrl.vi"
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    draw_flatten_jpg_to_pic_ctrl.vi ‏35 KB

  • How do I programmatically display jpeg files on the front panel

    Hi,
    I would like to be able to programmatically display various jpeg images on the front panel of a VI. I would mostly like to be able to display one image at a time and have the ability to programmatically change the image to different ones under program control. I found a picture indicator but not sure how to use if or if this is the best way. Thanks for any help.
    Dave Adams

    Yes, you can use a picture indicator.
    The attached simple codelet shows how to display a jpeg image on it (Make sure the image indicator is big enough).
    Let us know if you need help with the rest of the coding.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DrawJpeg.gif ‏2 KB

  • How to display PSA screen capture on Front Panel

    Any one know how to display screen capture of PSA series specturm analyzer on front panel. I can save the JPEG file in the C drive, but I can't display on the front pannel. Please see my labview code.
    Solved!
    Go to Solution.
    Attachments:
    Capture screen E4446A.vi ‏21 KB
    reading and writing binary number.vi ‏22 KB
    yumg.jpg ‏20 KB

    Do you actually need to save the front panel image?  Or do you want to save a graph of the signal (spectrum) that you acquired?  If the latter will do the trick, you can simply read the waveform over GPIB (or whichever means you control the analyzer) into an array that is plotted to a waveform graph in LabVIEW.  You then save the image of the waveform graph as an image.
    Since you have all the data, you can even save the data which can be viewed later (and not only by LabVIEW).

  • Show a picture in a front panel

    Hello All,
    I want to display a image (that is in another front panel) when i press a buttom in the main front panel. Then I want to close the image clicking in a buttom in the second panel and return to the fist front panel. I don´t know how to do it.
    Thank you
    Ander.

    You go into the second subVI and select File>>VI Properties>>Window Appearance>>Customize and set the VI to be opened when called and closed when finished. You can then use an event structure in your caller to detect the value change event for the button and simply call the subVI.
    This is really fairly basic stuff. To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • How can I simultaneously acquire and display an image on the front panel using a PCI-1408

    I have to acquire and display an image directely in the front panel of a *.vi using a PCI-1408. i have to know all informmations about this image because I want to create a calibration system.

    Hi Paola,
    if you own IMAQ Vision you can just have a look at the examples that comes with your board or you can look at: http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/2abaefe05789961686256866007c0d22?OpenDocument.
    Without IMAQ Vision look at:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/22474456534202b086256aff005fc4f3
    (or search at ni.com for "IMAQ Display without IMAQ Vison)
    Please mail me if you need further help,
    Michael

  • How can i display 7 segment dispay on front panel using any kind of input

    Hi,
    I need help..!! I need to dispay the numeric data in 7 segment format. Is it possible to do in labview?

    you need to display the number onto a 7 segment display?
    i think you would need sometype of microcontroller board like the AVR or the aurdino. and use the visa usb port to display out into the 7 segment display.
    i am new to this too. but that's what i would do.
    i hope someone with more expertise can  give better advice.
    Arduino and 7 Segment LED
    7 Segment LED
    The
    seven segment display is a pretty simple device.  Its actually just 7
    LEDs (8 really including the decimal point) arranged so different
    combinations can be used to make numerical digits.  This tutorial will
    show you how to wire one up and drive it with an Arduino.
    Message Edited by krispiekream on 07-23-2009 11:48 AM
    Best regards,
    Krispiekream

  • Is it possible to display streaming video on a front panel?

    I've created a motion-control software interface for a laser-processing station.  It would be helpful if, when calibrating the origin of the stages, streaming video could be shown on the front panel from a camera on the setup.  Can LabVIEW support this?

    what is the format of the streaming video, you can use an activeX control like media player to do this most likely.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Inserting a picture onto a drawing panel

    Hello!
    I hope someone can help, basically I have a drawing panel which shows shapes. Instead of just a shape I would like to know if there is a way it can show a picture instead....
    Thanks for your help!
    Charlie

    Here is the code i have so far:
    private void cmdStartActionPerformed(java.awt.event.ActionEvent evt) {
            x = 150;
            y = 20;
            int w = 30;
            int h = 30;
            panDraw.draw(cboShape.getSelectedIndex(), x, y, w, h);
            txtRemaining.setText("until landing");
            timer = new Timer();
            timer.schedule(new LowerShip(),
                    0,        //initial delay
                    1*1000);  //subsequent rate
        class LowerShip extends TimerTask {
            int Height = 10;
            public void run() {
                for ( int Height=0; Height<10; Height++ ) {
                    x = 150;
                    y = y + 30;
                    int w = 30;
                    int h = 30;
                    panDraw.draw(cboShape.getSelectedIndex(), x, y, w, h);
                    txtTimeLeft.setText(" ");
                    txtTimeLeft.setText(9 - Height + " seconds");
                    txtHeightLeft.setText(" ");
                    txtHeightLeft.setText(67.5 - Height * 7.5 + " metres");
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e){
                    timer.cancel();
        }I would like to substitute the shape drawn with a jlabel (at the same coordinates). I would not want the jlabel to appear until i had pressed the 'start' button....
    I hope this is a bit clearer!
    Thanks in advance, Charlie

  • How to send 20 individual pictures to the front panel ?

    Hi LabVIEW experts!
    I have a lung simulator which I connected to the Ni 9205 and could read voltage from. I wrote the program and it works well. I want to use this program for taking an exam of some trainees. Now I have a problem. I need the trainees to look at the graphs and when they want additonal information by pressing a button, a picture of an xray or lab data related to that patient shows on their monitor. Case by case is different. I have for example 20 lab data from different patients with their xrays. How can I control the trainee program to send a picture which is related to that patient?
    Thanks. 

    Yes.
    You just need to have your LabVIEW code programmed to do that.  You can convert the picture data to a stream of bytes (look at typecast or flatten to string) on the sender.  Use TCP/IP functions to send the data over the network.
    The receiver will do the reverse (typecast back to an image, or unflatten from string) and send it to the picture indicator.
    Look at the functions
    I would recommend looking at the online LabVIEW tutorials
    LabVIEW Introduction Course - Three Hours
    LabVIEW Introduction Course - Six Hours

  • How to display conditional things on the front panel ??

    Hello,
    What I am trying to do is this: The user will select some information from a combo box, and depending upon twhat he has selected I want to display different things based on his selection.
    Any help will be appreciated.
    Thanks,
    Bira_pxi

    You can programmatically change the visibility of any object using property nodes with the "visible?" property.
    If the groups of elements are similarly arranged, use a tab indicator (place tab control...change to indicator) and place each group of FP elements on it's own tab. Now hide the tabs and select the active tab programmatically by writing the desired state to the tab indicator.
    Another option is the use of subpanels.
    Message Edited by altenbach on 08-16-2007 04:11 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Time display on x-axis for front panel instead of data points

    What do I need to change or add in my block diagram so that on the waveform graph the time will be on the x-axis instead of the data points. I am running this VI on a pda for some testing and I would rather get the time on the horizontal axis. Im also using an NI USB-6008, windows xp and Labview 8.2
                                                                                                                                                  Thanks
    Attachments:
    blockdiagram.JPG ‏158 KB
    frontpanel.JPG ‏94 KB

    And since you are sending it an array of doubles rather than an array of waveforms, there is no timin information associated with it.  It will assume 1 sample per second.  If your acquisition is faster than that, you will need to set the dT of the graph or the scaling multiplier factor of the X scale of that graph.
    (PS, it is always a good programming practice to show the labels for all the terminals on your block diagram and assign the terminal a name.)
    Message Edited by Ravens Fan on 09-15-2009 09:28 PM

  • Duplicate Picture on Front Panel to Secondary Monitor

    On my front panel, I have a bunch of controls (numerical, and buttons) and a picture. However, I want to be able to duplicate that picture to take up the entirty of my secondary monitor (in this case a projector). I know how to move the front panel to a secondary monitor, however I just want a copy picture to be on the monitor so that I am able to use my controls and see the picture on the front panel on my laptop. I also have access to IMAQ, but am very new to it and dont know all of its capabilities.

    I have done exactly that. I created a separate Display.vi. It has a 2D Picture control on the front panel and a Rectangle cluster which gets the size of the image from the calling VI.
    The calling VI creates the picture to be displayed and sets the zoom factor on the image to fill the control.
    Enhancements I have thought about but have not added would include getting the monitor information from the OS and adjusting the size of the picture control to fill the screen and to have it either select the secondary monitor automatically or provide for manual setup adjustment.  This has been part of a very low priority project over several years.
    Lynn
    Attachments:
    Display.vi ‏11 KB

  • Save Part of Front Panel as picture - sharing VI and asking for advices

    Hi,
    I use LabVIEW 8.2.1. (DSC&RT),
    It is common (at my work) that we want to save some parts of the Front Panel and to add it to the LogBook.
    we usually do PrintScreen and then cut the picture to the boundaries we want using 'Paint'.
    I have created a simple procedure that makes it easier and the user can now select the boundaries of the picture at the Front Panel.
    You can see the 2 VI's attached, (try2.vi is a sub vi of try.vi)
    Open 'try.vi' and press 'select boundaries' button and drag the boudaries with your mouse,
    after you have selected the boudaries, press 'save picture' button.
    I hope there are no bugs.
    Originally I have wanted to use drag and drop, but i didn't really understand what is going on behind the scenes
    when I used it.
    For example - look at the example (at NI Example Finder at LabVIEW) 'Drag and Drop - Multiple Data Types to Start Drag.vi'
    (C:\Program Files\National Instruments\LabVIEW 8.2\examples\general\dragdrop\Drag and Drop - Multiple Data Types to Start Drag.vi)
    (or via typing 'drop' in at the NI Example Finder search)
    1. I don't understand how the 'Drag and Drop Data' (located at the Application Control Palette)
    2. I don't understand the inside terminals of the Event Structure of 'Drag Enter' and 'Drop' -
        for example - 'available data names' and 'accepted?'
       where can I get information help written about any of the Event Structure inside terminals?
       (it does not appear in the Context Help when I enter with the mouse)
    3. Do you have any comments on the VI  I did ?
    4.I am planning to use this VI as a part of Log-In data to a follow-up LogBook Using Mysql as Database and NI sql connectivity toolkit,
       so users will be able to insert information to the LogBook from the Front Panel, and attach pictures of the Front Panel.
      Did anyone here has performed anything similar ?
    If you send me corrections of someting or any other NI item, please send it in a version that I can see it (I use Labview 8.2.1 DSC&RT)
    Sincerely Yours,
    Amitai Abramson.
    Attachments:
    try.vi ‏67 KB
    try2.vi ‏23 KB

    There are examples that come with the database connectivity toolkit so you are going to have to be more specific about your question. Whether you call it a logbook or something else, it's still a database and a database write is a pretty generic opertation. If you need help in the design of the database, then you should say that is what you need.
    The event data is going to change depending on the event and the type of control. Again, do you have a specific question?

Maybe you are looking for