Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Customer Submitted Example
Contributor Name: Yuri Kulayev
Contributor Company: MPEI
NI Supported: No
Publish Date: Nov 27, 2007

User Interface Template in GOOP

8 ratings | 1.62 out of 5
Print

Downloads

Filename: interface.zip
Requirements: View

You can use this template as the prototype of code for any user interface. The user interface of any program almost always contains this similar code: load/save data, displaying the data, processing the list of data, executing plugins, and saving an image of the front panel to disk.

This template implements this basic functions for your data type. You need to replace "\source\controls.llb\element.ctl" by your type of data. Cluster of your data the element "Name" (string-type) should contain. It is necessary for processings the list of elements.

This template is based on GOOP, which stands for Graphical Object-Oriented Programming, a LabVIEW toolkit. Before you use this template, you must install the GOOP Toolkit (linked below), available free from National Instruments.


Related Links:
GOOP Toolkit

Requirements


Filename: interface.zip

Software Requirements


Application Software: LabVIEW Full Development System 5.1.1
Toolkits and Add-Ons: LabVIEW Graphical Object-Oriented Programming (GOOP) Toolkit
Language(s): LabVIEW

 
8 ratings | 1.62 out of 5
Print

Reader Comments | Submit a comment »

How to install?
How to install?
- enrico.folladori@it.abb.com - Jan 5, 2004

Comments on template
La critique est aisee mais l'art est difficile. English version-- The critics easy to make but to be productive is a pain in the neck. I agree that this is not the best implementation to be used as a template but at least the programmer puts it out there to help other programmer who are novice to GOOP. I was out there searching for a sample VI that was created using GOOP. So it helped me big time. Next time you see a problem, point it out and provide at least feasible solution to the problem. Let's make programming fun.
- Emmanuel Jean-Louis. ej9@acsu.buffalo.edu - May 16, 2003

Bad Implementation
I would not have used so many Sequences to achieve this template writing it in standard LabVIEW let alone using GOOP. I would a have used a proper state machine using maybe a message queue to select the task to be performed. It's not the worst example of writing a LabVIEW programme I've seen and its not very useful as a template.
- Ray Farmer, Nomad Technical Services Ltd. ray.farmer@talk21.com - May 16, 2003

 

Legal
This example program (this "program") has been made available by a third party, which is solely responsible for its content. National Instruments has not reviewed this program, does not support this program, and does not guarantee its quality in any way. NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS, STATUTORY OR IMPLIED, WITH RESPECT TO THIS PROGRAM, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT OF INTELLECTUAL PROPERTY, OR ANY OTHER WARRANTIES THAT MAY ARISE FROM USAGE OF TRADE OR COURSE OF DEALING. For details on terms of use or support of this program, please contact the code author or the site being referred at the top of this page. For further legal information, please visit http://ni.com/legal/termsofuse/unitedstates/us/.