LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> [CR] Vi, Vit, Ctl Icon and Description Editor, File Updated: 24 Nov 2006
martin@aerodynam...
post Oct 21 2006, 12:10 AM
Post #1


Very Active
***

Premium Member
Posts: 179
Joined: 19-January 05
From: Switzerland
Member No.: 1396
Using LabVIEW Since:1998
LV:8.20 ,8.0.1 ,7.1.1
Switzerland Switzerland Switzerland



File Name: Vi, Vit, Ctl Icon and Description Editor
File Submitter: martin@aerodynamics
File Submitted: 20 Oct 2006
File Updated: 13 Dec 2006
File Category: LabVIEW Development Environment

RUAG ICON Editor v1.7 - 24.11.2006
Copyright © 2006, Martin Hasler
----------------------
This is the currend RUAG ICON Editor for LabVIEW 8.x
Have a lot of Fun with LabVIEW wub.gif

Author:
Martin.Hasler
martin.hasler@aerodynamics.ch question.gif

Distribution:
This code was downloaded from:
http://forums.lavag.org/downloads.html

Description:
Copy the Files Icon.llb and RUAG-Icon-Editor.vi and description.txt into your LabVIEW 8.x/project/ Directory
If you start LabVIEW the next Time, the RUAG-ICON-Editor appears under LabVIEW Tools (Werkzeuge).

With the RUAG Icon Editor you can create or modify ICONS from Vi, Vit, Ctl and you can edit the Documentation. star.gif
The information about the ICON will be saved into the VI-Documentation.


=> First: Click "Load Directory"
=> Click "Tree-Control" to choose your VI to modify.
=> You can modify the colorsets by Editing the Color_Set.vi in the Icon.llb. Do not forget to click on: Save current values as default.

=> DO NOT USE THE FOLLOWING SINGN IN THE TITLE OR BODY!! § :!:

=> Dobble -click your VI in the "Tree-Control" to open the VI.

Support:
If you have any problems with this code or want to suggest features:
http://forums.lavag.org/CR-Vi-Vit-Ctl-Icon-and-Description-Editor-t4471.html

Version History:
V1.0 The Original Version 1 was made by Pascal Helfenstein phelfens@fhzh.ch
V1.1 You can reload the old Icon.
You can Choose Color Sets.
Help button.
Changes will be saved into the VI documentation.
V1.2 You can Edit Icons in llb
You can Edit Icons from *.vit, *.ctl, *.vi
V1.3 The Pictures (New Icon, Old Icon etc.) are bigger
Bug Fixed that you have to press "Write Icon" twice for Vi's which are in a Project.
V1.4 More Documentation, (BD & FP) "Straighten the Code"
V1.5 "Edit Documentation" included
V1.5.1 Rearranged all Buttons. If you edit the Icon the first time, text=black, Title and Body= white
V1.6 If the entered ICON text is too long it will be cutted automatically.
Automatically add and remove Tags < B > and to the Description. (Preview included)
Rearranged Buttons
V1.7 An Indicator is blinking and the cursor is set to busy while the tree control is updated
Bug solved with old tree control paths
Automatically generate a Description with Username, Date, CTL Inputs and Outputs if they are connected to the connector pane (including their description)
Open Frontpannel and Blockdiagramm by right-click to the Tree CTL or LLB-Content
Frontpannel optimiced fot 1024*768 screen
License:
Creative Commons Attribution 2.5 License

Click here to download this file

--------------------

Happy Wiring! (User defined "Swiss Wire Class" for neutral data only!!!)


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Oct 21 2006, 12:10 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Michael_Aivaliot...
post Oct 26 2006, 03:51 AM
Post #2


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2367
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


This is a nice tool. It will help the LAVA members edit their VI's before submission to the Code Repository! Hey, we're dogfooding ohmy.gif .

Some issues and suggestions:
  • When I click load directory, the second time, it doesn't remember my previous folder I navigated too. It would be nice if it took me to where I was before.
  • During navigation of the tree I got a pop-up error. I forgot to get a screen capture. The message said something about not being able to find the file: VI Path: \\windy1\wsw\LabVIEW\SW\Projekte\DIVERSES\ICON-Editor\SERVER-ICON-Editor.vi
  • During text entry, there is no limit of the body fields. This causes the Icon to compress when too much text is entered. I recommend an autocalculation and a text entry hardstop if too long.
    Attached Image
  • When editing thr VI description, it would be nice to be able to resize the window.
  • When editing thr VI description, it would be nice to have a button that when you select a group of text you click a button "Bold" and it would wrap the text in tags automatically.
  • The Reload old Icon does not work if you edit the icon, save it then doubleclick the VI to open it. You cannot reload old icon anymore. It's gone?
  • It would be nice to have the ability to apply the colorset to a group of VI's at once.
That's it for now. Keep up the excellent work!

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
martin@aerodynam...
post Nov 9 2006, 07:24 AM
Post #3


Very Active
***

