LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Champion CLA

Making senseless computers do
intelligent real world things
is NOT easy. SO MAKE IT FUN!
0 Kudos
Message 1 of 2
(3,484 Views)

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
mballa@sbcglobal.net

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

Champion CLA

Making senseless computers do
intelligent real world things
is NOT easy. SO MAKE IT FUN!
0 Kudos
Message 2 of 2
(3,377 Views)