Name: Insert Type Conversion RCF Plugin
Submitter: François Normandin
Submitted: 21 Jul 2009
File Updated: 03 Jan 2011
Category: JKI Right-Click Framework Plugins
LabVIEW Version: 8.2
License Type: BSD (Most common)
Insert Conversion Node RCF Plugin v184.108.40.206
Copyright © 2009-2010, François Normandin
All rights reserved.
Summary=Inserts a type conversion automatically
Description=Will insert type conversion for all strings, numbers, paths, variants & enums to the right datatype.
Copyright=Copyright © 2009-2010 François Normandin
Contact Info: Contact via PM on www.lavag.org
Created and tested with LabVIEW 8.2
Tested with 8.6 and 2009.
jki_tool_right_click_framework >= 220.127.116.11
oglib_array >= 3.0.0
oglib_lvdata >= 2.9
This package contains a plugin for the Right-Click Framework of JKI.
It consists of a first draft of a tool to automatically insert correct conversion node on a wire (or multiple wire at once).
- Decimal String to Number.
- Float String to Number.
- Any numeric type (int, unint, floats, complex) to any numeric type.
- Variant to string or numerics.
- Numerics to Variant.
- String to Variant.
- Path to String.
- String to Path.
- Boolean to string.
- Enum to String.
- String to Enum.
- Numeric to Enum.
- Numeric to String
- Unbundle cluster to terminal indicator.
After installing package with VIPM, restart the RCF framework. Use the right-click on wires to automatically insert a conversion node if needed.
** VIPM 2010 or higher is required to process this package.
1- Not all typecasts are implemented.
2- Wires with joints will not behave correctly yet.
JKI for providing with this great framework.
v1.0.0: Initial release of the code.
v1.0.2: Added _rcf_ in package name.
v1.0.3: Changed the typecast name for proper "type conversion" name.
v1.0.9: Added readme file into .vip file package + some VI documentation
v1.1.0: Changed name of package from normandinf to lava (lava_lib_rcf_insert_typeconversion.vip)
and added some type conversions (Boolean to string; Enum to String; String to Enum)
v1.1.3: Fixed bug with conversion from Enum to Numerics.
Added conversion from Numeric to Enum using "Variant to Data" node.
Added a lame icon. (Any user suggestion will be considered for next update!)
v1.1.4: Updated the description of plugin that now shows up to date info in RCF Options menu.
v1.1.8: Fixed bug when a type conversion node was inserted in a structure where the node was inserted on the main diagram.
Saved for LV 8.2
v1.1.11: Included all files in source distribution to make compatible with LabVIEW 2009.
v1.2.0: Added Unbundle cluster to terminal and corrected problem with Numeric to String.
v18.104.22.168: Added Singular to Array & Array to Singular.
Distributed under the BSD license
If you have any problems with this code or want to suggest features:
please go to www.lavag.org and Navigate to the discussion page.
This code was downloaded from the LAVA Code Repository found at www.lavag.org
Click here to download this file