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!

Similar Messages

  • Lightroom shows wrong picture in the Navigator panel

    Hello,
      Just look at the screenshot the picture in the navigator panel.
      Regards,

    There's a setting in the Interface Tab of the LR Preferences which is "Show photos in Navigator on mouse-over", and I supect you have that enabled (which it is by defaut, IIRC). With this setting checked, then as you mouse-over either a collection or a folder the navigator displays the first image in that collection/folder, regardless of which photo is currently selected.
    Looking at your screenshot, you have the collection "All" selected, but your mouse is currently hovering over the collection "Fete", so I think the navigator image would be the first picture in the "Fete" collection.

  • 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

  • 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

  • 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?

  • SCXI Switches not showing up in NI-Switch Soft Front Panel

    Hi,
    I have an SCXI 1001 chassis containing about a dozen SCXI 1160 switch modules. The first switch module is connected to a PXI-4060 DMM card in a seperate PXI chassis. MAX 4.0 was able to auto-detect the switches, and they show up under the "Devices and Interfaces" folder. However, when I run the NI-Switch Soft Front Panel application, the SCXI switches do not show up as selectable switches. Are there additional properties that need to be configured in order for the Soft Front Panel to detect the SCXI switches? Is there an online manual/guide for doing this?
    Thanks in advance for any help.
    VRMan

    If you have the option of using a DAQmx supported device as the controller for the SCXI chassis, I would recommend changing your SCXI configuration so that your SCXI devices show up in the Soft Front Panel.
    If the PXI-4060 (which is not supported under DAQmx) is the only SCXI chassis controller you have, a workaround is to use the Traditional(Old) Soft Front Panel. The Old Soft Front Panel has not been updated with switch modules since NI-SWITCH 2.4 and is not currently supported. But given that you have SCXI-1160s in your chassis, it should work for your use case.
    We install the Old Soft Front Panel at Program Files\IVI\Drivers\niSwitch\OldSoftFrontPanel

  • 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

  • Why does my Web Publishing Tool fail to create an image of my front panel when I select the "Embedded" viewing mode?

    I am trying to create an html file for access by a client computer through the LabVIEW Web Server. I want to enable the client to control the vi, so am chosing "Embedded" for the Viewing Option in the Web Publishing Tool. The small preview screen in the Web Publishing Tool shows an image of my front panel, but the resulting html file does not include this image. The Web Server error log shows a 404 error which I believe is due to the lack of an image (or any front panel objects) present in the html file: Error: 404 "Not Found" for "/.lv_frontpanelprotocol.rpvi100", file "c:/program files/national instruments/labview 2010/www/.lv_frontpanelprotocol.rpvi100": Can't access URL
    If you are aware of this problem or know any solutions, please post a reply.
    Thanks,
    David

    Does it work if you preview the web page locally?
    Does the client computer have at least the minimum 2010 run time engine installed?
    (quote: Additionally, the Run-Time Engine allows your browser to display VIs that are embedded in Web pages.")
    LabVIEW Champion . Do more with less code and in less time .

  • Programmatically add front panel objects

    hello,
    I would like to programmatically add controls and indicators to a front panel. I have read a thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=70347&query.id=10819#M70347
    Ben Rayner describes a technique which takes an image of the relavant object, then adds this image to a picture on the front panel. I was wondering if anyone has an example of this techinique? Or if there is a simpler method of doing it?
    Thanks,
    paul.

    Hi Paul,
    This thread contains a collection of Picture related threads.
    Contained in that collection you will find a link to this thread where in reply #52 I posted an entry for the "Obfuse Code Challenge" . In that example I grab the image of a boolean and use it in a Picture control to play a game of Hang Man" while executing a random walk to speel out "Hello World". That code is not documented since the game was to be obfuse.
    In reply #33 of this thread, I posted a new version of the CC and Friends" project where I used a picture control to display an arbitrary set of images.
    Ading to the above:
    I have developed and delivered "Controls on the Fly" applications
    add they were well recieved, BUT....
    They are not trivial!
    So if you would like to share what you are trying to accomplish, we may be able to makes suggestions that are esier to implement. 
    Ben
    * Art work by Christian Altenbach
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Don`t close front panel in a loop

       I'm doing a numerical limit step that calls a labview module and show the measurement in the front panel.
       My problem is that I want to do the same mesaurement using the loop options, and every time the loop executes, my front panel is open and closed.
       The right behavior is opent the front panel the first iteration, do and show the measurements during the loop, and close the front panel in the last.
      Really I can`t find any option to do this in only one step.

    see at this link for response
    http://forums.ni.com/ni/board/message?board.id=330&message.id=11573#M11573
    Regards
    Ray Farmer

  • 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

  • Image of the front panel and block diagram

    Hi,
    I need to get some info from the block diagram but I don't have labview in my computer. can some one please open it and post a picture of both front panel and block diagram.
    It may not open properly, but that is okay.
    Thanks,
    Sujay.

    Here you go

  • Recalling front panel

    I know it is possible to show a VI's front panel when it is called by selecting "show front panel when called" in the VI Properties.  If you were to close this vi or stop it, you could once again view its front panel when it was called again.  Now with that said...   Is it possible to call a VI's front panel many times if you don't close it or stop it?

    Are you asking about showing multiple instances of the same front panel at once, or just the ability to open and close a front panel while the VI is running.  If it's the latter, you can use the VI Server to do so.  Get a reference to the VI using the Open VI Reference primitive, then wire that into a property node and select Front Panel Windowpen.  If you set that to true, the FP will be visible, if it is false, the FP is hidden.
    If you are trying to show multiple instances of the front panel, that's more difficult, but also possible.  If you want to do that, you will have to clone the VI in question or use a VI Template instead of a normal VI.  What you do from there depends on why you want multiple instances -- is it for showing historical data, or for showing multiple versions of the same data? 

  • How to show or hide a control in front panel

    Hi All, I am revising the code from someone else, and a control in front panel seems to be hidden until you click something to make it show. I tried to use right click in front panel and it did not work by clicking something related to show or hide. Since I don't quite familiar with property nodes, this hidden setting may be related to that.
    In the picture it shows the front panel and its two property nodes, could anyone advise me how to change the setting to show this control? Thank you!
    Solved!
    Go to Solution.

    If you right-click on the the control's terminal, you will see an option to "Hide Control" or "Show Control".  This is what you should use when editing the code.  The property nodes set to Visible are for when the application is running.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    change visible state.png ‏3 KB

  • How to show in the main front panel the progress of each sub Vi ?

    my program has many sub VIs, i wish to show in the main front panel the progress of each sub Vi; what is the best way to do that?
    atleast i need to show that each sub vi is completed, [can i add details on the main front panelsuch as: filename that is being read by a subVi, graphs plotted by a subVi, etc..]
    can i display a graph from a subVi on the front panel of the main Vi?
    what i hv done is attched as picture.
    Solved!
    Go to Solution.
    Attachments:
    Capture4.JPG ‏152 KB

    as suggested...pass references and cntrl references
    Spoiler (Highlight to read)
    Attachments:
    main ref cntrl.zip ‏27 KB

Maybe you are looking for

  • Boot camp assistant no longer registers my windows partition.

    I recently decided to wipe my macbook pro (aluminum) and reinstall OS X on it. Using my leopard install disk, I erased the drive. I had a windows partition running at the time, but I decided no to erase that as well. Unfortunately it seems as thought

  • Payment terms for Returns

    Hi, My client required payment terms to calculate for returns as in Customers invoices. When I checked with couple of customer Returns, due date is taking as document date which is due on Immediate. Please advice, why returns are not fetching due dat

  • Memory problem in Safari and IE

    On some Internet pages (e.g. http://www.imx.nl/photosite/leica/M8_2/t007.html), Safari displays only partial images stretched to fill space allotted. On same pages, Internet Explorer displays only a portion of each image and reports that it can't dis

  • Setup disk once again

    Hello i have one question about my setup disk.I have PC I7 [email protected], 12GB DDR3 and three disks.Two new seagate 3.5 500GB 7200.12 and one external disk 2.5 Seagate 7200.4 ESATA connect. How i setup this disk to work in premiere  CS4 ?? RAID0

  • When I ungroup a group, it disappears only to be found on another page

    When I ungroup a group, it disappears only to be found on another page (I assume it is the page I grouped it on). This has only just started happening. Is it an update, or a preference I have changed?