1 / 33

OpenG – Projects and Community

OpenG – Projects and Community. As presented by Jim Kring February 4, 2002. OpenG Package Tools (OGPT). http://ogpm.sourceforge.net/ Integrated tools for: building, installing, uninstalling, verifying, querying, updating, developing, and maintaining LabVIEW software packages

sabine
Download Presentation

OpenG – Projects and Community

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OpenG – Projects and Community As presented by Jim Kring February 4, 2002

  2. OpenG Package Tools (OGPT) • http://ogpm.sourceforge.net/ • Integrated tools for: building, installing, uninstalling, verifying, querying, updating, developing, and maintaining LabVIEW software packages • Consists of a package installer (now) and several add-ons (future) OpenG User Group Meeting

  3. OGPT - Package Installer (OGPI) • Core Module of the OGPT’s • Builds Installs and Uninstalls Packages on Windows, Mac, Linux (LabVIEW Zip Tools - zlib) • Basic User Interfaces • Windows Explorer Shell extensions for *.ogp files OpenG User Group Meeting

  4. OGPT - Package Installer (OGPI) • Demonstration OpenG User Group Meeting

  5. OpenG Toolkit (OGTK) • http://opengtoolkit.sf.net/ • A collection of various packages of VIs, integrated into the palette and development environment • Distribution of *.ogp files OpenG User Group Meeting

  6. OGTK – Palette Pkg • A mechanism to dynamically populate the “default” palette with VIs and subpalettes • Allows the OGTK to be distributed as a collection of individual pkg’s OpenG User Group Meeting

  7. OGTK – Palette Pkg • Synchronize with Directory • Dynamic Palettes! • <OpenG.lib>\palette • Functions • Controls OpenG User Group Meeting

  8. OGTK - LabVIEW Data Tools • Tools for parsing LabVIEW data and type descriptors • Variant wrapper adds polymorphism • Makes next-generation of LabVIEW tools possible • Implements at run-time what LabVIEW does at edit-time OpenG User Group Meeting

  9. OGTK - LabVIEW Data Tools • Get/set data names • Enums • Clusters • Arrays • Low-level type descriptor tools • Additional objects OpenG User Group Meeting

  10. OGTK - LabVIEW Data Tools • Example - Update Cluster Elements OpenG User Group Meeting

  11. OGTK - Variant Config File VIs • Fully recursive flattening and unflattening of LabVIEW data to INI files. • First use-case of the LabVIEW Data Tools pkg. • Supports almost all “common” LabVIEW Data Types OpenG User Group Meeting

  12. OGTK - Variant Config File VIs Simple Example [Channel1] Active=FALSE Maximum=0.000000 Measure=Voltage Channel Name="" Array="<size(s)=3> 1.000000 2.000000 3.000000" [Channel2] Active=FALSE Maximum=0.000000 Measure=Voltage Channel Name="" error in (no error).status=FALSE error in (no error).code=0 error in (no error).source="" OpenG User Group Meeting

  13. OGTK - Variant Config File VIs Recursion Example [Channel1] Active=FALSE Maximum=0.000000 Measure=Voltage Channel Name="" Array="<size(s)=3> 1.000000 2.000000 3.000000" Array.<size(s)>=2 Array 0.Active=TRUE Array 0.Maximum=4.000000 Array 0.SubArray="<size(s)=3> 1.000000 2.000000 3.000000" Array 1.Active=FALSE Array 1.Maximum=-2.000000 Array 1.SubArray="<size(s)=3> 5.600000 9.000000 -10.400000" OpenG User Group Meeting

  14. OGTK – Zip Tools • Multi-platform support • Win32: lvzlib.dll • Mac: lvzlib.shlb • Linux: lvzlib.so • Provides the core packing/unpacking functionality for OpenG Package Files (*.ogp) used by OGPI OpenG User Group Meeting

  15. OGTK – Zip Tools (extras) • Implements string inflation/deflation • Implements MacBinary (on Mac) encode/decode for preserving resource fork during packing OpenG User Group Meeting

  16. OpenG App. Builder (OGAB) • http://ogab.sf.net • Programmatic App Builds • Building by double-clicking .bld file (Win) • Icons for .bld files • Right-Click .bld file to launch custom build settings dialog OpenG User Group Meeting

  17. OpenG App. Builder (OGAB) • Optional segregation of OpenG VIs into an external library with diagrams and front panels intact for LGPL compliance • Command line interface for batch file builds • Open a VI in the LabVIEW Run-Time environment, for testing an application before building an .exe. OpenG User Group Meeting

  18. OpenG App. Builder (OGAB) • Currently supports LV 6.0 on Windows • In the future will support all platforms and versions OpenG User Group Meeting

  19. Open Source Test Executive (OSTE) • Project Team has formed • Some Internal development and discussion has begun • No releases yet • Visit OpenG.org >> Projects >> OSTE for project homepage URL OpenG User Group Meeting

  20. LabXML – An XML toolkit for LV • http://labxml.sourceforge.net/ • Creating (with complete design freedom), loading and saving XML files. • Searching in XML-documents • Replacing, adding and deleting elements in XML documents. • Validating XML-files (also against schemas) • Translating XML to other formats (like HTML) by means of XSLT OpenG User Group Meeting

  21. LabVNC – A VNC Server for LV • Implements a VNC server for VI Panels • Visit OpenG.org >> Projects >> LabVNC for project homepage URL OpenG User Group Meeting

  22. LabSQL – An SQL toolkit for LV • use ADO and SQL in LabVIEW to communicate with databases • Visit OpenG.org >> Projects >> LabSQL for project homepage URL OpenG User Group Meeting

  23. LabPython Python toolkit for LV • http://labpython.sf.net • Load and run a python script dynamically and access variables • Run python scripts in a LabVIEW script node OpenG User Group Meeting

  24. LabPython – Python toolkit for LV • Script node uses LabVIEW’s script node plug-in interface • <LV>\resource\script\ • If dll’s in the .\resource\script folder conform to the plug-in specification, they may be used with the script node OpenG User Group Meeting

  25. LabPython – Python toolkit for LV OpenG User Group Meeting

  26. LabVIEW Development Tools (LDT) • OpenG.org >> Projects >> LabVIEW Development Tools • GOOP Class Renaming Tool • VIs in memory Tool • Project Template Instantiation Tool • “Fastloader” tool • No releases in the past year OpenG User Group Meeting

  27. LabUseful OpenG Projects • OpenG.org >> Projects >> … • Robust TCP/IP • Read and Create Path • Find Nearest Match Value in Array • Print to PDF OpenG User Group Meeting

  28. Many others… • Single VIs and Code Snippets • Auto Backup tool • LabTRIS – another Tetris clone • “Fastloader” tool • BLD File Maker to automate DLL creation .bld files from VI ConPanes • 3-Way Switches • Too many others to list OpenG User Group Meeting

  29. OpenG.org • Open Source LabVIEW Community Hub • Project Registration • Discussion and Support Forums • Whitepapers and Articles • User Groups OpenG User Group Meeting

  30. OpenG.org Project Registration • Project Description • Embed HTML • Link to Files • Embed Images • OpenG.org does not host your project files! OpenG User Group Meeting

  31. OpenG.org Forums • Various Forums • Projects • Discussion • Support • User Groups • Announcements *phpBB is an open source forum application - http://www.phpBB.com OpenG User Group Meeting

  32. OpenG.org Package Registry (future) • A database of package locations • OpenG Package Installer Plugin client would look to the registry for a listing of available packages • Packages could be both downloaded and installed by the client without any “browsing” by the user OpenG User Group Meeting

  33. Recap • Visit OpenG.org >> Projects to find info on a project • OpenG Package Tools will provide the infrastructure for packaging and distribution • OpenG Toolkit is a distribution of various packages • Let’s get everyone to distribute their packages as .ogp’s OpenG User Group Meeting

More Related