Premium Member
Posts: 179
Joined: 19-January 05
From: Switzerland
Member No.: 1396
Using LabVIEW Since:1998
LV:8.20 ,8.0.1 ,7.1.1
Switzerland Switzerland Switzerland


QUOTE (Michael_Aivaliotis @ Oct 26 2006, 04:51 AM) *
This is a nice tool. It will help the LAVA members edit their VI's before submission to the Code Repository! Hey, we're dogfooding ohmy.gif .
...
That's it for now. Keep up the excellent work!


Hello Michael
Thanks for your suggestions.
Update: Following suggestions are implemented and the bug with the tree control is solved (Version 1.7)
* During navigation of the tree I got a pop-up error. I forgot to get a screen capture. The message said something about not being able to find the file: VI Path: \\windy1\wsw\LabVIEW\SW\Projekte\DIVERSES\ICON-Editor\SERVER-ICON-Editor.vi
* During text entry, there is no limit of the body fields. This causes the Icon to compress when too much text is entered. I recommend an autocalculation and a text entry hardstop if too long.
Attached Image
* When editing thr VI description, it would be nice to be able to resize the window.
* When editing thr VI description, it would be nice to have a button that when you select a group of text you click a button "Bold" and it would wrap the text in tags automatically.


*When I click load directory, the second time, it doesn't remember my previous folder I navigated too. It would be nice if it took me to where I was before.
=> In our company we call the Icon editor over a vi-server call (SERVER-ICON-Editor.vi) from another vi from "TOOLS" so I can modify and update the ICON-Editor and I don't need to distribute it to all developers (Windows & Linux). Because of that, I don't like to save the last path, since it is not useful for us.
=>When I start the ICON Editor, the "startfolder" is always the folder where I have saved the last new vi. I think this is very useful because you usually have to edit only new Vi-ICONS...
=>But I could implement a "LAVA Edition"...

*The Reload old Icon does not work if you edit the icon, save it then doubleclick the VI to open it. You cannot reload old icon anymore. It's gone?
=> The reload old Icon works only as long as you don't click again in the tree control...

*It would be nice to have the ability to apply the colorset to a group of VI's at once.
=>Maybe in future...
=>another thing for future is an option to copy a part of an ICON (Header /Body) and paste it to the current vi...

cheers beer_mug.gif

This post has been edited by martin@aerodynamics: Dec 13 2006, 06:09 AM

--------------------

Happy Wiring! (User defined "Swiss Wire Class" for neutral data only!!!)


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
martin@aerodynam...
post Nov 24 2006, 07:37 AM
Post #4


Very Active
***

Premium Member
Posts: 179
Joined: 19-January 05
From: Switzerland
Member No.: 1396
Using LabVIEW Since:1998
LV:8.20 ,8.0.1 ,7.1.1
Switzerland Switzerland Switzerland


The New ICON Editor 1.7 is now available!

New features:
"automatic text cutter" => The ICON text will automatically cutted if there are to much characters thumbup1.gif

You can automatically add and remove Tags ( ) in the Description Editor. (The text between the Tags will be written BOLD) thumbup1.gif

An Indicator is blinking and the cursor is set to busy while the tree control is updated

Bug solved with old tree control paths

Frontpannel optimiced fot 1024*768 screen

Open Frontpannel and Blockdiagramm by right-click to the Tree CTL or LLB-Content

Automatically generate a Description with Username, Date, CTL Inputs and Outputs if they are connected to the connector pane (including their description)

Howto make a automatic Description?
1. Start the Icon Editor
2. Open a Directory
3. Select a Vi
Attached Image

4. Click Edit Documentation
Attached Image

5. Click New Documentation

=> There will be a new Documentation generated based on the description.txt File located beside the ICON.llb File
Example:

RUAG Aerospace
Center Aerodynamics
CH-6032 Emmen
www.ruag.com
********************
Version: 0.0
Date: (will be replaced with the actual date )
State: In Progress / Finished
Developer: (will be replaced with the current LabVIEW Username)

FUNCTION
(Explain the function of the vi)


Between these thags it copies all Vi- Input CTL which are connected to the connector pane



Between these thags it copies all Vi- Output CTL which are connected to the connector pane


COMMANDS
(Expain here the commands of the vi (INIT: Initialize...; START: ....)

PRE-CONDITIONS
(Place here the Pre-Conditions of the vi)

POST-CONDITIONS
(Place here the Post-Conditions of the vi)

ERROR HANDLING
(Place here information about the Error Handling (This vi will executed/not executed if error in has an error)...


Attached Image


NOTE: Do not Remove the Tags!!


If you have changed some connectors etc. just click Update CTL Description.

If you have an old description you can add the Tags by selecting the place and then by right Click (add Input Tags / add Output Tags) In the current version you need always all tags...

Attached Image Attached Image


--------------------

Happy Wiring! (User defined "Swiss Wire Class" for neutral data only!!!)


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 2nd December 2008 - 04:04 AM