Save a front panel image problem

Hi, i'm trying to save at run-time an image of my front panel, and the little code with the Invoke Node (FP.GetImage) works well but there is a problem, i have a background image for my front panel and this image don't show up in the image saved so i have an image with controls and graphs but a blank background. Is there some way to obtain an image of my ENTIRE front panel? Thanks

Hi,
Here's how I got ride of tghis issue, I use Windows "printscreen" function by simulating a keyboard stroke and then I get the data from clipboard (crop it it necessary) and save the image.
What I like about it is that the "crop" makes it easy to get just what I want when there's more than one monitor.
What I don't like is that it's a windows only solution.
Hope it helps
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • 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

  • Problem with Append Front Panel Image To Report.vi

    I'm using LV 7.0 with the MicroSoft Report Generation toolkit installed. Under the Report Generation palette there exists an Append Front Panel Image To Report vi. Also on the same palette there is an Easy Print VI Panel or Documentation.vi which uses another Append Front Panel Image To Report vi located under the VI Documentation subpalette. Here is the problem; I have serval vi's that use Append Front Panel Image To Report.vi from the Report Generation palette and I have a couple of vi's that use the Easy Print VI Panel or Documentation.vi which is linked to the Append Front Panel Image To Report.vi located under the VI Documentation subpalette. Clear as mud!
    This creates a conflict of intrest. In a nut shell th
    ere are two vi's with the same name in different locations doing different things. I have a program with subvi's that need to call each respective Append Front Panel Image To Report.vi and that just is not working.
    Is this a known issue with LV7.0 that has already been addressed and/or resloved?
    Thanks.

    ATC Herman,
    Based on the picture you posted and what you are describing, it looks like you might have an incomplete install. What version of the toolkit do you have? Was it first installed on an earlier version of LabVIEW, or did you install it first on 7.0? Your VI Documentation Palette appears the same as if you hadn�t installed the toolkit. I�ve attached a screenshot of what it should look like. The VI in question is a polymorphic VI, which may be causing some of the confusion. If you right-click on it and select �Open Polymorphic VI�, it will show you what options you have, depending on the input. I opened both test and test1, and they appeared the same for me. I was able to have them both on the block diagram. The path to bo
    th of them was C:\Program Files\National Instruments\LabVIEW 7.0\vi.lib\printing\ReportDocExtensions.llb\Append Front Panel Image to Report.vi. The .llb ReportDocExtensions has the polymorphic VI, as well as copies of each of the possible instantiations. Make sure you have these VI�s in the .llb in that directory.
    There is a KB on having the toolkit on multiple versions of LabVIEW and what files you need. Make sure you have all the files listed.
    Please let me know if you are able to get to the bottom of the issue with the above information.
    Thanks, and have a happy day!
    Robert M
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments
    Attachments:
    Report_Palettes.JPG ‏57 KB

  • How can I save an EXE front panel image to a file?

    The methods to save a VI front panel image to a file don't work on executable applications. How can I save an EXE front panel image to a file? (LabVIEW 6.1)

    Hi,
    i wrote some vi that save FP to image and created exe and it works fine. How do you save FP to image in VI?
    If you use VI server method "Get Panel Image" and use "Write JPG file" ( or BPM) it works fine.
    Attachments:
    fp.zip ‏40 KB

  • Save sub-vi's (possibly closed) front panel image to a file

    Hello,
    I would like to dump a file of a sub-vi's front panel when that sub-vi completes execution. I was thinking of using the  "Front Panel:Get Image Method", however the target sub vi's front panel might not be opened. I am looking through the help file, and it says
    "If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any front panel terminal on the block diagram of the VI for which you want to create a front panel image."
    I'm not quite sure I understand what that means. Can anyone provide an example?
    I am running LV 8.2 for the record.
    Thanks,
    -Ted

    Hi Ted,
     "If you do not
    want to display the front panel but want the image to reflect value
    changes, create a Property Node from any front panel terminal on the
    block diagram of the VI for which you want to create a front panel
    image."
    What that means is to create a property node for something (anything) in your Sub-VI.  
    I have attached an example for you with a dummy property node. And the front panel of the Sub-VI gets updated on the Main-VI. Try removing the property node in the Sub-VI and you will notice that even though the values are correct in the main-vi, the image of the sub-vi doesn't get updated. 
    Hope this helps!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer
    Attachments:
    MainVI.vi ‏15 KB
    SubVI.vi ‏10 KB

  • Printed front panel graphics quality (Print Panel to Printer method vs. Append Front Panel Image to Report.vi)

    LV 6.02 (or 6.1)
    NT 4.0
    I have a vi that the front panel includes all the information I need to print except that it is on different pages of a tab control to conserve screen space. I was attempting to programatically cycle the value of the tab control in a For loop and invoke the Print Panel to Printer method to print 7 pages of the front panel, each with a different tab page selected. The printouts were excellent quality but beginning with the second consecutive Print Panel to Printer method the on screen front panel image of the VI being printed would become jumbled (sometimes, by the time 7 printings were done, the entire front panel image would disappe
    ar and a bitmap of the desktop or underlying windows would be visible in the VI's panel frame) yet the subsequent Print Panel to Printer methods continued to print the panel as they should appear. The visible front panel graphics would never return to normal and the only solution was to close the vi (in the dev system) or exe (compiled) and re-launch. I tried a lot of things (like hiding the panel to print before printing and showing it after printing) with no luck. It appears that two or more of these consecutive invoke methods caused the problem regardless of whether the tabs were cycling, or even if there was no tab control and much fewer controls on the panel to be printed than normal. I also had the same problem with LV 6.1.
    Finally, I was forced to switch to the report generation toolkit vi's, I cycle through the tab pages and use the Append Front Panel Image to Report.vi to append each image to the report. This is faster and control returns to my program quicker but I a
    m unhappy with the printed quality of the graphics of the front panels. They are not as high of resolution as those generated via the Print Panel to Printer method.
    Any suggestions?

    You might try changing the way the VI is printed by going to tools >> options >> printing. Try the postscript and bitmap settings.
    Jeremy

  • Append front panel image to report

    I am using Labview V6.1 on a Win2000 PC 2.4 Ghz, 512MB RAM.
    I am trying to use the append front panel image to report VI to append a VI panel image to a report. I am using notifiers to synch the execution of the VI with the desired front panel an the report generation process. I keep getting an error fron the Append VI that is a 1004 which is VI not in memory. How do I keep a vi in memory? I thought it would stay in memory as it is waiting for a notification from my report section for completion before closing. The notification stuff seems to work properly. Any ideas?

    Here is a VI that demonstrates the problem I am having. The other VI is the VI I am trying to append to the report.
    Let me know your thoughts. I will be away from this forum starting 8-27 til 9-1.
    Let me know your thoughts.
    put these files in a c:\P368 folder. or edit my VIs
    Attachments:
    testing.vi ‏81 KB
    build_site_data_str.vi ‏45 KB

  • How to Save & reload front panel position

    I would like to save the front panel position into an ini file or registry, so that the next time the program is used, it comes up where the user left it.
    With the Invode Method: Front Panel.Run-Time postition.Get positon  
    I can get all the position data I want:
    left-top
    state
    monitor
    However...  How do I set the same information at startup?   
    There's no  Front Panel.Run-Time Position.Set position. as far as I can see...
    To set position, state and monitor values, it seems I need to first call  FP.Open for the state, then FP.Run-Time Position.Centered to select the monitor, and then FP.Run-Time Position.Custom to set the position....   
    That looks weird and complicated...    Am I missing something here?   Is there a more elegant approach?

    NI explains the difference between Property nodes and Invoke nodes as this.
    Property nodes access the properties of an object and allow you to read/write those properties.
    Invoke nodes perform actions on an application or VI allowing you to get and sometimes set attributes of those actions.
    Sometimes there is some overlap between Properties and Methods as you noticed with the "Get Position" method and the "Panel.Position" property. But most of the Methods do not have a similar Property. For instance, there is a Method you can use on a front panel item called "Get Image". This will return image data about the item that will let you save the items current visual appearance to a graphics file. (.bmp, .png, .jpg) There is no equivalent property to do this.
    So it really depends on what you are trying to do as to which one you end up using.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Get front panel image

    I want to print the front panel image with a specific resolution independent
    of the actual size of the front panel.
    I had the following idea: I use a prperty node with "get front panel image"
    feed an intensity graph in a sub-VI with the information and print the panel
    of the sub-VI. The intesity graph of the sub-VI has always the resolution I
    need for the printer.
    This works fine. The peoblem I have is that I can not use the property node
    with 24 image depth. For the colour table (I need it for the graph) I always
    receive an array with the size of 256 as I receive it with 8 image depth.
    With 24 image depth I should receive a much longer colour table.
    Maybe somebody has another idea to print the front panel with always the
    exact res
    olution. Independent of the panel size - always the exact similar
    picture on the paper.
    Max
    -> [email protected] / [email protected] <-
    -> Max Weiß * Eulenweg 2 * 76356 Weingarten * Germany <-
    -> Fax/Voicebox: 01212 / 5 - 10570879 * Tel: +49 162 9114507 * DB 8 MWE <-

    I've played with this some myself. Apparently, LabVIEW can only use up to a 8 bit depth or 256 colors for this function. Most of the time, that is sufficient for printing images which are usually in grey scale anyway. You might also want to play around with some of the Print Methods using invoke nodes. You can print to an html doc and specify whether you want a JPG or PNG and the color depth for the image. You might be able to take advantage of this to work around odd printing problems.

  • Append front panel image crashes in 7.0

    I'm trying to use append front panel image.vi in
    Labview 7.0 and when called Labview crashes in the
    standard report case calling invoke node for IReportData > AppendPictureFromFile. Labview just
    quits. What's weird is it appears to work on a
    system w/ a local printer but not one w/ a network
    priner. Any ideas?

    try to generate an HTML report first, and then print that. Some printers are worse than other at printing (what looks like) a simple object.
    Otherwise, I would do some basic trouble shooting, like can you print a simpler front panel image (say two numerics) to the printer. Next, I would try to print to a different networked printer.

  • New report page and append front panel image

    Hi,
    I am trying to create a report using the Report Generation toolkit in LabView 6.1 which gets printed to PDFCreator.
    I have 4 front panel images that I am appending to the report, and I would like each image to be on its own page.  I am trying to accomplish this using the New Report Page vi, but it doesn't appear as though it is putting any page breaks in the report, and no errors are being generated.  Do the page breaks that this vi puts in only apply to text?  What is another method that can accomplish putting each image on its own page?  Simply creating and printing 4 reports will not work, since I need the 4 images to be in the same PDF file, and PDFCreator does not support appending to PDF files instead of overwriting.
    Thanks,
    Ian

    Hi Ian,
    According to the Help for "New Report Page.vi" you can append either text or another file to the new page.  Are you creating a standard report? 
    Jennifer R.
    National Instruments
    Applications Engineer

  • How can I save front panel images each time a loop iterates

    So I've been working on some optical codes in LabVIEW for a while, I've read a lot of these similar questions but I can't seem to apply them directly to my situation in all cases.
    I essentially have a code that shows an intensity graph that is continually modified in a for loop, I want to save a picture of that intensity graph each loop without having to manually label them. Is there something similar to the get image node that can do this. I've looked through the image acquisition in the vision VIs but only see references to hardware like cameras.
    Attached is a simplified version of a changing intensity graph. With the get image I have to establish the names of 10 images and the path there before it will run and save like I want it to.
    A million thanks to anyone who can help
    Solved!
    Go to Solution.
    Attachments:
    Sample image save.vi ‏19 KB

    That worked wonderfully and is exactly what I need for the phase diagrams Im working with. I have a new and similar issue, I do have a camera showing us our laser source in a CCD image within my code. I was hoping to get a picture of that each iteration and hoped the solution you provided would work for both but the CCD jpgs are just black. I'm assuming I may have to use a different acquiring technique with that but dont know the best way to go.
    Any help there? I cant really post a VI since the camera stuff wouldnt work but heres a screen shot of the front panel and the CCD image that id like to capture.
    Attachments:
    2.JPG ‏400 KB

  • Remote front panel reconnection problem

    Hello,
    I have created a real time application build for myRIO and i can succesfully run it as startup. After MyRIO reboots, through the Project Window i select Operate/Connect to Remote Panel. I enter the local network IP address 192.168.0.101 and port 8000 and the Front Panel of the Startup VI opens. I run it and everything is running as expected.
    This setup is installed on a UAV and acquires data from scientific instruments all data is writen on a USB flash drive on myRIO
    It is expected that sometimes the local network link will break during the flight. To simulate this i unplugged myRIO from the ethernet cable will the Data is saved.
    I noticed the following strange things:
    1. At time X  i connect to the remote panel and i start the DAQ which acquires data
    2. At time X+10 minutes i unplug the ethernet cable which connects myrio to the local network
    3. At time X+20 minutes i poweroff myRIO
    I was expecting that after the connection was broken the VI would have kept acquiring the Data until myRIO powers off.
    Instead i noticed that myrio acquires data for only 1 more minute after the ethernet cable is unplugged.
    It is very important that after the UAV takes off whatever happens to the network connection the VI keeps acquiring data for as long myrio is powered on.
    I also tried the web publishing tool but i could not connect using a browser. It seems that the web server was not running properly. I also noticed that the html file was not located in the target destination folder. I tried to manually copy it using a map networked drive but the file could not be copied.
    I will appreciate any help on the above issues.
    Thank you,
    Christos

    I see thank you. Very funny because i thought i had to do something with duplicating the real time target.
    So regarding the above problem, is there any way to be connected remotely to the target and when the link is broken to reconnect without affecting the operation of the VI running?
    For example, lets assume we connect to a remote front panel which has a simple VI with just a 1 second period timed loop running and for each iteration of the loop i monitor and i save the index of the loop. When i connect to the VI i request control and i click run. The VI starts running. After one minute, at loop iteration 60 the link between the host and the target breaks. The VI should continue running.
    After 1 minute of broken link the network is again available.
    What can i do to re-establish connection without affecting the VI operation and continue monitoring the VI. If reconnecting after 1 minute i will be expecting to see the loop iteration to be 120 and keep running. Is there any way to do this?

  • NI 5112 Scope soft front panel setting problem

    Hi,
    I tried to meausre a 5.1 voltage using SCOPE soft front panel. I could get 5.1 AC voltage from SCOPE soft front panel,
    but it did not go back to 0 volt after 1 to 2 second in a horizontal line. Nornamlly, my 5,1V will go back to 0 volts
    in my oscilloscope after 1 to 2 seconds because I am measureing a shock beep pulse waveform.
    Can you tell why?
    I am going to give you my setting.  I was trying Y-axis 2 volt/div, AC coupe, ch 0,  X-axis is 10 microsecond/div. normal mode.
    Trigger: edge, rising, ch 0, trigger lever 2.5.
    I am in a urgent. Coould you pls send me quickly

    I'm sorry if I don't completely understand what the behavior is but if I understand you correctly, you have a signal that goes from 1 volt, peaks at 5.1, and then slowly drops to 1 volt again.  That entire signal takes 1 to 2 seconds.
    I am not sure if the problem you are seeing is 1. You can never get the full signal in the SFP or 2. You get the signal ok but the SFP does not wait for you to hit a button to try and acquire again.
    If the question is number 1
      If this is the issue it sounds like you are able to capture the 5 Volt peak, however it never goes back down to 1 volt.  You mentioned that you have the X-Axis set to 10 microseconds/ div.  Therefore the SFP is only acquiring an total of 100 microseconds, and if the reference is set to 50%, then you are only getting 50 microseconds of signal after the trigger, so you will not be able to acquire the 1-2 seconds it takes for your signal to drop.  I would suggest increasing the number of points and slowing down the Time/Division.  You should be able to change those settings a few times to actually get 2 seconds worth of signal.
    2. If you want to simply hit a button and the SFP will acquire again then you need to change the mode to SGL.   Then you just need to hit the run or pause button and the SFP will acquire again.
    Message Edited by Evan on 09-12-2005 10:03 AM

  • FRONT PANEL AUDIO PROBLEM

    Ok i have a Hp pavillion m7480n and yesterday i bought a new graphic card (Nvidia geforce gt220) so i installed the card correctly and everything went well. When i restarted my pc the sound in the taskbar said something about HD. The graphic card has a HDMI out so i guess that after installing the card, the audio went to default HD wich i really didnt want to cuz i do not have a hd monitor.
    then i downloaded, reinstalled, uninstalled, reboot, installed again the realtek hd audio driver cuz thats what i thought it was but nothing worked ! so now if i want to use my mic i have to plug in the device at the back of my pc wich is really annoying cuz i change alot.
    i really tried everything from going to the bios setup to enable "onboard audio", reinstalling drivers,  realtek sound manager options "mute rear output device, when a front headphone plugged in." "enable jack detection when device is plugged in".... so i dont know what else i can do about it... really need help ! and by the way i noticed that on my realtek HD audio manager the "Front panel" is grayed i cant click on both of the inputs heres a link to the screenshot
    http://img267.imageshack.us/img267/9473/picyy.jpg
    and on this screenshot i there is some level (green bars) on the mic but beleive me its not working.
    i beleive that theres a possibility that a wire disconnected when i installed my graphic card but i want to be sure its not a simple driver problem or whatever else before playing with the wires inside.

    had the same issue, its the graphics card since it has an integrated HD audio, it causes a conflict, what you have to do is restart the PC, hit either F1 or F10 to go to setup, then go to where it says sound, and you have to change it to onboard device
    after that both should work

Maybe you are looking for

  • How to change email double screen on iPad?

    Hi All, As a new iPad user (familiar with iPhone), I am having trouble with the email function.  On the iPhone it shows the mailbox screen only, or the selected email.  The iPad shows both screens, as there is tons of room to do so.  My problem is, I

  • Photobook / project disappeared - iphoto library on external drive

    i use iphoto 11 on a macbook air os x 10.7.5 and have moved the iphoto library on an external hard drive. some older photobooks and projects (calendars) are clickable - i am asked if it is okay to renew them. others are just dead. when i end iphoto a

  • How can we set two events in a single button ???

    HI I created a button named bold , when i click it first time the textarea texts will became as bold.. I created another button bold cancel when i click at that button textarea texts will became plain... But how can i set that controls in a single bu

  • Pagination concept

    how can i use pagination for creating alv with dynamic internal table.

  • Alternate Boot Environment disaster

    Hi - hoping someone can help me with a small disaster I've just had in trying to patch one of my SPARC T4-1 servers running zones using the patch ABE method. The patching appeared to work perfectly well, I ran the following commands: sudo su - zlogin