Loading images on front panel

I am trying to load an image in my vi's front
panel while I am running my vi because I want to
choose the image to display.
I just found out that Labview doesn't have any
function for that, not even the picture menu.
I don't want to paste all the images on the front
panel, because they are big and will decrease my
vi performance.
I've been looking for an active X control to do
it, but I haven't found one yet.
I also tried the picture ring in the control
menu, but my vi size gets really big.
Any one has any suggestions about active X or a
different aproach ????
Sent via Deja.com http://www.deja.com/
Before you buy.

wrote in message
news:8q64he$j3u$[email protected]..
> I also tried the picture ring in the control
> menu, but my vi size gets really big.
> Any one has any suggestions about active X or a
> different aproach ????
Use the picture indicator? Put a big picture indicator on the front panel,
with (perhaps transparent) controls and indicators in front of it if that's
what you want, and load your images as needed from JPEG, PNG or BMP files?
Perhaps loading them all at runtime to avoid the delay when displaying an
image. I've never used them for loading picture files, but there's a
comprehensive set of utilities in vi.lib/picture that should do what you
want.

Similar Messages

  • 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

  • Saving Image of front panel in an application

    See attached image.
    Using my source code, I can save the image of the front panel with no problem. However, when i build an application and run this, the image of the front panel does not save. Can anyone help?
    Attachments:
    Save Image of Front Panel.JPG ‏19 KB

    This piece of code does the trick, don't mind the wiring.
    André
    Message Edited by andre.buurman@carya on 09-17-2007 05:39 PM
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
    Attachments:
    Top level dir.PNG ‏10 KB

  • Unexpected result when saving image of front panel in EXE

    Below code is used to save an image of the front panel of a VI. The front panel shows an XY graph with two plots.
    This works perfectly in the development environement. With the EXE, the plots of the graph (only the plots) are invisible.
    Have you already encountered this unexpected behaviour ? Many thanks for any advice.
    Solved!
    Go to Solution.

    JB,
    A few things may be messing you up. 
    When you build the EXE, the path that is created for the "Current Vi's Path" probably won't be where you want it.  I would use "Application Directory" or "Default Data Directory".  These path things have messed me up a few times when creating a EXE.
    Also is the data on your graph being generated before you are running the section of code in your picture?  I assume it is since you state that it is working in the development environment.
    What version of LV are you using?
    Joe

  • How to add image of Front panel TAGS to html report?

    I have a VI with several tabs some of which I would like to append to an HTML report. So far I have managed to include just the front panel front tab (using the Append Front Panel Image to Report.vi. Is it possible to create an image of the tabs in order to append to my report?
    I'm using LabVIEW 7.1 on windows 2000
    Thanks for any help. It would be greately appreciated.
    Eduardo

    Hello Eduardo,
    In order to accomplish this, you'll need to use the Append Control Image to Report VI in a loop.  On each iteration of the loop, programmatically change the Tab Control page (with a local variable or the Value property), then append the tab control image to the report.  That way you'll have N images in the report, where N is the number of pages in your tab control.
    Hope this helps,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How do i display an image onthe front panel...without buffering ? (dsd format...)

    Hello all...
    i have got to the DS Send Image.vi and i see that i can send an image
    and receive it too..but the catch is that the data is in a "dsd"
    format. any idea how i could get to this format, or what am i doing
    wrong and is it that i dont really need this format?
    i see that there are a few Read/Write JPEG file.vi's too but they have
    proved of little use to me.
    could anybody throw some light on this please...
    thank you,
    -U

    If you are not using buffered datasocket, sending the picture is just like sending any complex data like an array. Have you tried just removing the buffering part of the example?
    The dsd (datasocket data file) is an NI datatype and there are no documents on the format for this file type.

  • Switch Soft Front Panel, Active Device misassigned

    I have a PXI chassis with, among other modules, two PXI-2350 switches.  Using the Switch Soft Front Panel, it seems the names assigned in the Active Device list ( the two 2350's in this case ) are backwards to what I expect.  Is there a way to reassociate these names to the physical 2350's ?
    Thanks
    Solved!
    Go to Solution.

    Confustus,
    That is an interesting issue that I have never seen before, your devices in Soft Front Panel should be linked to the devices as labeled in MAX. I was wondering, when you say "Using MAX, we can select a route that connects the power source to the DMM using "Switch 1" ( for example ), and we can see the voltage reading show up on the 4071 Soft Front Panel as expected", what exactly do you mean? If you were to select your hardware device and click test panels, the NI Switch Soft Front Panel loads. Are you saying that when selecting test panels and loading Switch Soft Front Panel from max works as expected, however opening the application outside of MAX does not work? 
    Or are you talking about the Test Panels that you open up within NI Switch Executive? The test panels for NI Switch Executive refer to the NI Switch Executive virtual device name, not the DAQmx device name. If you had named the NI Switch Executive Virtual device name in a similar manner, this could be part of the confusing problems that you are seeing. See images below:
    NI DAQmx Test Panel Selection Brings this up.
    NI Switch Executive test panel brings this up. If these device names are similar, I can see how this could be confusing.
    Frank,
    National Instruments
    Staff Software Project Engineer

  • Open front panel of sub vi when called - how?

    Hello,
    I have a VI with several sub VIs.
    I want some of the sub VI front panels to be opened, if they are not yet opened and if they are called but I want them to stay in the background.
    There are two SubVI Node setups: "Open Front Panel when loaded" and "show front panel when called"
    Both are not what I want. If I select "show front panel when called", then the front panels are opened but flickering because they are called often and alternately.  
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.

    johanneshoer wrote:
    No, no issue with my code :-)
    Yeah, we've heard that one before...
    @smercurio_fc: With your example I can see if a subVI is opened or not, but how can I open the subVI during run time if it is not opened
    Just call the method with it set to "write" (right-click and select "Change to Write"). I don't recall if LV 7.0 has a Front Panelpen method. Check the LabVIEW manual.

  • Main VI Menu event calling a subVI front panel

    Hi all,
    I have a subVI whose front panel is loaded upon calling by a main VI.
    I call the subVI using a User-menu event.
    the subvi-properties are set to allow close window and i am not handling a 'panel close' event.
    The problem is....
    when i run the main VI and click on the menu that loads the subVI front panel, subVI window opens, and if i click on the window-close, the main VI hangs.
    i understand that the control remains with the subVI only and never returned to main VI after i close subVI panel.
    but is it the only way to handle the 'panel close event' or any other way out to solve this?

    Try running the VI with highlight execution turned on, and see if anything unexpected is happening, or you could post your vi and let us take a nosey
    Message Edited by yenknip on 09-12-2008 04:30 PM
    - Cheers, Ed

  • Front panel --pictures switch

    Hi
    I am a customer of NI. I have a question about the front panel design. I want to design a knob with different pictures. When it comes to different value, it displays different pictures. How can I get it? Would you send me a example? Thank you for your help.
    Regards
    Vivian

    Well, there are many approaches to this.  It all depends on what you actually want to do, how big the pictures are, how fast you want the pictures to appear, etc.
    Let's look at the knob.  That's easy.  They are found in the Controls Palette under Numeric.  SImply put a range to supports the number of pictures you want to select.
    You could then use the numeric value from the Knob control as an index to an array.  Now depending on your requirements, the array could be an array of paths to the pictures that gets loaded on the Front Panel, or even as an index to an array of pictures. 
    And there are many other solutions. However, the appropriate approach may depend on what you actually want to do.
    Can you provide more details on what you wish to do?
    Thanks.
    RayR

  • Script to load images in Mail

    For some reason unknown to me, in Lion 10.7.5 and using Mail 5.3 I no longer can show images in emails that I want to show images in = not as a default [I have remote HTML turned off] but when I choose.  There is no blue bar and Load Images across the top of the message [as I find on my Air with ML and Mail6] - I found a script here to do what I want, allow a Rule to show images for that message - which would be fine = but It doesn't work, the Discussion is archived and I don't know how to AppleScript [I gather the green lettering means something but what I don't know.  What can I do to either get the blue bar and Load Images button to be shown or to run the thing as a script???
    The Script is -=
    using terms from application "Mail"
              on perform mail action with messages theMessages for rule theRule
                        tell application "Mail"
      activate
                                  repeat with eachMessage in theMessages
      open eachMessage
                                            tell application "System Events" to tell process "Mail"
                                                      if button "Load Images" of front window exists then
                                                                click button "Load Images" of front window
                                                      end if
                                            end tell
                                  end repeat
                        end tell
              end perform mail action with messages
    end using terms from

    SirBlue wrote:
    You should be able to press the placeholder and it will download.
    No, this brings up 3 choices: open, save and copy the picture. This is not what I want, sometimes. I would like to see the picture instead of the placeholder. Any idea?
    Steffen

  • What's the best way to put a programmat​ically sizeable transparen​t image onto a VI front panel

    The problem is twofold: 1) how can programmatically read a transparent image (i.e. image with transparent background) and 2) how can I programmatically position and size that image onto a VI front panel. The best luck I had with item 2 was with a boolean custom control with an imported image. However, this control does not have a programmatic method for importing an image, so the image had to be manually cut&pasted into the custom control.

    Hi,
    If the image is static, it's possible. You can drop a metafile on the front
    panel, and use Panel>Decorations> to get a reference to the image. Resize it
    as desired.
    Changing the image (e.g. from file) is not possible this way, but you can
    put multiple images on the screen and change the visibility...
    If you want to make a picture viewer, I'd consider an activex control (this
    way you can load several picture formats without any programming).
    Regards,
    Wiebe.
    "Jim Campbell" wrote in message
    news:506500000008000000AF4E0000-1023576873000@exch​ange.ni.com...
    > The problem is twofold: 1) how can programmatically read a transparent
    > image (i.e. image with transparent background) and 2) how can I
    > programmatically position and size that ima
    ge onto a VI front panel.
    > The best luck I had with item 2 was with a boolean custom control with
    > an imported image. However, this control does not have a programmatic
    > method for importing an image, so the image had to be manually
    > cut&pasted into the custom control.

  • Configuring Remote Front Panels on a Real-Time Target,smart camera,but there is no image in the web page.

    I do see the web page, but the image  itself is not loading.i know a problem is with the installation of the LabVIEW ActiveX plug-in or the IMAQ ActiveX plug-in.  The LabVIEW ActiveX plug-in is required for ALL remote front panel viewing, and the IMAQ ActiveX plug-in is needed for VIs that use the Image Display. how can i do ?where can i get the the IMAQ ActiveX plug-in. help me!

    Got it working, after much experimentation.  Seems to require installing exactly the right combination of items on the RT target, as some items (web services? web configuration? the "application web server"?) apparently run a separate web server - or instance of the web server - on port 80, which prevents remote front panels from being served on that port.

  • How can I change visibility of images pasted on the front panel?

    Hello,
    I'm using LabView 8.5 and I have pasted images on my front panel.
    Is there a way to programmatically change the visibility of these images (i.e. have them displayed sometimes and not at other times)?
    There doesn't seem to be an option to get a visibility node (or anything else programatic) when I secondary click on the images.
    Alternatively, if there is some kind of control in 8.5 that I could load and display images in order to obtain this visible/not visible functionality, that would also be helpful.
    Thank you in advance
    Frenk
    Solved!
    Go to Solution.

    You are looking for the picture control. This thread seems to have answered the question
    =====================
    LabVIEW 2012

  • Have a program in which a sub vi front panel pops up when the main vi is loaded

    I have a strange problem. 
    This problem only occures after building an application using LV 8.6 Professional version Application Builder, and I have installed it onto the target computer. It doesn't happen when running the development system. 
    When I load the program on the target computer, one of the subvi's front panels used in the application appears on top of the main vi's front panel. 
    This subvi should never appear on the front panel at any time during the program exicution.  
    It happens to be the Write to Spreadsheet.vi that is part of the standard vi library. 
    I have checked all calls to this subvi to verify that it has not be modified to make it load or appear when the main vi is loaded.
    It is called at 4 different times during the program exicution but in no instance is it set to show the front panel.  
    Has anyone seen this and if so what was the fix?
    Solved!
    Go to Solution.

    Does the exe file run on your development computer without the popup?
    Can you post a VI that demonstrates this behavior?
    You've probably already checked, but there are two places that need setting, the SubVI Node Setup, and the File Proeprties Execution tab. See attached jpegs.
    Message Edited by Pablop on 09-02-2009 02:20 PM
    ~~~~~~~~~~~~~~~~~~~~
    Paul Johnson
    Renco Encoders, Inc
    Goleta, CA
    ~~~~~~~~~~~~~~~~~~~~
    Attachments:
    SubVI Node Setup.jpg ‏13 KB
    VI Properties Execution.jpg ‏32 KB

