Tags |
(This content has not been tagged yet)
|
![]() |
Feb 15 2008, 02:48 PM
Post
#1
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
First of all I would like to welcome everybody at LAVA forum. I'm reading it from time to time since my LabVIEW beginnings. Although I was not active at all, each time I had a problem, or wanted to learn something new, I was able to find the answer somewhere here. Thank you guys.
Now to the point. I'm using my national LabVIEW community portal and my experience is that due to graphical nature of VI's code very often it is quite hard or at least inconvenient to describe a problem, help to solve one or share an idea. One way is to publish VI itself. But not everybody uses same LabVIEW version, VI is often dependent on number of subVI's, type definitions or libraries, downloading and opening VI takes time, particularly if one is doing something else at the same time. Another way is publishing a screenshots. But in this case you have to use a graphical editor to arrange subcases (with some trouble if you have nested conditions), crop the picture, etc. Diagram may be larger than screen causing additional problems, and large pictures posted at some forums may destroy layout (which is not a case here AFAIK). I know that there is a Code Capture Tool - frontly speaking I did not try it yet, but for sure in does not solve all these problems. So this is a background for my idea mentioned in the title - interactive VI preview. A preview which would allow user to switch between front panel and diagram view, to swich between subdiagrams within a Case Structure, Diagram Disable structure or Stacked Sequence independently on nesting level, which would allow to zoom and pan the view, see descriptions of elements and allow to enter the subVI and browse it the same way. Natural way to realize such idea is to alayze the VI (using dark and legendary method called scripting http://vugie.republika.pl/mult/mult.html (sorry for the icons - it took me 2 mins to make them...) I hope that browsing this example is natural: you can drag diagram with mouse, switch cases using arrows, zoom with magnifying glass. Additionaly tips with name and some text appears when cursor is over an element. Of course this animation was generated automaticly with a preliminary version of tool I called VIpreVIEW. This is very early stage of development and is not advancing very fast as I do it in my spare time (which I do not have to much). So I decided to share this idea with you, just not to loose the motivation If anybody is interested, I serve with details.
|
||
|
|
|||
| Ad |
Feb 15 2008, 02:48 PM
Post
#
|
||
|
|
|
||
|
|
|||
Feb 15 2008, 03:26 PM
Post
#2
|
|||
![]() CCT It Premium Member ![]() Posts: 1337 Joined: 13-June 05 From: Woerden, Netherlands Member No.: 2399 Using LabVIEW Since:2001 LV:8.5.1 ,6.1 ,8.2.1
My Blog
My Gallery
|
So I decided to share this idea with you, just not to loose the motivation If anybody is interested, I serve with details. Wohoayuhasyadf, drewl drewl Very nice, (did I tell I am bazzled?) Please share! Ton --------------------
|
||
|
|
|||
Feb 15 2008, 03:47 PM
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
|
Wohoayuhasyadf, drewl drewl Very nice, (did I tell I am bazzled?) Please share! Ton Very very nice it's probably caled "FlashVIEW"?? I can't say more... -------------------- ![]() Happy Wiring! (User defined "Swiss Wire Class" for neutral data only!!!)
|
||
|
|
|||
Feb 15 2008, 05:13 PM
Post
#4
|
|||
|
Very Active Member Posts: 115 Joined: 26-January 07 From: Seattle, WA Member No.: 7603 Using LabVIEW Since:2006 LV:8.20 ,. ,.
|
Very, VERY cool. Keep it up!
I'm sure you meant the name to be said as, "VI preview." At first glance I read it as "Viper View," with viper being spelled as vipre. (For non-native english speakers, a viper is a general term for a snake.)
|
||
|
|
|||
Feb 15 2008, 06:30 PM
Post
#5
|
|||
![]() Extremely Active JKI ![]() Posts: 612 Joined: 19-June 03 From: Bay Area, CA (USA) Member No.: 121 Using LabVIEW Since:1998 LV:8.5.1 ,8.6 ,8.2.1
My Blog
|
Wohoayuhasyadf, drewl drewl Very nice, (did I tell I am bazzled?) Please share! Ton I agree with Ton, you did a very nice job. Please do give us the details. PJM --------------------
|
||
|
|
|||
Feb 15 2008, 06:48 PM
Post
#6
|
|||
![]() LV R&D Envoy NI ![]() Posts: 1226 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
If anybody is interested, I serve with details. HECK YES I'M INTERESTED! This is something I've toyed with for years, but if you've got VIs that actually make this work, that would be spectacularly cool. Are you planning on posting the VIs? -------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D
|
||
|
|
|||
Feb 15 2008, 10:50 PM
Post
#7
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
Are you planning on posting the VIs? Definitely yes, but not now - this is probably most ugly looking code I wrote ever... You know - patches for patches for patches... Anyway it works. It requires rewriting at least to let me understand my code But I can describe the scheme. First stage is diagram analysis. I'm taking a shot of whole the diagram and then parsing it recursively (which is one of reasons why the code looks like this) classifying all nodes to switchable ones, subVIs, functions and terminals. For each of these I store bounds, label and description in tree-like structure. For each switchable node I switch between nodes taking a shot of each and parsing them recursively same way. Then it is needed to parse the front panel (it would be good to switch between tabs if any). It is not implemented yet - in example I just glued the image of panel manually in the middle of the process Then all pictures are being saved to PNG files. At this stage user shoud decite what he want to show - which subVI to include, determine size of an animation, whether to show tips and what to put there, etc. Probably only initially selected part of code should be processed. All this stuff is not implemented yet. For generating SWF files I use Swftools (http://www.swftools.org/). As the name says it is a set of tools for dealing with SWF files So as you see lot of work is to be done... This post has been edited by vugie: Feb 16 2008, 11:22 AM
|
||
|
|
|||
Feb 16 2008, 02:59 PM
Post
#8
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3758 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
Definitely yes, but not now - this is probably most ugly looking code I wrote ever... You know - patches for patches for patches... Anyway it works. It requires rewriting at least to let me understand my code Once you've cleaned it up a little, I'm sure it will be really welcomed here. If you'd like to eventually submit it to the LAVA Code Repository, (and based on the enthusiasm already shown on this thread), I figure there'll be at least a few talented people that would love to help you out. -------------------- ![]()
|
||
|
|
|||
Feb 16 2008, 06:59 PM
Post
#9
|
|||
![]() Extwemely Active Premium Member ![]() Posts: 1634 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:8.6 ,7.0 ,.
|
This is certainly very impressive and could be immensely useful in sharing code online. Thank you.
One thing that is important to note is that for this to be usable by wide audiences it will have to have a one-click usability. For the CCT we went to some effort to make it very easy both to install and to use. Ideally, when a user generates something like this, they should end up with an easy way of building a path to embed this as a Flash object. -------------------- More than meets the eye...
|
||
|
|
|||
Feb 25 2008, 04:05 PM
Post
#10
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
Once you've cleaned it up a little, I'm sure it will be really welcomed here. OK. As you suggest I contionue this topic here. I also invite you here, where I showed another tool of mine.
|
||
|
|
|||
Feb 26 2008, 08:09 AM
Post
#11
|
|||
|
<customize this text> Premium Member ![]() Posts: 1012 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
So I decided to share this idea with you, just not to loose the motivation If anybody is interested, I serve with details. Very nice tool. Looks really good, and I'm sure NI is looking with big interest at this Rolf Kalbermatter
|
||
|
|
|||
![]() ![]() |
| Time is now: 2nd December 2008 - 06:51 PM |