Jump to content

[Discuss] Example - Create Polymorphic VI


Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=53

Name: Example - Create Polymorphic VI

Submitter: LAVA 1.0 Content

Submitted: 03 Jul 2009

Category: VI Scripting

LabVIEW Version: 7.1

Version: 1.2.0

License Type: BSD (Most common)

Potentially make this available on the VI Package Network?: Yes

Copyright © 2006, Chris Davis

All rights reserved.

Author:

Chris Davis

--see readme text for contact information

Description::

This VI uses scripting to create a new polymorphic VI that contains the methods for creating any type of numeric control on a VI's diagram.

This VI is designed to help a newbie learn some of the basics of LabView scripting. As well as serve as a tool to make scripting easier to code.

Code was created and tested using LV 7.1.1 Code should work in higher LabView versions, but has not been tested there.

Version History:

1.2.0:

Added code to make polymorphic VI's icons match thier intended numeric type.

Fixed a bug where an error 7 would occur because the polymorphic VI doesn't exist on the users machine to be deleted.

1.1.0:

Re-release of code as LV 7.0 for more universal compatability. Changed code slightly to read empty polymorphic VI from disk, instead of using a constant on the diagram.

1.0.0:

Initial release of the code.

Click here to download this file

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.