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 

Similar Messages

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

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

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

  • 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

  • Bug in New Editor?

    Hi,
    We have been upgrading from 4.7 to ECC6 . Currently we are collecting various bugs related SE38 Editor, If anybody face any bugs related new SE38 editor. Please paste it here. Your response will much helpful to me to create a list of bugs in editor.
    Your help is appreciated.
    Thanks

    Hi,
    I am giving few more thread related to this , May this will be useful for others also.

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

  • 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

  • Icon editor sneaks to 2nd monitor

    A WindowsXP setup with primary monitor as portrait and secondary as landscape orientation. 
    But in LabVIEW 2009 the icon editor always appears on the 2nd screen.  Most of the
    time my 2nd monitor is off but thankfully I turned the 2nd on just to discover this behavior.
    Is there an ini file setting to make the icon editor always appear on the primary screen?
    Thanks in advance
    Solved!
    Go to Solution.

    Hi Odd_Modem,
    I hope the Icon Editor is working properly now. Please mark GerdW's post as the solution. I've followed the link and verified that it fixes the issue.
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • LV 2009 Icon Editor Turned to Previous Version

    Hello!
    I just want to ask if someone has encounter a strange behavior of "ICON EDITOR". When I opened my editor, it showed up about half a second or so then disappear and violllllla!!! the old editor came up. Really strange because I've just used it earlier today... If anyone know how to bring it back please kindly post the "how-to".
    Thanks in advanced!!
    KowdTek
    LabVIEW 2009
    One Step At A Time, Maybe Two...
    Solved!
    Go to Solution.

    Check the LabVIEW Data folder in 'My Documents'. If it is set to read only, the icon editor doesn't work.
    Usually this is a sign for it, when the Icon Editor is displayed for a brief moment.
    The IE is open source. If the LabVIEW data folder is not write-protected, navigate to LabVIEW 2009\resource\plugins\ lv_icon.vi and check whether the IE is executable at all.
    Thanks,
    Tom 
    http://www.newgistics.com

  • Icon editor VI

    I'm using LV2009. I don't know why, but the icon editor doesn't work. So, I check the incon editor VI. As you can see the screen shot, there is an error, which I don't understand.
    It used to work until a couple of days ago. Could anyone tell me what's going on there?
    Thanks,
    Jay

    Hi Jay,
    If you open context help and hover over the broken wire, what does the window say?
    You can repair LabVIEW by going to Add/Remove Programs in the Control Panel.  Select National Instruments Software and click "Change/Remove".  In the window that opens, search for LabVIEW 2009 and then select Repair.  You'll need the disks/installation files to complete the repair. 

Maybe you are looking for

  • FTP Adapter stops polling on updating descriptors in BPEL Console

    I have a bpel process activated by a file in a FTP dropzone. An FTP Adapter listens to this dropzone. I have set up a few preferences (Deployment descriptors) for this process. Once when I update any of these user defined preferences, ftp adapter sto

  • Asset Reconciliation Account

    Hello Experts- I fell in a tricky situation at my work place. We have an asset reconciliation account which has a balance but, this balance does not correspond to any asset. When SAP Fixed assets was implemented here, they had a balance for this acco

  • HT3910 Where is my bundled applications install disc?

    I have been advised that I need to reinstall Snow Leopard.  I have purchased the boxed install DVD, though the original install was done by a community pro.  The online instructions for reinstalling SL ("HT3910: Mac OS X v10.6 Snow Leopard: How to Er

  • EMac seems slow - Do I need/can add more memory?

    I have an eMac 1GHz PowerPC G4. It's already about 4 years old, so I have collected alot of music, pictures and files. It seems that now it takes a little longer to respond. I constantly get the rainbow swirl thing waiting for files to open. It defin

  • WRT54GS Router and NAT 3 PS3 Problems

    Ok. I need a lot of help. And yes. I used the search option prior to posting this topic and none of it answered my questions. I did try a few tips I saw firsthand at these topics but it still didn't solve my Nat 3 Problem. Heres my ps3s setup basical