Custom Icon Size on Block Diagram

Is it possible to create smaller ICONS on the block diagram?  I would like one of my sub VI's Icon to be the same height as a singe array element (or upper to lower case conversition function).
Thanks,
Paul

Yes,
They trick is to make sure all three version of the icon (including B&W) are all the same foot-print.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Cannot place custom subVI on the block diagram

    When I press the "Select a VI..." button on the function palette and select the VI I want to place on the block diagram nothing happens. This only seems to be happening for two particular VIs. Most of the time I can place the custom subVI without any problems.
    Is there some option that could have accidentally gotten set that does not allow a VI to be placed on another VIs block diagram?
    Please let me know if there is any way to fix this problem.
    Thank you,
    David R. Asher

    David,
    What you sent me has a .ctl file extension. The ctl extension is for LabVIEW custom Controls, not VIs. Even though it is actually a VI, the wrong extension must be confusing LabVIEW and not letting it load. It's probably trying to put it on the front panel since that is where controls go.
    If you change the ctl extension to vi, it works as it should.
    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.

  • Can we edit the icon that represents our XControl on the block diagram?

    I created an XControl in LabVIEW 8.5 (and 8.2.1), and I did add custom icons to all the typedefs and VIs associated with it.  However, when I drop it on the front panel, I get a generic-looking icon representation on the block diagram.  However, when I create a simple typedef and drop that on the front panel, I get the typedef's icon framed in the datatype-specific border on the block diagram.  Perhaps I missed something about how do edit that guy.  It's a minor issue, but I'm curious.
    Thanks,
    Dan Press
    PrimeTest Automation

    Right click the XControl itself in the project and select Properties. There you'll see an icon that can edit, which will show up on the XControl on a block diagram.
    ... Michael beat me to it!
    Message Edited by Jarrod S. on 08-17-2007 04:39 PM
    Jarrod S.
    National Instruments
    Attachments:
    Icon.PNG ‏2 KB

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

  • Custom Icons Disappear in Cover Flow Above Certain Size

    I've been trying to create custom icons for certain folders and I've been having no luck when viewing them in cover flow.
    I've downloaded a PNG file, 512x512 pixels. Open it in Preview, copy to the clipboard, do a 'get info' on the folder I wish to change the icon of, click the little icon, hit paste, and it appears correctly in the preview and in the finder Icons view, as well as on my desktop or whatever. However, if I turn on cover flow and drag the size of cover flow to larger than a certain point, the custom image disappears and all I get is a blank spot. It's as if the 256 pixel icon is being created but the 512 pixel image is being left blank.
    I do not know if this happened in 10.5.1, as I hadn't tried until after installing the 10.5.2 combo update.
    In the following picture, you can see 1: bottom right, a preview of the png file itself as it appears, correctly, in cover flow, 2: top right, the icon working correctly on the desktop and in the get info window, and 3: left: the cover flow view of the computer showing a bit gaping void where the custom icon should reside.
    !http://www.ece.ualberta.ca/~tomlinso/argh.jpg!
    Any ideas? Thanks in advance!

    This does NOT happen if I use an existing, working icon (say, put the Applications folder's icon onto my hard drive.) It seems to be an issue with custom icons only, not just changing the icon for something.

  • How do I automatically make new front panels and block diagrams a certain size and screen position, like able to fit on a 1024 x 768 screen?

    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?

    bmihura wrote:
    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?
    It doesn't mean the default size of the window. It means once your code is complete, your block diagram should be small enough that you can see all your code when its on a monitor of that resolution. Before you test, set your computer monitor resolution to 1024x768. Write your code. If all the code on your block diagram can be seen without scrolling, you will be fine. They won't measure this explicitly. They are basically just saying "you shouldn't have a huge block diagram."
    CLA, LabVIEW Versions 2010-2013

  • Is it worth it to make custom icons for a custom control/indicator?

    I was making custom icons (well not very custom, but still at least somet ext) for controls and indicators, when I realized that the only times you see them are when you open the control, itself, ot if you hover over it in the project with context help on.
    So the question is:
    Is it worth it to create a custom icon for each custom control you make, if it will be seen only rarely?  (The exception being a cluster, since, in the later versions of LabVIEW, you can actually represent your cluster on the BD as the icon you made for it, so it definitely IS worth it to make an icon for it.)
    Thanks!
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
    Solved!
    Go to Solution.

    Hooovahh wrote:
    I'd like to add another time that you see the control's icon, is when it is a type def cluster, and you have it as a constant on the block diagram.  Then double click the border to shrink the cluster.  It will shrink to the size of the control's icon.
    I also hardly ever make a control icon.  Only when it is on the palette in a reuse package.
    Yeah,t hat's what I meant in my original post, although you CAN represent a cluster constant on the BD as an icon - but it's just the little thing on the bottom of the typdef'd cluster because it obviously has no actual icon. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Block diagram, front panel messed up

    Why do block diagrams and front panel controls get bunched up and screwed up when you open vi's on different computer with different labview versions.
    Can anything be done to prevent this?
    Does everybody have this issue?
    Thanks,
    Dustin

    You can _try_ to address this issue by right clicking on the vi's icon when it is open in the edit mode, select "VI properties", select "Window Size". Under this selection there are two selections that   _may_  help, they are supposed to partially address the issue you are describing. I never had much luck with them in the past, have to admit I have tried them in a while, try to find out what the target system's resolution is and develop the code in that resolution.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Zoom in on Block Diagram

    How do I zoom in on a small area of the block diagram?

    canyonbreeze wrote:
    2 years later I'll just add that this is a deal breaker for me.  The block diagram symbols are too small for my old eyes.  Changing the screen resolution isn't an option.  I'm only using evaluation version right now to analyze Labview code we inherited from a closed down branch of the company.  I'm leaning to rescripting the program in C# and dumping Labview, less headaches from eye strain.If 
    If it's just a size-of-icons issue and not a bad-code issue, there must be a windows zoom utility out there you could use. I'm not sure if there is one, but I'll make the assumption someone has done it.
    CLA, LabVIEW Versions 2010-2013

  • Typedef constant icon size

    For starters, I'm using LV2010.
    I have a typedef that I gave an icon, for block diagram constants.  This works great, until you want to make a smaller sized typedef.  If you make a VI icon half sized, your block diagram icon is half size, but if you do the same with a typedef, you still have the huge pink border at full size.
    Is this just me, or is this standard?  Should it be changed?

    Here's a VI with the problem shown.  If you look into the Block Diagram, the typedef constant is still the huge (relatively) icon.
    Attachments:
    Control 1.ctl ‏8 KB
    typedef icon size example.vi ‏7 KB

  • 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

  • Block diagrams messed up: Win 7 or LabVIEW 1012?

    Hi, Everybody --
    We just got a new computer for the lab here, and I held off on installing LabVIEW 2012 until after the new machine was installed.  All of our computers have been running XP until the new one arrived; it's running Windows 7, and it now has LabVIEW 2012 loaded.
    The first time I opened a VI and looked at its block diagram on the new computer, I was floored by how lousy it looked.  Icons wereoverlapping, constants and controls were misaligned, the font sizes had changed, and, in general, the whole diagram was a mess.  I though it just might have been that one, so I opened others and they all look like they were put together by 5-year olds.  (No, I can't drink at work.)
    Is this a Windows 7 "feature" or something new with LabVIEW 2012?  I haven't had a chance to install or work with 2012 on the remaining XP computer, so I can't do any comparisons here yet.
    I have a LOT of VIs written now, and the thought of having to redo all of them so they're readable is giving me the bad kind of palpitations.  Is there some way to fix this problem without slogging in and doing all of the realigning, etc., manually?
    Thanks a million for your time...
    Mark
    Solved!
    Go to Solution.

    Hey, RavensFan!
    Thanks for the quick reply.  I was afraid it was something like that, but with nothing to compare it to, it was more of a shot-in-the-dark guess.
    I've changed a bunch of my VIs already, but I'm thinking that I'll mess with the .ini file and see if it'll reset them, too.
    I don't know if you remember, but you wrote to me last year and said that, if the Ravens went 15-1 and lost only to the Texans, that would be fine with you, as long as they got into the playoffs again.  Well, you were just slightly off with the season record, but it turns out that you were aiming pretty modestly about the playoffs!  Congrats, etc.!
    They've been making a big stink here in Houston these days about Ed Reed's not being honest about his injury situation.  Nothing is ever easy...
    Thanks again for the quick reply (as usual!) --
    Mark

  • Block diagram wont open properly

    I have written a big labview program for my application. I have been workig on it for 6 months. I keep adding the peice of code every day and save it with a new name every week.
    At one point when I added some code into my program, the block diagram started acting weird and wont let me work on the program easily. For If I add an add function, it would take time and insert this function a couple of inches away where I pionted my cursor. Another issue was that; if I add a while loop or for loop or any other structure it would take time and one added it would add a couple of inches away and expand the main program window (Block Diagram) too.
    since then, I started using my company's laptop to develop the code. I have no issues with that lap top till today.
    But now when I tranfer this program back to my desk top. It wont open the Block Diagram and wont let me edit it. When I try to open the block diagram. the window appear black out and the LabView stops working.
    Is this issure ralted to the graphics of my compute or any thing else? Please help me. Thanks
    Mansoor

    There is a maximum size that a VI can be. What that exact size is I don't know. It does sound like you have one HUGE VI. If that is the case you really need to think more about using subVIs. It will make your program much easier to maintain and extend.
    Also, rather than renaming it once a week you should consider using source code contol. Even if you are the only developer it is a much better way to manage your code. SVN is free and very easy to set up. If you do use source code control make sure you separate the compiled code from the source code. This is an option in the VI properties.
    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

  • Custom icons 'unclickable' in icon view & not shown in coverflow

    Hi,
    I just got off the line with Apple support, who couldn't solve my problem and then just told me that Leopard didn't support what I was doeing and thus that it was not there problem. Very un-apple if you ask me...
    Here's the problem:
    I create custom icons for my movies by pasting images (Jpeg's or what have you) onto the icon in the 'Get info' window of a file. This works fine, however when I view the files in icon view I can't select the file by clicking on the icon, only by clicking on the text below. Strangly enough this problem dissapears when I edit the icon size in the 'View options' to a size equal too or smaller then 116x116. At this point I can select the file without any problem.
    The same sort of happens in coverflow. Here I can't see the icon in coverflow if the icons are fairly large. Once I reduce the size of the coverflow bar too the point where the icons are very small the custom icons reappear.
    The make the matter even more strange this problem only occurs with files where I created a custom icon for since I had Leopard installed. All custon icons created under 10.4 work fine.
    This indicates too me that Leopard has problem with handeling the resolution of icons.
    Note also that Leopard stores icon images in different sizes. Try copying an icon image from the 'Get info' window, then launch Preview, then select 'File' and 'New from Clipboard'. You will see that there are multiple images here.
    Anybody know how to solve this?

    Getting the same stupid behavior here!
    I had a lot of customized Tiger folder icons but now i've got no good tools for customizing these new huge Leopard ones.
    I began using *Icon Composer* from the developer tools after doing the graphics in Photoshop, then using IconDroplet to get them into a form where i can copy and paste them between *Get Info* windows. What a pain.
    Now i discover this bit where they're not clickable once i replace them! I didn't know about the behaviors when making them big in *Cover Flow* and small in Icon view until i read this.
    I've been snooping around but i haven't found what needs to be tweaked where to allow them to behave properly.
    !http://img228.imageshack.us/img228/5186/scottdartve1.png!

  • Is there a way to add shapes to the shape library, and does anyone make a shape library for electronic block diagrams?

    Hello!
    I'm trying to use Pages or Keynote to make electronic block diagrams.  The shapes library looks like it would be perfect for the job, but the shapes are limited.  I know I can make a custom shape, but I live with slight brain damage, which means the mouse is NOT my friend.  If I try to make custom shapes, they look like a kindergartener's scrawl, so that's not a solution.
    All of the online forums I've been to so far say to use Visio (ick!) and if your desired symbol is not there, make it yourself.  Well, several symbols are not there, and the first paragraph explains why this is a non-starter.
    I would gladly pay some reasonable fee for electronic shapes, such as amplifiers, mixers, oscillators, etc. if someone made them.  But from the help file I can't even see a way to add those shapes to the Apple shape library, so I'm not sure, other than copy and paste, how to handle outside shapes.  Copy and paste is pretty labor intensive anyway, but if it's my only option, well, so be it.
    Any suggestions?  Aside from Visio, that is...
    Thanks!
    Jim

    Hi Jim,
    When you say the "Apple shape library" do you mean the Shapes button on the toolbar in Pages?
    I don't think there is a way to add to the Shapes in Pages. However, you can create a custom template with shapes that you frequently use. Save a document with your shapes then Menu > File > Save as Template...
    This will be saved in My Templates folder, and you can open it with Template Chooser. You will still have to Copy and Paste a shape into the document you are working on. No way around that!
    I don't use Keynote, so I may be missing something in your question.
    Regards,
    Ian.

Maybe you are looking for