Exporting block diagram image

Hi
I'm in the middle of writing a report that discusses the LabVIEW program I've been working on, I was wondering how I export an image of the block diagram and front panel to include in my report? I hoped it would simply be a case of copy and then paste into clip art or similar but LabVIEW only lets you copy individual objects.
Please help!

I prefer to simply get the FP and BD image using invoke nodes. The attached simple demo (LabVIEW 7.1) will ask for a VI, then create PNG images of the front panel and block diagram of any VI you select. The image of it's diagram below was just created with it.
Modify as needed!Message Edited by altenbach on 06-02-2005 05:54 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
GetVIImages_BD.png ‏9 KB
GetVIImages.vi ‏60 KB

Similar Messages

  • How to find icon position of currently executed VI on caller's block diagram

    Dear forum,
    I currently try to use a LabVIEV VI as a simple sequencer: Several (very slow) actions have to execute one after another. Each action is represented by a Sub-VI, some actions are executed several times. My task is to visualize the currently executed Sub-VI somehow.
    My first intention (simply manipulate the icon of the currently running VI with "VI Icon.Get as Image Data" / "VI Icon.Set from Image Data" invoke nodes) failed, because this changes the icon of ALL instances of this VI; if you use the same VI several times, the icons of all these VI are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl...
    My current approach is to use an image of the block diagram (with "VI: Block Diagram: Get Image Scaled" invoke method) within a picture control of the front panel and to work within this control. But for this I need to know the position of the icon of the currently executed VI. I know that I can evaluate Bounds and Position via the GObj properties, but how do I find the currently running VI (note that a VI may reside several times on the block diagram, so the name of the VI is not unique)? IMHO the simpliest way would be if a VI could find its icon on the caller's block diagram itself when executed...
    It's clear that this position is not the position on the picture yet, but this conversion is a small piece of work...
    Regards,
    cpschnuffel
    Solved!
    Go to Solution.

    Yamaeda wrote:
    Run it in highlight mode, done.
    Sure if you don't mind having functional checks taking hours instead of minutes...okay maybe that is exagerating for a simple VI like this, but it would increase cycle time.  Honestly I think the best solution would be to use the helper VI that was mentiond before, which keeps track of what VI is running.  You can of course use scripting to get the block diagram image, but there isn't a good way to know what exact VI is running using VI server.  Here are a few discussions.
    https://lavag.org/topic/16660-how-to-get-actual-vi-execution-state/
    https://decibel.ni.com/content/thread/18687
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Terminal images for arrays on block diagram

    I had always know that the thickness of the wire is representative of the size of the array on the block diagram (Thin wire, scalar, thicker wires, larger dimension arrays)
    I never noticed before that the terminal on the block diagram contained the [ ] symbols to indicate it is an array.  But also, the larger the dimension of the array, the thicker the brackets are, up to about 5-D.  (Probably because I rarely need a 3-D array, and large than isn't any practical, logical reason for a 4-D or larger array.)
    However, looking at the image of the terminal, the shaded area containing the outgoing or incoming triangle actually obscures one bracket or the other.
    While I wouldn't want the terminal to get any larger (which is why I don't like the icon view, it is way too large), it seems like the terminal should show both the opening and closing brackets to indicate an array rather than obscuring one.
    Any comments?
    Message Edited by Ravens Fan on 08-22-2009 12:59 AM
    Attachments:
    Example_VI_BD.png ‏3 KB

    Definitely keep the arrows. They are what tell me the direction of the terminals.
    As I was saying in another post, there is nothing intuitive about the thick border/thin border differences to tell whether the terminal is a source or sink. I like that they are a bit different, but if you put them side by side with no wires and no arrows, I couldn't tell you which was which.
    As for array size, as Christian says, if I want to know the type/dimensions of the array, I'll use context help. I just thought it was interesting (and I had never noticed it before) that the array size was encoded in the image as well.
    I myself wouldn't mind if the terminal grew 2 or 4 pixels wider, but I can completely understand how it would bother a lot of people.
    I think in the current image, too much is obscured by the arrow and its background, even for the scalar type. Actually, why is there a light background behind the arrow at all. That is the real source of the problem. Eliminate the background, and move the arrow over to the edge, and you can see everything without extra shading and without causing the terminal to grow.
    See below:
    1. Terminal size maintained.
    2. Direction arrow maintained, just slightly moved.
    3. Goofy shaded background removed.
    Message Edited by Ravens Fan on 08-22-2009 09:48 PM
    Attachments:
    terminals3.png ‏5 KB

  • Place an image on the block diagram

    Is there an easy way to place an image on the block diagram?
    To clarify, I would like a simple way to paste a bmp or jpeg or png or whatever onto my block diagram for the purpose of documenting the block diagram for future programmers.
    The way I currently accompish this is by creating a picture constant on the diagram and running a seperate vi to load a picture into a picture window, then using copy and paste functions to get the image into the picture constnat in my block diagram.
    There's a simpler way, right?
    global variables make robots angry
    Solved!
    Go to Solution.

    Thanks, but that isn't at all what I am trying to do. I want to
    place an image on the block diagram, not read an image. I've attached a
    screen shot of my block diagram to show you that I am using an image
    that I pasted onto the block diagram to document the block diagram. The
    picture below the wiring is a schematic of a rectangular reticle that
    corresponds to the wiring diagram above. You can see which points go
    where when drawing the targeting reticle around kermit the frog, so it
    is easier to understand the wiring diagram.
    The method
    I have to use to paste an image into the block diagram is cumbersome. I
    would like to know if there is an easy way to paste an image into the
    block diagram.
    Message Edited by Root Canal on 01-10-2009 01:53 PM
    global variables make robots angry
    Attachments:
    like_this.PNG ‏73 KB

  • 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

  • How can I open a vi and show the block diagram?

    Hi,
    I am opening an vi using "Open VI Reference" and "Invoke Methodpen FP", but I want to open the vi and show the block diagram, but I haven´t found any method (Invoke Method) to do that and any property.
    Any idea?
    Thanks!
    Gracinda

    OK, I can come up with a reason.  I have written a program that will search the entire VI Hierarchy of a program and update all of the descriptions for all VIs with the top level program part #, the name of the top level program that the VI is used in, the company copyright info, the ITAR notice, company address, the name of the engineer performing the update, along with the date and time.  This will also place as a background image on all the VIs, a watermark of the company name, legality stuff and the copyright. It works very slick in that if there are thousands of sub-vis, such as what I'm working on now, it goes through all of them, makes sure the data is there as per company policy without having to open every one of them look at them and update or not whichever the case may be. The one portion that is tough is that the program will detect if there is a description written about what funtion the VI performs and if there is not a description, then it pops up a dialog requesting the user to write a description. The problem is that without looking at the block diagram for the VI, it can be nearly impossible to write a description for the functionality of the VI. So is there a way to programmatically open a VI, show its block diagram (this would only be in the case of a missing description) and then upon completion of the updates, close the block diagram? (I already open and close the VI programmatically in order to read the VI DESC and update as needed, but that is in the background and of course you can't see the block diagram).
    Thanks,
    Dan

  • Error cluster constant appears different in two locations on a block diagram

    I am a newbie to LabVIEW. I have taken Core 1 & 2 and Machine Vision and I have not com across this before.
    The image on the right is obviously an Error cluster constant used in the block diagram to create an Error cluster and wire it to an error out terminal. As far as I can tell the image on the left is about the same thing, but why does it look different? The different appearance causes raises a concern that there is a difference in behavior that I do not understand. LabVIEW help suggets that both are Error constants. When I create a new error constant, it always ends up appearing like the right image above.  I have not been able to create someting looking like the image on the left.
    Could someone please confirm what the image on the left is on a blck diagram?
    Thanks,
    Bill
    Solved!
    Go to Solution.

    The image on the left is an error cluster control. It has a front panel presence and can be set either via the front panel or through a property node or local variable. The image on the right is an error cluster constant. It is a static value.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • In block diagram connecting wire getting blur while saving the VI in LabVIEW 2009

    Hello,
    I am using Labview 2009, And while I am saving  a simple VI connecting wires are getting blurry. What could be the problem?? Is it affect my program while running?
    Solved!
    Go to Solution.

    Go into Tools>>Options, select the Block Diagram page and find the section called Constant Folding. If the CF for wires check box is checked, then this is most likely the reason. You can uncheck the check box and it won't affect the way your code runs.
    If this isn't the case, you should upload an image of what it looks like.
    Try to take over the world!

  • How do I take a screenshot of a block diagram to be used in a MS Word document?

    I am using labview 5.0 and I am working up a user manual on the VI I have created. I would like to include screenshots of the block diagram and explain what I have done for future revisions of the VI by other programmers.

    You can "print" your vi. When you do that, you have the option to save it instead as an html or rtf file. LabVIEW will create images of your diagram that you can use for your user manual.
    Also, you can simply select your diagram or part of the diagram using the "Position/Size/Select" tool, copy it and then paste it on your word document, like any regular cut and paste. It will paste as an image. If you want, you can paste the image in another application directly like Paint or Microsoft Photo Editor, so you can modify it accordingly to your needs.
    Best regards;
    Enrique
    www.vartortech.com

  • How to add text to the block diagram

    How do you add plain text to the block diagram for documentation and can I change the background color to yelllow or something else that may be helpful? see image below
    Windows is a 64 bit extension to a 32 bit graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition. Byte that Microsoft!
    Solved!
    Go to Solution.

    Just double-click in an emtpy area and start typing. Use the coloring tool to color the text background.
    (there is also a "free label" in the decorations palette, but that seems like a detour )
    LabVIEW Champion . Do more with less code and in less time .

  • Integrating fpga module with standard block diagram

    Hi all,
    I'm doing an FTIR multitouch table, and I would like to be able to track blobs using LabVIEW then transfer this data to a Spartan 3e FPGA.  I have seen the tutorials on how to program the Spartan 3e and have direct communication with LabVIEW, but can I also run image processing via USB-IMAQ VIs in the same block diagram?  Basically I need to get coordinate data from the blobs (touch points on the screen) and transfer this data to an FPGA which will act as a primitive graphics card.  Any ideas are appreciated.
    Thanks...

    Zzzyzx,
    Hello! You should be able to use your Host VI to talk to Both the FPGA and the USB-IMAQ devices. You would just have two loops running at the same time, one for each device's communication. To pass data between the loops (from the vision to the FPGA) you could use a Consumer Producer Architecture.
    I assume you are referring to these tutorials?
    Using the Xilinx Spartan 3E XUP Hardware with LabVIEW FPGA
    Using LabVIEW FPGA with the Xilinx SPARTAN-3E XUP Video Tutorial
    LabVIEW FPGA Module Training for Xilinx Spartan 3E XUP Hardware
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • Cannot open block diagram

    I opened a VI I recently created and when I try to open the block diagram its greyed out. doing Ctrl I and selecting Protection shows file as Locked(no password) and all options to unlock are greyed out. Any ideas how I can sort this out?

    You appear to have done everything right.  I doubt that being on the network would be a culprit. 
    You've probably mapped the drive, right?
    Did you even save it with the Locked property?  
    I am wondering if someone else had access to one of your PC's and played a trick on you.
    I tried a test VI and I can open the block diagram.  See image below (composite of 2 images)
    Message Edited by Ray.R on 11-20-2009 10:31 AM
    Attachments:
    locked.PNG ‏37 KB

  • Open Block Diagram After Deployment on a Non-LabVIEW PC

    Hello all,
    I have a application created in LabVIEW which will be deployed on a PC which does not have LabVIEW Development System installed in it, but only the RTE. With this application, I am also deploying the dependent VIs in a separate folder.
    My question is, is there any way we can open the BD of these dependent VIs in Highlight Execution mode on such PC with no LabVIEW Development System installed? I just want to view the BD of the VI in highlight execution mode, I don't want to edit/make any changes to the VI. Then obviously, we would be needing the LV development system.
    Since I've left block diagram (allow debugging) option enabled before deployment, I hope there must be some way we can acess the BD in highlight execution mode. I know that BD get image property works in PC with no LabVIEW Development system installed, so there must be some way or other to access the block diagram in highlight mode.
    Can anyone try to help in this?
    Thanks in advacne!
    -FraggerFox!
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"

    You can't do it on a PC without the development environment.  If you have debugging enable in the .exe, you can connect to it remotely over the network from a PC with the development environment to watch the execution.  Look for "remote panel connection" under the tools menu.

  • Generating a report w/ block diagram & programatically specified case structure?

    Hi,
    I am trying to generate a report that shows the block diagram for a programatically specific case structure.
    The case structure has ~90 cases and is selected by a custom control.
    I'm on Labview 8.5
    I've found with the Append Block Diagram to VI, I can print out all of the cases (setting hidden frames to true), or just one case. However, I cannot select which case it shows, it always prints out whatever case has been manually selected on the block diagram, but I want to be able to programatically select it.
    I've tried to do the same thing by opening a vi reference, and using BD.Get Image Scaled, and cannot get that working as desired either. I've also tried setting the value of the control before getting the image, but that doesn't help.
    Any thoughts?

    Probably.
    This VI is backsaved to 8.5 and has the basic functionality. I don't know if the traverse VI shipped with 8.5, but hopefully this should be enough. If not, LAVA has info on how to access the scripting features in older versions (although less between 8.0 and 8.6).
    Try to take over the world!
    Attachments:
    Visible Frame.vi ‏10 KB

  • Missing objects - block diagram

    Hello!
    So... My program it's working fine, but it seems that I cannot see some objects in the block diagram (see the attached image), even if they're working fine. do you know how to show them? because I would like to change something and I don't know how to do that!
    I've seen also that if I try to run the clean up diagram function for the whole program labview crashes!
    I'm working with labview 2010.
    thanks!
    bye!

    I'm sorry, I forgot to attach the file! Here in this image you can see how it appears (left) and how it should be (right)!
    Thanks!
    Bye!
    Attachments:
    Image.JPG ‏87 KB

Maybe you are looking for