|
|
The OpenG Class Templates for LabVIEW Object Oriented Programming (LabVOOP) are a set of templates for creating classes beyond the simple by value classes provided natively in LabVIEW. OpenG Class Templates allow LabVIEW developers to create by-reference classes that are not directly supported by native LabVOOP. The OpenG Class Templates are currently at pre-release phase and are not yet recommended to be used in production environment.
[edit] OpenG Class Templates OverviewOpenG Class Templates are normal LabVIEW classes that follow OpenG Class Template Specifications. The templates can be used to create new LabVIEW classes that include some predefined functionality. There are currently four class templates:
Each of these three class templates depends on (inherits from) an OpenG base class. This allows the base classes to be improved without the need for users of the class templates to make the improves themselves. There are currently three base classes:
To be used OpenG Class Templates require a tool that automates the process of deriving new classes from the class templates. Currently there is one tool available that supports OpenG class templates GOOP Development Suite from Endevo. External tool is only required in the development phase for class manipulations. OpenG base classes are needed in the execution environment. [edit] Obtaining and Installing Templates[edit] Download and install VI Package ManagerSee these two useful links
[edit] Download the OpenG class templates and support libraryThe templates are not yet available for download using VIPM, but will be, after officially released. Manually download the following items. NOTE: Sometimes MS Windows will rename the files upon download, changing them from an *.ogp to a *.zip file extension. Make sure that they retain their original names and have an *.ogp file extension. This is important, in order for VIPM to install the package files.
[edit] Add OpenG object packages to your VIPM libraryTo add the class templates and the support library to VI Package manager, perform the following actions.
[edit] Install the OpenG object packagesTo install the class templates and the support library follow the steps below
[edit] Restart LabVIEWIf LabVIEW is currently running, restart LabVIEW.
[edit] Using OpenG class templates from within Endevo GOOP Development Suite (GDS)The OpenG class templates may be used in conjuction with the Endevo GDS tool. This tools allows you to create new classes from the templates, edit your classes. In addition your own class templates that meet the OpenG class template specifications should work with Endevo GDS. We are very thankful to Endevo for thier support of OpenG and for making the GDS Community Edition version of thier tool freely available. [edit] Obtaining the Endevo GOOP Development SuiteThe Endevo GOOP Development Suite must be obtained from Endevo. Visit Endevo on the web at http://www.endevo.se for a free download of Endevo GDS Community Edition. [edit] Activating the Endevo GOOP Development Suite in Community Edition modeIn order to use the Endevo GOOP Development Suite in Community Edition mode, you must activate it during installation or from the GOOP>>Activate Product menu using the following serial number: COMM-UNIT-YEDI-TION-2008 See Endevo's Products>>Trial>>Activate the Community Edition page for more information. [edit] Configuring Endevo GDS to use the OpenG class templatesFirst, make sure that you have installed the Endevo GDS tool according to its installation instructions and that you have restarted LabVIEW after installing both the Endevo GDS and the OpenG class templates and libraries. In order for the Endevo GDS to use the OpenG class templates, you will
need to configure it to use the OpenG class provider. To do this,
open the GOOP Options Dialog (shown below) by selecting Tools>>GOOP>>Class Provider Options from them menu.
You can also open this dialog from within the LabVIEW Project Explorer window by pressing the Ensure that the OpenG class provider is selected and press OK. The Endevo GDS tool is now configured to use the OpenG class templates. [edit] Creating new classes from the OpenG templatesYou will see them available from the Create Class Dialog when you select New>>GOOP Class from the project explorer right-click menu. [edit] Links
|
| This page was last modified 21:11, 14 December 2007. This page has been accessed 3,713 times. Content is available under Attribution 3.0 . Privacy policy About OpenG Disclaimers |