Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

How Do I Delete a Method from a Pre-existing LabVIEW GOOP Class?

Primary Software: LabVIEW Toolkits>>Graphical Object-Oriented Programming Toolkit
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: In the LabVIEW GOOP Wizard there is no option to delete a method that is already contained inside a class. Is there any way to work around this limitation?

Solution: Currently the only way to accomplish this is to edit the library file (.llb) corresponding to the Class.

Suppose you have a method called Get Value inside the Thermometer Class. To delete the Get Value method you need to:
  1. Use File»"Edit VI Library"
  2. Browse to the Thermometer.llb file (or whatever Class contains the method you wish to delete).
  3. Highlight the method you wish to remove
  4. Press the Delete button.

Note: All methods created by the GOOP Wizard are Top Level VIs, so it is a good idea to check and make sure that the "Top Level VI" box is checked when the method you wish to delete is highlighted.

LabVIEW 8.20 and later: LabVIEW offers native objected-oriented programming constructs. Refer to the Upgrade Advisor to upgrade to the newest version of LabVIEW.

Related Links: KnowledgeBase 1TCCKEPH: LabVIEW and Graphical Object-Oriented Programming (GOOP)

Attachments:





Report Date: 05/24/2000
Last Updated: 09/18/2007
Document ID: 1XNAJLVQ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit