Picture Ring

Hi all,
I would like to know if there are other ways apart from using Picture Ring to control the pictures that I want to display on my Front Panel.
Because I do not know how to control my Picture Ring to let it appear based on the result, based on whatever button is being clicked on.
For an example, right now I am doing a project on an automated food ordering system, and to show the picture on my front panel, the program first have to know, for an example, what food order is being chosen. So the program will only "find" the picture and display on the Front Panel accordingly.
It works like that: When I select a food item by clicking on an OK Button named "Chicken Cutlet", my program is supposed to display the Chicken Cutlet picture at the "View Orders" page after calculating the total price and all. Right now, my issue is that I do not know how to make my program work in the way that it can select and display the right picture automatically once it senses what OK Button is being clicked.
I hope you guys are able to provide me with an alternative so as to meet the criteria of my ordering program!
Thank you!
Miu
Solved!
Go to Solution.

Hi Miu,
Take a look at this example. Put images (Trial) named "Item 1" ,"Item 2", "Item 3" in Picture folder. Make sure image extension is .jpg.
You can use similar program in your application. With this you can change  image of food item without changing code.If you use picture ring, if there is any change in picture you will have to make exe again. If you want,you can use .PNG files. Just use vi to read PNG file instead of .JPG.
Try this and let me know.
Best of luck
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Attachments:
Example.zip ‏12 KB

