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

Similar Messages

  • 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

  • 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

  • Opening multiple sub VIs (front panels) in an application

    Hi, 
    I am working on a small process control application. The main VI represents a layout of various equipment (pumps, valves, heat exchangers). Each TYPE of equipment
    can be turned on/off through a particular subVI. The subVI is displayed when the operator clicks on the component.  At the moment only one subVI front panel can be loaded. I would like to have multiple panels open at the same time; this to include multiple instances of a same VI and different subVIs.
    I have tried to set properties in the WindowsApperance dialog box but cannot acheive the desired operation. 
    Any suggestions?
    Thanks

    Trust my personal experience: You do NOT want multiple dialog windows open.  The users will hate you and curse your name if you do.  You really want to use subpanels and limit what the user can do.  Subpanels are a way of inserting a VI's front panel into another VI's front panel.  So you want to have a section of your main front panel that the user can load whatever control subVI they need.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • 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

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

  • Hiding front panel with built applications

    I've seen and used the techniques to run a VI with a hidden front panel. I have the VI open a reference to itself and it works as expected. However when I build my code into an application, it no longer works. Watching Task Manager I see the application quit when the panel becomes hidden. I've even tried building the window-less.zip example I downloaded from the NI website. It worked in VI form but not in EXE form. Anyone have any suggestions?
    Andy Brown
    Averna

    Andy,
    I ran into this problem back in LabVIEW 5.1 when I was developing a game in LabVIEW. I had an introductory screen that allowed the user to run the tutorial or play the game, and upon selection I hid the introductory screen and displayed the panel of the appropriate subVI (tutorial or game). Unfortunately when I built an executable, it would end once I chose to run a subVI, and I later found out that this is because closing the front panel of an executable essentially closes its reference. My workaround was to use LabVIEW 6i and the new tab control to keep all of my front panel operations in the same VI, and programmatically switch between the tabs in order to display different screens (like tutorial, enter info screens, the actual game, etc.)
    I hope this
    suggestion helps. There may be a way to bypass the problem with closing EXEs once their front panels are gone, but I do not know of one.
    Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Storing front panel values between application runs

    Labview 6.1 built application
    I have built an application in which the operator can change setpoints that transmit through datasocket to a central controller.
    The operator needs to be able to close his PC down, each time he reboots the application reloads with the default levels, this can cause alarm problems etc.
    Is there a way of him entering the values to an area that will save his last values and reload as the datasocket values when the executable is restarted?
    (his/her) no offence.
    Any code or advice, thank you.

    Hi,
    You can use configuration files VI placed in the File I/O section. I use LV7 and It has it, I supose LV6 also has it.
    What you can do is create an ini file with a configuration by default
    and then when program starts you read it and load this values to your
    window. You can load them reading from the ini file when you open the
    window that contains these levels. Finally, in this window you can
    create a button to save the new values that the operator enters for the
    levels. So If the operator need to save new values, he/she will press
    that button and the values will be saved to the ini file and then when
    operator closes his PC, reboots it and restarts the application the
    default values will be the last values the operator has entered and
    saved in the previous execution of the program because each time you
    restart it the values are loaded from the ini file.
    I hope this helps you,
    ToNi.

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

  • Remote front panel with labview 8.6 executable

    I am trying to create a remote front panel of my application, built in an executable using Labview 8.6. I want to run that application on a target machine (not the one used for developing the project) and view and control the front panel of the VI from a web browser on another computer.
    I have followed these steps: 
    How can I use remote front panels with Labview Executables?
    But when I finally open the web browser and navigate to the URL I obtain that the page cannot be found.
    I have my Labview project created and I have built a web page using Web publishing tool. I have saved it in my Labview 8.6/www directory and added it to the project. I have built my executable including HTML file and copied all the obtained folders to the target PC.
    Then, I have modified the .ini file like in the step 7, but when I arrive to the step 8 I don't know what to do. Which  niwebserver.conf should I modify? The one localized at Labview 8.6 directory of the target machine? Or the one that is created in the directory where I have copied the executable when I run the executable?
    In the DocumentRoot tag  I have to replace the default Labview/www with the location of my HTML file. Should I use quotation marks or no?
    Have you got any ideas of what is happening?
    Thanks!

    Ok, but when I create the executable, in the folder where the application.exe and .ini are there isn't a file called niwebserver.conf. When I run the application a file with this name appear in the directory (the one I include), but it hasn't the section Directives that apply to the default server as in the manual.
    What I have done is to copy the niwebserver.conf file ubicated in the Labview 8.6 of the target machine in the same directory of the executable but it doesn´t work...
    niwebserver.conf
    ServerRoot "."
    ErrorLog "./logs/error.log"
    LogLevel 3
    ServerName default
    DocumentRoot "./../../www"
    Listen 80
    ThreadLimit 10
    TypesConfig mime.types
    DirectoryIndex index.html
    LoadModulePath "./modules" "./LVModules" "./.."
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    LoadModule LvExec ws_runtime
    LoadModule dir libdirModule
    LoadModule copy libcopyModule
    AddHandler LVAuthHandler
    AddHandler LVSnapshotHandler .snap
    AddHandler LVRFPHandler
    AddHandler LvExec
    AddHandler dirHandler
    AddHandler copyHandler
    CustomLog "./logs/access.log" "%h %l %u %t \"%r\" %>s %b"
    KeepAlive on
    KeepAliveTimeout 60
    Timeout 60

  • Show front panel of subVI on a real-time target

    Hi,
    I'm running an application on a real-time target (14.00). On the main front panel of the application, I have a button who open another VI with the invoke node method but this component doesn't work with Real-Time taget. So, how can I show the front panel without this method ?
    Thank you

    Hint: RT = there should be no GUI.
    RT applications are meant to just run off on their own.  GUI is not part of a real RT system since that adds a non-deterministic process to the system, adding jitter (which is a big no-no in RT).  What you should be doing is making a Windows host application that can communicate with the RT system (via Network Streams, TCP/IP, etc).  The host application acts as the GUI/HMI.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • TDMS Low level file functions and Saving Front Panel image

    Am using TDMS low level file functions to save while also plotting data in my data acquisition programme.  However, I also want to programmatically be saving the front panel image on every run of my data acquisition.  I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application.  Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
    I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
    Thanks in advance.

    Tebefia wrote:
    Am using TDMS low level file functions to save while also plotting data in my data acquisition programme.  However, I also want to programmatically be saving the front panel image on every run of my data acquisition.  I have coded all other aspects, except the behavior of functionality of saving the front panel image on every successive runs of the application.  Unfortunately, I just have no idea on how to code this aspect on LabVIEW, and all effort to search for example codes on so far have not been successful.
    I would appreciate any useful hints or steps from anyone for me to follow, in order to accomplish this behavior, and that is being able to programmatically save my front panel images while using TDMS low level file functions in my File IO system of my application.
    Thanks in advance.
    Did you see this link?
    CLA, LabVIEW Versions 2010-2013

  • I built an application to store de front panel of vi in a JPEG image file, but native labels of controls and indicator are unclear after image capture, some one knows why? I have a working example you can test.

    For some label colors like yellow or green, this defect is almost invisible, but for black color or any dark tone like brown or dark gray after file creation appears unclear labels.

    In more details, JPEG uses lossy compression and is not really suitable for cartoon-like pictures with objects containing high-contrast sharp features such as lines and boxes (as found in front panels). This has to do with the truncation in the 2D cosine transforms which gives you weak ripples near sharp edges, not visible in typical photographs.
    Of course you could set the quality to 100% (optional input) for no truncation with a trade-off of larger files, but it's pretty pointless. JPEG is only meant to be used for photographs.
    PNG is a fantastic format (intended as a GIF replacement), uses lossless compression, and wins in all aspects over jpeg for your intended use. All modern applications can deal with them (e.g. you can insert them into word or powerpo
    int) and any modern browser can display them. (see e.g. the PNG home site for more info).
    LabVIEW Champion . Do more with less code and in less time .

  • 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

Maybe you are looking for