Icon Editor Bug/Feature?

In the linked video, I am showing a puzzling behavior of the icon editor (LV 2012 (12.0f3, Windows XP 32 bit):
I have two lines of text defined in the Icon Text tab. The second and the third lines, the other two are empty.
I am trying to draw a frame around them.
If I draw a large frame (in green in the video), things behave as expected (that is everything remains put).
If I draw a narrow frame (my initial intent, in red in the second part of the video), the text jumps up. Not expected (maybe intented, NI will tell me).
Notice that id doesn't matter that I am using line 2 and 3. The behavior also occurs if I move my test to line 1 and 2 instead.
Edit: Actually, while checking that the video was playing correctly from the link, I noticed that the first case is not as I intended it to be, as the jitteriness of Jing (which I used to capture this video) prevented me from drawing a full frame box. The result is that the first line of the text actually also jumps! If I draw a full frame, this does not happen.

The jump occurs in 2009 and 2011 as well.  It also seems to be related to whether the box you draw hits the bottom row of pixels or not.  It doesn't seem to matter much whether the box is wide or narrow in the left/right direction.
It also seems to be related to whether you have a background template defined.  It tries to squeeze the text data into the boundary of the background template, and if a background template is not defined, then it becomes that much more confused as to where it squeezes the text.  It uses other non-transparent pixels (such as the box you draw) to determine the vertical positioning of where to squeeze the text.
I don't think it is actually a bug.  I think it is an artifact of other code that calculates where to put the text when that code uses inputs that haven't been defined within your icon.  As you add those other inputs (turning other pixels non-transparent), it is a recalculation of where to position the text.

Similar Messages

  • Icon Editor bug - random rotations

    While editing icons with the new icon editor in LV 2009, I keep finding that my icon (or selection, or layer) rotates when I type the letter "r" into a layer name.  Are others seeing this?  What tool do I need to have selected to avoid this?  I've installed the icon editor update and this bug is still there.
    Also, is there some way to define the default VI Icon layer to be something other than a white square with a black border?
    Solved!
    Go to Solution.

    I have noticed this, too.  In fact, it's pretty easy to reproduce.
    Open the icon editor and show the layers page.  Now select a layer.  At this point pressing "r" should rotate the layer, which makes sense.
    Now, click in the layer name, which un-highlights the layer, and any time you type an r it will rotate.
    There are some other issues with rotate: if a selection or layer goes outside the icon canvas, it will be trimmed permanently (not so great if you wanted to flip it 180 degrees).
     As for changing the default icon background, I'd suggest making some templates for general use. You can save templates from within the Icon Editor. The first thing I do when editing an icon is delete the default layer and select a relevant template I've made.  Or you can just use the filled rectangle too.  If there is a way to change the default icon, i'd be interested in finding out.
    -Barrett
    Message Edited by blawson on 11-12-2009 03:27 PM
    -Barrett
    CLD

  • Custom icon editor BUG

    If you use a custom Icon editor (as shown here and here), and you want to create a smaller Icon this will be meaningless.
    Because the lv_icon interface only allows you to generate the 2-colour and 256 colour icon. The 16 colour icon will be untouched so the total size of the icon will still be 32x32 pixels.
    I consider this a serious bug in the lv_icon customization scheme.
    Ton
    Message Edited by TonP on 01-02-2008 08:59 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

    I thought I had a CAR...
    But unfortunatly I can't locate it, so I assume their isn't any.
    Could you supply us with one?
    Thanks,
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • 2013 Icon Editor bug?

    I searched and did not see this listed as a bug, but I seem to have issue anytime i used the Icon Text feature versus just using the Text tool.
    2013 SP1
    2012 SP1
    Solved!
    Go to Solution.

    I hate to say it, but it looks really funny, as if all the lettering on the marquee fell off. 
    Sorry, this was an absolutely non-contructive post.
    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.

  • Icon Editor Bug (2010): Using icon editor degrades sub vi performance

    Here's an interesting bug I've spent the last several days chasing around.
    After editing a vi icon calls to that sub vi take longer until you close the project and reopen it.  I think it's related data copies being made for instances the IE opens, but without any knowledge of IE internals I'm just speculating.
    See the Main.vi block diagram in the attached project for repro steps.
    Attachments:
    IconEditorBug.zip ‏152 KB

    jareds wrote:
    Hi crelf,
    The CAR number is 275888.
    Thanks jareds.
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • Bug in Icon Editor?

    I was editing a VI in LV 2012 yesterday and modifiying its icon.  I came across some odd behavior I would consider a bug.
    I searched the forums and haven't found it being mentioned before.  I tried it today using LV 2013 and had the same behavior.  I have yet to try older versions.
    See the attached VI.
    In the icon editor, I made a layer invisible.  I didn't want to delete it yet, but I also didn't want to see it while I was creating a new layer on top.
    I hit OK and the icon was saved within the VI.  It appeared just the way I wanted in terms of what layers I could see and which I turned off.
    I edited the icon again to make a small change and hit OK.
    Now the icon shows the layer I turned off !
    I edited again, turned it off, hit OK, and it was like I wanted.
    Edited again, and found the Visibility was turned on for all the layers when the icon was loaded back into the editor.
    This is certainly unexpected and unwanted behavior.  I expect that layers that I have turned off to stay turned off when I reopen the icon editor.
    Two VI's are attached.  The demo I created in LV 2013.  And one saved back to LV8.0 so that it can be tested in older versions.  I know that for a VI and icon created in LV2012 gave me the same unexpected behavior.
    Solved!
    Go to Solution.
    Attachments:
    IconEditorBug.vi ‏16 KB
    IconEditorBugLV8.vi ‏15 KB

    CAR 407147 discussed in this thread was fixed in  LabVIEW 2014.  For a more complete list of bugs fixed in LabVIEW 2014, check the LabVIEW 2014 Bug Fixes. You can download an evaluation copy of LabVIEW 2014 at http://www.ni.com/trylabview/ or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.
    Regards,
    Jeff Peacock 
    Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect 

  • Text based VI Icon editor with letter compression

    For anyone who is looking for a quick and easy text based icon editor I've posted my latest version in the LAVA CR
     http://forums.lavag.org/downloads.html&showfile=56
    Description:
    This is the second version of my vi icon editor and was created in LV8.2. The purpose is to help quickly create text base icons. The editor can be used in place of the standard NI icon editor or as a stand alone vi. see instructions. My original posting of the icon editor Ver. 1 can be found here
    LabVIEW 7.0,7.1 http://forums.lavag.org/index.php?s=&s...ost&p=19022
    LabVIEW 8.0 http://forums.lavag.org/index.php?s=&s...ost&p=12920
    Instructions:
    1: The icon editor was designed to be used as a replacement for the standard NI editor LV8.x only. To get LabVIEW 8.x to use the editor place the three files (lv_icon.vi, color templates.bin and the folder lv_icon_Subvis) in the LabVIEW 8.2\resource\plugins directory.
    The next time the icon editor is called LabVIEW will use the lv_icon.vi instead of the standard one.
    There is a button on the editor that will allow you to use NI’s editor when a text icon is not desired.
    2: The icon editor can also be called from another vi or used as a stand alone tool. Make sure the “From Editor” control is set to false either via terminal in the lower left corner of the connector pane or manually in the FP. This setting indicates to the vi that a vi reference will be used to extract and save the icon information. If the “VI REF” input control is invalid at runtime a dialogue box will appear asking the user to select a vi.
    New features:
    Along with the auto drawing and Text compressing from version 1, version 2 has 2 new features.
    1: In addition to the 2 color format in version 1 the icon editor now supports a 5 color format (Frame, Header text, Header Back, Body Text, and Body Back). This is the standard frame that many programmers use.
    2: In version 2 the last 10 icon color sets are saved in a binary file and are recalled each time the editor is open. These color sets can then be selected and reused.
    Future Ideas and improvements:
    A graphics picker that would import a list of graphics to choose from
    Template creators were text zones could be created to avoid interfering with graphics.
    Incorporate some or all of the Ni editor functions.
    Text extractor that would fill in the text boxes from the icon image.
    Please feel free to give me feedback. This version has benefited greatly from ideas given to me by coworkers and other programmers.
    License:
    Creative Commons Attribution 2.5 License

    For anyone who is looking for a quick and easy text based vi icon editor I've posted my latest version in the LAVA CR
    http://forums.lavag.org/index.php?automodule=downloads&showfile=56
    File: Mark Balla Icon editor V2.2
    Author: Mark Balla
    [email protected]
    Description:
    This is the newest version of my vi icon editor and was created in LV8.2. The purpose is to help quickly create text base icons. The editor can be used in place of the standard NI icon editor or as a stand alone vi. see instructions. My original posting of the icon editor Ver. 1 can be found here
    LabVIEW 7.0,7.1 http://forums.lavag.org/index.php?s=&s...ost&p=19022
    LabVIEW 8.0 http://forums.lavag.org/index.php?s=&s...ost&p=12920
    Instructions:
    1: The icon editor was designed to be used as a replacement for the standard NI editor LV8.x only. To get LabVIEW 8.x to use the editor place the three files (lv_icon.vi, color templates.bin and the folder lv_icon_Subvis) in the LabVIEW 8.2\resource\plugins directory.
    The next time the icon editor is called LabVIEW will use the lv_icon.vi instead of the standard one.
    There is a button on the editor that will allow you to use NI's editor when a text icon is not desired.
    2: The icon editor can also be called from another vi or used as a stand alone tool. Make sure the "From Editor" control is set to false either via terminal in the lower left corner of the connector pane or manually in the FP. This setting indicates to the vi that a vi reference will be used to extract and save the icon information. If the "VI REF" input control is invalid at runtime a dialogue box will appear asking the user to select a vi.
    Version 2.1:
    Along with the auto drawing and Text compressing from version 1, version 2 has 2 new features.
    1: In addition to the 2 color format in version 1 the icon editor now supports a 5 color format (Frame, Header text, Header Back, Body Text, and Body Back). This is the standard frame that many programmers use.
    2: In version 2 the last 10 icon color sets are saved in a binary file and are recalled each time the editor is open. These color sets can then be selected and reused.
    Version 2.2:
    Along with the all the features from version 2.1, version 2.2 has several new features.
    1: A new color picker was added. The standard NI color picker has been replaced by one that will only show the legal 221 colors allowed by LabVIEW for icons.
    My thanks to Justin Goeres for the idea.
    2:Key navigation has improved. The key navigation will only set focus to the text boxes to navigate between boxes use the tab, enter, up and down keys.
    My thanks to boone_93 for the idea.
    3:Improved UI. The buttons and current and previous icons have been relocated for a more intuitive look. I have also added tip strips to the buttons and history array.
    My thanks to ahull for the idea.
    4:Random color picker. A random color button has been added to help pick colors.
    My thanks to Dave Graybeal for the idea.
    5: FP auto centers. The icon editor will now open in the center of the primary display.
    My thanks to tcplomp for the code.
    6: The ability to read the text in the icon was added. If the icon to be changed was previously created by this icon editor the program will automatically detect the characters in the icon and convert them back into strings. This function allows for small changes like color changes and spelling mistakes to be changed without having to type all the text over.
    This one was all mine.
    7:Bug with Panel close fixed. When the user presses the x in the upper right corner the editor will shut down gracefully instead of locking up.
    I made a avi file that shows some of the new features for Version 2.2 which I posted the support thread.
    Please feel free to give me feedback. This version has benefited greatly from ideas given to me by coworkers and other programmers.
    License:
    Creative Commons Attribution 2.5 License
    Attachments:
    picture of editor.png ‏47 KB

  • LabVIEW2009: How to replace new Icon Editor with old one?

    Colleagues,
    I really don't like the new icon editor introduced in LabVIEW 2009:
    That was nice attempt to make "embedded Photoshop" with lot of features:
    But I really don't like it, because:
    - it opened EVERY TIME on the RIGHT monitor (I have three monitors, and primary monitor in the middle) 
    - it takes lot of time for launch (old icon editor was started momentally)
    - from usability point of view - it was wrong to place tools on the right side. Commonly they located on the left side (and only in old icon editor, but also in imageprocessing software like Adobe Photoshop). Also front panel UI design... hmmm... this can be better...
    - some bugs or changed functionality (for example - select ROI, then press <Del> button - nothing happened)
    etc...
    Is it possible to replace it with old one:
    Ideal solution will be - simple switch between both editors (some introduced features are not so bad).
    Thanks in advance, 
    Andrey.
    Message Edited by Andrey Dmitriev on 01-29-2010 11:00 AM
    Solved!
    Go to Solution.

    Go into <LabVIEW>\Resource\Plugins and rename lv_icon.vi. This is the plugin that's called when you invoke the icon editor, and if it's not there, LV reverts to the built-in editor (at least today. I'm not sure how many versions ahead they will keep the code).
    You should note that the editor is open source, so you can go in and change what you want (or save yourself time and use the changes others have made, such as PJM's thread here. You may also want to look at the other discussions in that group).
    Try to take over the world!

  • Excellent custom icon editor

    Hello All,
    Just thought I would share this little tool with the rest of the forum. It is a custom icon editor with a load of nifty features such as dragging template icons in and also storing pre-set icon layouts. I can't really describe it properly, its best experienced!
    It lives here, download and run the install VI (the whole tool is in G), then to use it just double click on the icon like you would normally do to edit it.
    There are a couple of things it can't do yet, but to work around this just press CTRL-. to abort the VI and then the normal icon editor will appear!
    Neil
    ps: Sorry if this is old news to some people, but I only discovered it recently and figured it may be helpful to others.
    nrp
    CLA

    Great, I managed to download it fine. Thanks.
    I followed your (careful) installation instructions, after losing my templates last time, and am pleased to say it all works as promised
    Although I didnt need to back up the ini file as your installer doesnt copy over that directory.
    I like the additional icons.
    Another feature request! (Tell me when you get sick of them.) It would be great to be able to use the cursor keys to move the Text around when using that tool (like in the NI icon editor), moving it one pixel at a time is very handy, as usually I dont put it exactly where I want to when I place the first character.
    Again, thanks on this excellent tool! I hope your manager at NI knows how good it is
    nrp
    CLA

  • How to use high resolution image as glyphs in icon editor?

    i want to use a hiigh resolution image in icon editor . how do i use it?

    Icons can be up to 32x32 px in size, so first you need to reduce the resolution of the image. Save as .bmp, .jpg or .png.
    From the icon editor, select Edit -> Import Glyph from File... and choose your image. Done.
    -Benjamin
    CLA

  • LabVIEW 2010 icon editor -- why is white not white

    OK, so I'm creating an Icon in LV 2010.
    I want a white background. 
    So I choose the white color in the palette.  But that doesn't quite look like white (a little darker than white).
    so I go get a custom color, and set it to 255/255/255 (R/G/B).  add it to my custom colors.  hover over it quickly with the mouse and see that it is actually 255/255/255.
    Then I go back to the actually icon editing, and make sure my color selection (foreground/background) is both WHITE (255/255/255).
    I draw a box.
    The box isn't white!!!
    the box is drawn with colors 246/246/246 (R/G/B) not 255/255/255!
    Go create another custom color of 255/255/254.
    Draw the box again.
    Box looks white, but it is actually 255/255/254 (what you would expect to get).  Close enough for me to use, so I can get on with making my icons, but I just need to remember to not try to actually set the color to 255/255/255 -- actually use something ever so slightly different. 
    Best I can figure out -- if you hover over a transparent section, you see the color go to 255/255/255, so LV must be using 255/255/255 as transparent.  But then it says that color is 255/255/255, and it's not, it's transparent.  So the color should be shown as T/T/T so I don't need to know the special magical decoder of 255/255/255 = transparent to see if one single pixel is transparent color or not.
    End of rambling and venting, and on to the real question:
    What's special about taking 255/255/255 white and converting it to 246/246/246 instead of something closer like 254/254/254?
    Solved!
    Go to Solution.

    The Icon Editor thinks it is doing you a favor, and it probably really is given the (perhaps outdated) method LV uses for transparency on the BD.  By design, any "white" on the outside of a BD object (ie. icon) is considered transparent and not part of the object as far as clicking is concerned.  I have also discovered the hard way that "white" means any pure grey (R=G=B) with R,G,B > 246.  Tweaking the B value is one way to avoid this (as you have discovered).
    You can get some very interesting effects when LV thinks your entire subVI is transparent.

  • Score Editor bug: syncopating a note disturbs line layout

    In the example below, the instrumental part with max 2 bars per line has been created with the Layout Tool, and then the selection saved as a Score Set ( which i hope locks all the page details in place).
    [img] http://i364.photobucket.com/albums/oo82/dogliege/Picture3.png [/img]
    I then noticed that the red circled note is not displayed correctly - it should be a dotted eighth note and duly click on it with my Syncopate note command.
    This then produces the following effect: it crunches up the bars and disturbs the line layout which was already set, cramming 3 bars onto the line above as in the example below.
    [img]http://i364.photobucket.com/albums/oo82/dogliege/Picture4.png[/img]
    Any solutions appreciated/workflow suggestions.. or is this just "..another L8 Score Editor bug.. wasting more of 2009"
    PS Any suggestions as how to get the images to display in the post - as opposed to appear a link? cheers
    Message was edited by: musicspirit

    i should be enjoying my holiday but i couldn't help myself...
    there are a couple of fixes for this.
    first, try cutting the regions somewhere to force a redraw.
    second, if no form of cutting or reformatting works, try copy and pasting the midi into a fresh autoload on the intel.
    particularly if the file was created pre 7.2. there can be compatibility issues between ppc and intel.

  • Missing tab in icon editor

    I'm pretty sure I'm missing a tab in my icon editor... 
    Can anybody tell me where my missing tab (forgot the name of it) has been gone to?
    Furthermore I can't synchronize with the NI icon library.
    The problems occured today for the first time. After I tried to synchronize with the NI icon library... So I guess it must be kind of related...
    Any thoughts?
    Just to be clear... I don't have any debug info since the icon editor does not give me any
    Solved!
    Go to Solution.

    You're missing the layers tab. Click layers--> show layers page.

  • Alternate Icon Editors for LV 2013

    I am trying to determine if there are any alternate Icon Editors that can be intergrated into LV 2013.  I recall a great editor that I used with 8.6 and another pretty good one that I was able to use with 2009 but from what I can find, there is nothing out there compatible with 2013.
    Using the default editors, My experience is that the readability of the text has degraded over the years as NI revises the editors.  Examples here:
    Actual LV 8.6 code wtih icons created with that version (Ignore broken items, old code that is missing things)
    Notice that the lower case text is readable which is nice when you have longer words you are trying to get fit into a small space.  "Bellows" will not fit using Small Fonts when typed in all Caps. The first part of the B and last part of the S are cut off.
    And now, some of these exact same icons re-created in LV 2013
    Using the default format (small fonts) there is a definite difference in the quality of the text.  In particular, compare the "ER3000" text.  It is pretty crisp in the old version but the zeroes are narrow and fuzzy in the new one.  The word "Control" is clearly identifiable above but could be read as Control or Central below.
    I know icons are not supposed to be used to document the full extent of a vi but given the continuing improvements in graphics capabilities, I would expect the clarity of the icons to improve over time, not degrade.
    If anyone knows of an alternate editor that I can try out in 2013, I am ready to do it.
    Thanks....
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

    Everything was set as default when creating new one.  Old one was created w/ built in editor in 8.6 from a few years back.  If there is a different font I can use that would appear better in the current editor I will try it but what little I did find was that the Small Font was the only one that would provide useable results.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

  • Glyphs in icon editor : gone

    Ok- so I just opened my icon editor in 2013 and noticed my glyphs have dissapeared entirely.
    I found these while searching:
    http://forums.ni.com/t5/LabVIEW/Icon-editor-no-glyphs/m-p/1302384/highlight/true#M536775
    http://forums.ni.com/t5/LabVIEW/Glyphs-no-longer-appear-under-glyphs-tab-in-icon-editor/td-p/1391478
    I tried the "syncronize with ni.com" and I get this:
    http://imgur.com/bEOK8gU
    My Glyphs folder in LabVIEW Data dir is no longer read only...
    I downloaded the glyphs zip from ThSa (5th msg in the 1st thread I linked to) and got the ones from his zip to load, but I'm still missing most...
    where o where have my glyphs gone?
    Thanks for any help!
    -pat
    EDIT:  I didnt mention the lead in the one post linking to the NI library itself - I couldnt get the link to work at first, but now I got it- I guess I was too quick to post.
    sorry for the repost.  http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/synchronizing_icon_library/

    I have attached a more uptodate glyph folder (assuming you just want the NI ones and don't have a load of custom ones).
    Try adding to My Documents\LabView Data\Glyphs
    Attachments:
    Glyphs.zip ‏1159 KB

Maybe you are looking for

  • No memory available on a SUP720-3BXL with 1GB RAM

    Hi, any advices what to do if all RAM of the RP is consumed? r1-core#show log Sep 17 03:38:13.999 CET: %OSPF-5-ADJCHG: Process 8877, Nbr 10.100.205.246 on Vlan60 from FULL to DOWN, Neighbor Down: Dead timer expired Sep 17 03:38:20.715 CET: %OSPF-5-AD

  • How to save files in the filesystem and remember their position?

    This is a fairly novice question. I'm writing a Java desktop application which executed from the jar (actually a jnlp) will first run a setup creating some files in a directory of user choice. When the application runs, it'll requires access to those

  • I rented a movie and it keeps stopping

    i rented a movie off itunes and it keeps stopping every 30 min and takes for ever to play again, i have re launched my itunes many times but it wont help. how do i fix it?

  • 802.1x/EAP-TLS Fragmentation across VPN tunnel

    I am having an issue authenticating users via 802.1x/EAP-TLS across an IPSec tunnel. I am using route-based VPN with SVTI configuration on a 2921 and 1941. I have the following settings defined: - Under the tunnel interfaces: - MTU 1390 - MSS 1350 -

  • Question on Upgrade Process

    I have two GW12 servers, one with the primary domain and po the other has a secondary domain and gwia and dva (Windows 2008R2). Can I have both servers agents down when I upgrade the primary domain/post office to GW2014 and then upgrade the secondary