Maybe you are looking for

  • In tears... please help

     ;( PLEASE PLEASE Help me. I've just built the following system: MSI KT3 Ultra ARU Motherboard Western Dig 80GB 5400 speed Hard drive Liteon DVD Teac CDRW (40/48/12) Gainward graphics card SB Audigy Player 256MB Ram AMD Athlon 1900+ XP Modem Win XP I

  • Cross Charging between Countries (US and Canada)

    Hi All, I have a Canadian employee charging expenses to a US project. When completing the expense type and tax code SAP requests a jurisdiction code and we apply an exempt tax code. Processing the payment run using  TRAN: PRFI the system accepts the

  • How to install printer over wireless

    We have a Brother printer at work which is connected to the network. It is not possible for me to physically connect to the printer via Ethernet cable, only via wireless. Brother insists that the only way to install/configure the printer drivers is t

  • LR5 Crashes with selecting "preview" or "play" in Slideshow tab.

    I own the latest version of LR5 and am running it on a 1st gen Mac Book Pro Retina with OSX 10.9 also with a secondary monitor running off of HDMI.  I've never used this feature until now and trying to test it out. Any clues on why it wouldn't be wor

  • Soft links and endpoints

    Hello, I would be grateful if someone would confirm to me the following: A soft link always relates to an external endpoint. Is the above statement true? Julien.