Tags |
(This content has not been tagged yet)
|
![]() |
Feb 25 2008, 04:00 PM
Post
#1
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
This topic is continuation of this one..
So after some cleaning up (which in this case means few hours of work beside repairing broken code The main file is VIpreVIEW.vi. You have to open it, fill all paths, sizes, etc. and run (not very professional, isn't it?). After some work (depending on VI complexity) it will create a lot of files at target path. Most of them are temporary files, but I do not delete them yet for debug purposes. Open {name}.html file in a browser and watch the result. I included SWFtools binary in this package (it's GPL) but I don't know how it is with all that legal stuff. Know issues:
And of course GUI in final version will not look like this. This post has been edited by vugie: Feb 26 2008, 12:58 PM
Attached File(s)
|
||
|
|
|||
| Ad |
Feb 25 2008, 04:00 PM
Post
#
|
||
|
|
|
||
|
|
|||
Feb 25 2008, 06:20 PM
Post
#2
|
|||
![]() CCT It Premium Member ![]() Posts: 1328 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
|
Hi Vugie,
I miss some VIs. log.vi lv2gbl-log.vi Ton --------------------
|
||
|
|
|||
Feb 25 2008, 07:28 PM
Post
#3
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
Hi Vugie, I miss some VIs. log.vi lv2gbl-log.vi Ton I can't upload them now, but they are not necessary - simply delete all instances ______________ Edit: I updated the file with lost VIs This post has been edited by vugie: Feb 26 2008, 08:43 AM
|
||
|
|
|||
Feb 29 2008, 10:27 AM
Post
#4
|
|||
![]() Extwemely Active Premium Member ![]() Posts: 1621 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:8.6 ,7.0 ,.
|
OK, I had a chance to play with a bit and it looks really nice. It works fast enough for small VIs, which I suspect is most of what will be thrown at it if it's used for sharing code online.
Would you be interested in adding it as another option inside the CCT? That would provide the tool with the options of either capturing an image or a flash demo. The only thing that needs to be checked out is how to embed it. I've seen that the only thing you need is the swf file, but we need an easy way of copying and pasting both the file path and the embed tag code. -------------------- More than meets the eye...
|
||
|
|
|||
Feb 29 2008, 11:50 AM
Post
#5
|
|||
![]() Active Member Posts: 21 Joined: 8-January 07 Member No.: 7450 Using LabVIEW Since:2006 LV:8.2.1 ,. ,.
|
Would you be interested in adding it as another option inside the CCT? That would provide the tool with the options of either capturing an image or a flash demo. It is interesting proposition but there are two issues. At first, my employer is a sponsor of time spent for this project and therefore credit and link should be included in both GUI and SWF (however it has not to be anything covering half of the window). Second one in the license - definitely binary of script compiler should be included in distribution (it's GPL), so whole the project should be GPL and contain also source code of compiler (but I'm not sure about it). So keeping CCT BSD licence will be rather impossible. But I may be wrong, I'm not too familiar with license issues. What concerns embedding, beside swf also its dimesions should be known, because browser pointed directly to sfw file stretches it to window size. BBCode contains tag to embed flash ... checking whether it works here... ... works, but forces to reduce flash size to pretty small values... Here is an example how it should look like This post has been edited by Michael_Aivaliotis: Mar 11 2008, 09:55 AM
|
||
|
|
|||
Mar 1 2008, 07:32 PM
Post
#6
|
|||
![]() Extwemely Active Premium Member ![]() Posts: 1621 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:8.6 ,7.0 ,.
|
At first, my employer is a sponsor of time spent for this project and therefore credit and link should be included in both GUI and SWF (however it has not to be anything covering half of the window). Second one in the license - definitely binary of script compiler should be included in distribution (it's GPL), so whole the project should be GPL and contain also source code of compiler (but I'm not sure about it). So keeping CCT BSD licence will be rather impossible. But I may be wrong, I'm not too familiar with license issues. In the GUI, we have acknowledgements in the about screen and it can go in there. I don't want to start filling the main screen with logos and links. In the flash movie, I don't think a link or an additional icon would be a problem. As for the license, I don't have a problem with distributing the original with the CCT, but I want to avoid making it GPL. If we have a basic agreement, I think we can look more deeply into this to understand how it works. Maybe someone familiar with licenses can shed some light. Jim, maybe? QUOTE What concerns embedding, beside swf also its dimesions should be known, because browser pointed directly to sfw file stretches it to window size. BBCode contains tag to embed flash ... checking whether it works here... I tested it in the NI forums, but the forums there do not allow attaching swf files. We can ask the moderator to change that. Pointing it to an external file works fine and you only need the embed tag there. If our tool is doing the capturing, it can also prepare the tag text and set the sizes to be right. -------------------- More than meets the eye...
|
||
|
|
|||
Mar 11 2008, 09:58 AM
Post
#7
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2362 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
I've extended the flash size limit on the forums to 550x550. Now the above flash looks nicer. So to embedd flash just use the
bbcode tag.
--------------------
|
||
|
|
|||
Mar 22 2008, 11:45 AM
Post
#8
|
|||
|
<customize this text> Premium Member ![]() Posts: 1001 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
In the GUI, we have acknowledgements in the about screen and it can go in there. I don't want to start filling the main screen with logos and links. In the flash movie, I don't think a link or an additional icon would be a problem. As for the license, I don't have a problem with distributing the original with the CCT, but I want to avoid making it GPL. If we have a basic agreement, I think we can look more deeply into this to understand how it works. Maybe someone familiar with licenses can shed some light. Jim, maybe? If you integrate something covered by the GPL into a project it usually makes the whole project being covered by the GPL. Specific provisions such as an amendment to the GPL for the Linux kernel being excluded. To be able to integrate libraries or subcomponents that are desired to be GPL like licensed without making the rest of a program being GPL too there has been specifically the LGPL license created for. This allows including LGPL licensed components in a dynamic way into another application which can be of any other license including fully closed source. Purists claim that even calling a GPL based application over the command line explicitedly from inside another application is forcing this application to be GPL too, but I think that is a completely useless restriction and most likely not enforceable at all. Rolf Kalbermatter
|
||
|
|
|||
![]() ![]() |
| Time is now: 21st November 2008 - 09:52 AM |