Similar Messages

  • How do I play all pictures in a picture ring one at a time in order?

    Hi. I'm basically trying to do a very simple animation. I have 5 pictures in a picture ring and would like to play them in a loop. Is this possible? Thanks.

    Hi LisaM!!
    There is a very simple way to do this, check the following link here. I hope this is what you are looking for
    Have a nice day!!
    Oswald Branford

  • Assigning value to picture in picture ring control

    Hi,
    i made a picture ring that contains 23 images. I'm measuring a real-time signal and want to assign (for example) picture 1 to measured-voltage-value of 0.5 V, picture 2 to 1 V, picture 3 to 1.5 Volts, etc.
    How do i do this?
    Greetings

    It all depends on your code structure.
    While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that...
    Chart zoom with "Mouse Over" effect

  • Bug? Picture Ring proprty String and Values" returns error 1054 in LV 8.5

    Should that propert exist for a Picture Ring?
    Ben
    Message Edited by Ben on 09-01-2008 07:47 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.
    Attachments:
    Error_1054.PNG ‏27 KB

    The fact that the error is gone when you don't connect the indicator is good. Even better it is super.
    It means the compiler removes that specific node from the execution stack if it isn't needed.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Maximum file size in picture ring?

    Hello folks!
    I am planing to use a picture ring with a quite big amount of data needed.
    My question: is there a maximum data size that i can embed in a picture ring (number of pictures or overall file sizes)?
    Thanks!

    If you have enough memory to keep all the images open simultaneously, then something like this might help.  Put all your images in the same directory on disk and have no other files in that directory. Then use List Folder from the Advanced File palette to get an aaray of the filenames.  Feed that array to a for loop where you open all the files and place the images into the pict ring.  I have written a "slide show" program which does this. Never tried it with 400 images though.
    If you do not have enough memory for all the images, then you need to manage the iamges much more carefully.
    Lynn

  • How can i get the images from a picture ring into a cell in Excel?

    Hi
    I need to get the chosen image from a picture ring into a cell in a Excel worksheet. If i use an invoke node i only get to write a picture from file. How can i get the picture directly from the picture ring into Excel?
    Kenneth

    No, there is no simple way of doing it directly. You need some clipboard manipulation which means you need to write some codes in excel as well. Importing the image through a file is much easier.
    -Joe

  • Event on Mouse Click Released in a Picture ring

    Hello All.
    I have a picture ring in my program. I have made its callback function and the default event i.e. EVENT_COMMIT occurs behind the code and it actually performs event on click. Now i want to make its action happen not on click but when i release my mouse click. i,e, i want to make event happens when i release my mouse click. Is there any other event for that or what should i do
    Regards.

    What about EVENT_LEFT_CLICK_UP?

  • Can I load pictures for a picture ring control at run time?

    Hi all,
    is there a way to achieve the above mentioned behaviour? Changing the graphics elements of a picture ring control or indicator at run time?
    Best regards,
    Matthias
    Solved!
    Go to Solution.

    You can do that with the picture indicator.  I have written a slide show program in LV and it works quite smoothly.  If you start to see delays, it is probably due to file read time rather than the display.  Read one or two files from disk ahead of when you will want to display them.  Updating the display from memory should be fast.
    Lynn

  • LabVIEW animation picture ring memory allocation

    I'm creating an animation in labview, I have 1,000 images that I need to flip through, I'm using a pict ring and flipping through the images... problem is after loading about 200 images (they're 20k each) my computer throw in the towel, the RAM is full the Virtual RAM might be full.... I'm wondering if there is a workaround around this?  Any kind of way to manipulate the memory so I can finish?  Maybe it's more of a computer thing than a LabVIEW thing... I was thinking, if I increase my machines virtual memory to "alot" and tell LabVIEW not to use th RAM just use the virtual memory that maybe I'd be able to continue, but I don't know if this is possible or how to do it... any suggestion/advice?
    much thanks!
    PS - I realize that there are other programs that are well suited for this and that LabVIEW really isn't animation software, but I MUST use LabVIEW to do this and I'm lookin for advice to find out whether or not this task is possible in LabVIEW. thanks.
    Solved!
    Go to Solution.

    I would advise not to use the picture ring, if only because it's not very convenient.
    You can use the picture control, which will allow you to read in and display the PNG images one after the other (using the VIs in the picture palette) and here you have two options:
    Read the files in one at a time. This might be a problem if you do this quickly and repeatedly, but will solve any memory issues you might have.
    Read the files in once and keep them in memory. Note that the picture control does not have any compression, so the actual size of an image in RAM would be PIXELS x 3 bytes (or x 1 byte and a bit, if you have an 8-bit color depth), so the amount of RAM will depend on the size of the image. For a 200 x 200 image, this should be 120KB, assuming I did my math correctly.
    Try to take over the world!

  • Picture Ring Resize

    I made a picture ring.  When I did that, the pictures in the ring is a little too large, so I had to size up to ring in order to have the whole picture show up.  Is there a way to make the ring and the picture in the ring change size a the same time?  
    I have the pic ring as a type def, and it is way to big.  When I use the type def in my applicatino, I need to size it down.  When I do that, the picture in the ring is covered up.
    Kudos and Accepted as Solution are welcome!
    Solved!
    Go to Solution.

    Hello jyang72211,
    Unfortunately, there is nothing built in to the ring control that allows this functionality (in terms of properties or invoking options). You can control the size of the ring by creating a property node and writing to height or width of the ring control (right click the ring control and go to create>property node>Named Numeric Size). However, there is currently no way to get the size of the picture within the ring control. 
    They may be a way to do this with a .NET or ActiveX control; however, through LabVIEW there is not a way to directly do this. I hope this info was helpful.
    -Nathan H
    Software Developer
    National Instruments

  • Slider value corresponding to picture ring control

    Hi guys.
    I am using LabView 2009. Currently I have a picture ring control in my VI ready for me to create an animation but I am suppose to have a numeric slider beside the picture ring control so that whenever my animation starts, my slider value would change. For example if the first image is being shown by the picture ring control then my slider value would be 0, second image shown by the picture ring, the slider value would be 15. I currently do not have any idea on how to achieve this so I do hope to receive all your prompt replies.
    Thanks.

    This is what I have done so far, but I can't seem to connect the stop button to the event structure and how do you also change the  to ?
    Hope to get your prompt reply.
    Thanks.

  • Picture ring control

    Hi,
    I have never used picture ring control or indicator ?
    I have given a review work, a nameplate specification data is obtained from database and is stored in a global.
    using proper indexing a number is given to picture ring indicator, and corresponding image is obtained.
    How does this work any explanation?
    How to add image to picture ring indicator?
    Thanks
    Solved!
    Go to Solution.

    cancancanopen wrote:
    How does this work any explanation?
    I don't understand what you are asking here. Can you please clarify?
    How to add image to picture ring indicator?
    You copy an image to the clipboard and then you right-click on the picture indicator and select "Import Picture from Clipboard". This is in the Help.

  • Where do I get "Picture Ring" control?

    Where do I get the "Picture Ring" control?
    I've seen/downloaded numerous examples, and I can make it run without problems; but, my Context Help just shows "Ring - No description available."
    I use LV 8.5, and the help on Picture Ring HERE shows that it is part of 8.1. Was it removed?
    Edit:
    Can I remove this post? I just found it. I have to be on the Front Panel, and I have to be searching the Classic section. I'm ok with deleting this post now, so others aren't bothered with it. Can that be done?
    Message Edited by jp2labview on 12-06-2007 04:04 PM
    Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.

    It's ok to leave the post.  It may help someone in the future that is also looking for the same picture ring control.
    Thanks for sharing!

  • How to rotate image of picture ring

    Hi,
      I want to rotate image of picture ring (in particular angle). In my application I want to move a object(in circular form). Please tell me how to do it?
                                            - Thank you

    Hi,       I'm attaching one Jpg file; I need to move the train as per image route. I have tried position property node to change its position but problem is at turn, I can not rotate image of train smoothly through 900.                              - Thank you 
    Attachments:
    train.jpg ‏395 KB

  • Using picture ring with multiple controls

    I am using a picture ring with 21 pics in it.each pic represent a state, I am using a flat task structure to execute this states. the question is how can I increment the picture ring from inside every single state/task?
    regards
    Luis

    if you are already using a state machine you should not use a flat sequence structure. you can make your program more useful just by using the state machine itself and telling it which fram to go to when completed I have attached a VI that explains this eaxample
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    picture_ring.vi ‏1978 KB

Maybe you are looking for

  • Not able to convert word file to PDF using Adobe Acrobat 9 Standard

    Hi, I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created. Not

  • How to set selected text color in Spark TextInput

    I'm trying to make Spark TextInputs and MXFTETextInputs look like Halo/MX TextInputs as much as possible, since I have a mix of both Spark and MX TextInputs in my application. I know I can set the selection background color to black using focusedText

  • Using custom http headers in SOAP sender adapter

    Hi, my problem is exactly the same as reported [here|Re: SOAP Sender - Extract Header Values;] and [here|Variable Transport Binding - Soap Sender; Basically I'd like to send through the soap sender adapter some custom http headers. I check the necess

  • How do i select an email without opening it?

    I would like to send certain emails right to trash without opening them. Everytime i select a message, it opens first.

  • Report writer scripts

    Is it possible to put two levels of the same dimension side by side in a report written using the report writer that comes with App manager? For example, to have Get2,Year and Gen3,Year be side by side columns?Thanks...