openg – projects and community as presented by jim kring february 4, 2002

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

Upload: sarahi-grine

Post on 01-Apr-2015

223 views

Category:

Documents


5 download

TRANSCRIPT

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

OpenG – Projects and CommunityOpenG – Projects and Community

As presented by Jim Kring

February 4, 2002

Page 2: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG Package Tools (OGPT)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)

Page 3: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGPT - Package Installer (OGPI)OGPT - Package Installer (OGPI)

Core Module of the OGPT’sBuilds Installs and Uninstalls

Packages on Windows, Mac, Linux (LabVIEW Zip Tools - zlib)

Basic User InterfacesWindows Explorer Shell

extensions for *.ogp files

Page 4: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGPT - Package Installer (OGPI)OGPT - Package Installer (OGPI)

Demonstration

Page 5: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG Toolkit (OGTK)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

Page 6: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK – Palette PkgOGTK – 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

Page 7: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK – Palette PkgOGTK – Palette Pkg

Synchronize with Directory– Dynamic Palettes!

<OpenG.lib>\palette– Functions– Controls

Page 8: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - LabVIEW Data ToolsOGTK - LabVIEW Data Tools

Tools for parsing LabVIEW data and type descriptors

Variant wrapper adds polymorphismMakes next-generation of LabVIEW

tools possibleImplements at run-time what

LabVIEW does at edit-time

Page 9: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - LabVIEW Data ToolsOGTK - LabVIEW Data Tools

Get/set data namesEnumsClustersArraysLow-level type

descriptor toolsAdditional objects

Page 10: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - LabVIEW Data ToolsOGTK - LabVIEW Data Tools

Example - Update Cluster Elements

Page 11: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - Variant Config File VIsOGTK - 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

Page 12: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - Variant Config File VIsOGTK - Variant Config File VIs

[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=""

Simple Example

Page 13: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK - Variant Config File VIsOGTK - Variant Config File VIsRecursion 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"

Page 14: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK – Zip ToolsOGTK – 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

Page 15: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OGTK – Zip Tools (extras)OGTK – Zip Tools (extras)

Implements string inflation/deflation

Implements MacBinary (on Mac) encode/decode for preserving resource fork during packing

Page 16: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG App. Builder (OGAB)OpenG App. Builder (OGAB)

http://ogab.sf.netProgrammatic App BuildsBuilding by double-clicking .bld file

(Win)Icons for .bld filesRight-Click .bld file to launch custom

build settings dialog

Page 17: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG App. Builder (OGAB)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.

Page 18: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG App. Builder (OGAB)OpenG App. Builder (OGAB)

Currently supports LV 6.0 on WindowsIn the future will support all platforms

and versions

Page 19: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

Open Source Test Executive (OSTE)Open Source Test Executive (OSTE)

Project Team has formedSome Internal development and

discussion has begunNo releases yetVisit OpenG.org >> Projects >> OSTE

for project homepage URL

Page 20: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabXML – An XML toolkit for LVLabXML – 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

Page 21: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabVNC – A VNC Server for LVLabVNC – A VNC Server for LV

Implements a VNC server for VI PanelsVisit OpenG.org >> Projects >> LabVNC

for project homepage URL

Page 22: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabSQL – An SQL toolkit for LVLabSQL – An SQL toolkit for LV

use ADO and SQL in LabVIEW to communicate with databases

Visit OpenG.org >> Projects >> LabSQL for project homepage URL

Page 23: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabPython Python LabPython Python toolkit for LVtoolkit for LV

http://labpython.sf.net

Load and run a python script dynamically and access variables

Run python scripts in a LabVIEW script node

Page 24: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabPython – Python toolkit for LVLabPython – 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

Page 25: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabPython – Python toolkit for LVLabPython – Python toolkit for LV

Page 26: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabVIEW Development Tools (LDT)LabVIEW Development Tools (LDT)

OpenG.org >> Projects >> LabVIEW Development Tools

GOOP Class Renaming ToolVIs in memory ToolProject Template Instantiation Tool“Fastloader” toolNo releases in the past year

Page 27: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

LabUseful OpenG ProjectsLabUseful OpenG Projects

OpenG.org >> Projects >> …Robust TCP/IP Read and Create Path Find Nearest Match Value in Array Print to PDF

Page 28: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

Many others…Many others…

Single VIs and Code SnippetsAuto Backup toolLabTRIS – another Tetris clone“Fastloader” toolBLD File Maker to automate DLL

creation .bld files from VI ConPanes3-Way SwitchesToo many others to list

Page 29: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG.orgOpenG.org

Open Source LabVIEW Community Hub

Project Registration Discussion and

Support Forums Whitepapers and

Articles User Groups

Page 30: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG.org Project RegistrationOpenG.org Project Registration

Project Description– Embed HTML– Link to Files– Embed Images– OpenG.org does

not host your project files!

Page 31: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG.org ForumsOpenG.org Forums

Various Forums– Projects– Discussion– Support– User Groups– Announcements

*phpBB is an open source forum application - http://www.phpBB.com

Page 32: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

OpenG.org Package Registry (future)OpenG.org Package Registry (future)

A database of package locationsOpenG 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

Page 33: OpenG – Projects and Community As presented by Jim Kring February 4, 2002

February 4, 2002OpenG User Group

Meeting

RecapRecap

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