Current Position:Home > Text based VI Icon editor with letter compression

Text based VI Icon editor with letter compression

Update:10-11Source: network consolidation
Advertisement
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

The Best Answer

Advertisement
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
  • Text based VI Icon editor with letter compression Update:10-11

    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

  • Select text based on format (free form style text) Update:10-11

    As suggested by Apple, I'm trying to create my first ePub using Pages as opposed to inDesign. I only have a PDF as a source file and don't want to re-type all the text. When I copy the text from the PDF and paste to Pages, the text comes in with the

  • 23" Cinemadisplay HD won't show text based graphics. Update:10-11

    Hi. I have recently purchased a 23" Cinemadisplay HD that had been left on the shelf in a local electronics store (from early 2008, with the aluminum frame and stand) that I'm using on a PC running Linux. My graphics adapter is an nVidia 6800 AGP8X c

  • How to make an a basic attack in my text based game Update:10-11

    hey guys! i really need some genuine help on how to create an attack for my monsters and player. the attack should be basic: if the room contains a monster, then the monster attacks when the player goes inside the room. then the player can type a com

  • Ideas For A Text-Based Game Update:10-11

    I tried working on Graphics a while ago, but I didn't have too much luck with that ;) Just wondering if anyone here has any ideas about a 'fun' text-based game, that wouldn't be really based on RPG style stuff, because I don't really want to bother w

  • Ideas for text based budget management and software Update:10-11

    I'm looking for suggestions for text-based software or just basic scripts for tracking expenses. For the last six months I've been recording my purchases in text files, one file for each month. An entry looks like this: 01/01/2013,Schnucks,banana, gr

  • Can we restrict the printing of PO Item text based on PO types? Update:10-11

    Dear Experts, We have a requirement related to printing of PO Item Text. We need to print a perticular Item text  only for a certaing PO type (ex:  NB only). How can we restrict the printing of PO Item text based on PO types? Please advise. Regards,

  • Reminder for text based PO's on plant level or purchasing org. level? Update:10-11

    Hi, I work for a corporate company and we have in our system arround 100 different plant codes (of more or less different companies). My problem is now, how to set-up the reminder in part of text based purchase orders for the different plants? Or dif

  • IChat AV - how do I get rid of it? I want text-based iChat. Update:10-11

    iChat has been working just fine for me, I have had no complaints, and I really like it over A.I.M. However, now when I try to start iChat, it brings up iChat AV. I didn't install it, it just came up by itself. I do not know where it came from. I go

  • Customize Line Items Details Loading for Multiload TEXT-Based Update:10-11

    Hi all, has anybody customized HFM adapter to enable line item details loading for Text-based multiload files? Is it possible? ThanksBut then we wouldn't have one text multiload file but several text files that will be converted into several .dat fil