*Uncertified*
Post code here that is not ready for certification. Once it is ready for certification please notify the moderators. It will then be moved to the proper category.
78 files
-
LVOOP Custom User Scripting
By jgcode
LVOOP Custom User Scripting v1.1.1-1
Copyright © 2009, Jonathon Green; JGCODE
All rights reserved.
Author: Jonathon Green
LAVA Name: jgcode
Contact Info: Contact via PM on lavag.org
LabVIEW Versions:
LabVIEW 2009
Dependencies:
No Dependencies
Description:
Contains Custom User Scripting Hook VIs which are called at the end of their respective scripting processes e.g. New>>VI for Data Member Access...
New scripting includes:
All
- BD control labels to left
- BD indicators labels to right
- BD controls moved closer to case structure's left hand side border after label repositioned
- Case structure expanded downwards and free label placed under error wire with default "Comment"
- FP controls (excluding owning class or error in) labels bolded to match required parameter on connector pane
Array and MultiDim Array Only
- Index/Indices control moved outside case structure inline with other controls
- Data Member control and Index/Indices control switched on connector pane
- Index/Indices control set as required parameter on connector pane
- FP reflects new connector pane order
Other features includes:
- Default save name for Write Method changed from "Write " to "set"
- Default save name for Read Method = "Read " to "get"
Hooks are installed in the (LabVIEW 2009)\resource\Framework\Providers\LVClassLibrary\NewAccessors directory
This package installs the following hooks:-
Scalar Data Member - BaseAccessorScripter\Custom User Scripting For New Simple Accessor VI.vi
1D Array Data Member - ArrayElementScripter\Custom User Scripting For New Array Element Accessor VI.vi
2D+ Array Data Member - MultiDimArrElemScripter\Custom User Scripting For New MultiDim Array Element Accessor VI.vi
See here for more information
All existing hooks will first be moved to a persistant folder (\addons\_JGCODE Toolkits\lvoop custom user scripting\NewAccessors Original).
The packaged hooks will then be installed.
If the packaged scripting does not match your style then they may server as a useful example.
Installation and instructions:
Install the package using VIPM.
At unistall, the packaged hooks will be unistalled and replaced by the original hooks.
Examples:
Open Examples\Test.lvclass
Right click on the Test.lvclass and select New>>VI for Data Member Access...
Select a read and write template for Simple, Array and MultiDim Array .
Inspect the FP and BD of the new VIs created to see the additional scripting.
Save the Simple write method to see the new default save name of "setSimple.vi".
Save the Simple read method to see the new default save name of "getSimple.vi".
Known Issues:
All - If a template name already exists LabVIEW will change it to a default. This will usually occur for arrays where the data member name is not used, but rather the element name of an array.
Array (Read/Write) - Comment is sitting on Index Control's wire
Read - Index control not in line with Index Array function
MultiDim Array (Write) Indicies control not in line with Index Array function
Acknowledgements:
Stephen Mercer (AQ)
OpenG
ICON Technologies
François Normandin
Version History (Changelist):
1.1.1-1 2009 12 22
[New] Renamed packaged, designated old package as conflict
[New] Updated .zip name to include LabVEIW Version (LAVA CR Certified requirement).
[New] Dependencies included in package
[Fix] Removed CLSUIP_LocalizedStrings.vi so as not to distribute NI VIs (LAVA CR Certified requirement).
[Fix] Changed nameing convention to retain capitalisation.
1.1-1 2009 11 27
[New] Added support for when "Include Error Handling Terminals" is unselected
[New] Default save names included. Write: set; Read: get (where is the Data Member Name in camel notation)
[Fix] VIPC file now does not contain packages, it is a list only
[Fix] Removed Quick Drop dependency
1.0-2 2009 11 17
[New] Added VIPC file for dependencies
1.0-1 2009 11 17
[New] Initial release of the code (LabVIEW 2009).
License:
BSD
Support:
If you have any problems with this code or want to suggest features:
please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and search for the LVOOP Custom User Scripting support page.
Distribution:
This code was downloaded from the LAVA Code Repository found at lavag.org
1,336 downloads
Updated
-
Build Script
By jgcode
Build Script v1.1.0
Copyright © 2009, Jonathon Green; JGCODE
All rights reserved.
Author: Jonathon Green
LAVA Name: jgcode
Contact Info: Contact via PM on lavag.org
LabVIEW Versions:
LabVIEW 8.6
LabVIEW 2009
Dependencies:
jki_lib_state_machine >= 2.0.0
jki_rsc_toolkits_palette >= 1.1
oglib_array >= 2.0
oglib_appcontrol >= 2.0
ogrsc_dynamicpalette >= 0.2
oglib_error >= 2.0
oglib_file >= 2.5
Unit Test Framework (optional)
Description:
Contains a build script for a LabVIEW Project. Use a build script in your development to automate the task of, and avoid errors when, creating deliverables. A sample project is included that creates an application, installer then archive (.zip) for a project. This build script supports the new 9.x build format by building the specs in a high level temp folder (e.g. C:\dist) to minimise errors occurring from the OS exceeding maximum number of characters in path. NI's Unit Test Framework (UTF) is supported or code can be added for other Unit Test APIs (see Unit Test Framwork.png for demo code).
Installation and instructions:
The dist folder contains build.vit and a library (.llb) of support code. See Examples section on how to use code.
Examples:
1. Open example\Project.lvprj
2. Open and run build.vi, VI should complete execution with no errors
3. Once build script has completed explore example\dist to view all builds (application, installer, zip)
4. Unzip zip folder and install application
5. Run the application
6. "Build Works!" dialog should appear to indicate sucessful build
7. Reuse script
a. Use build.vit as starting template for project
b. Edit the project details on the block diagram to match to new project
Known Issues:
No Known Issues
Acknowledgements:
Justin Goeres (JKI)
Joel Spolsky
JKI (JKI State Machine)
OpenG
ICON Technologies
Version History (Changelist):
1.1.0 2009 11 15
[Fix] Code saved to LabVIEW 8.6 on request from LAVA member. Unit Test Framework VIs were removed due to build issue.
[Fix] SubVIs added to a .lvlib within a .llb.
1.0.0 2009 11 14
[Feature] Initial release of the code (LabVIEW 2009).
License:
BSD
Support:
If you have any problems with this code or want to suggest features:
please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and
search for the Build Script support page.
Distribution:
This code was downloaded from the LAVA Code Repository found at lavag.org
1,802 downloads
Updated
-
Switch of Autoplay
By Black Pearl
This VI accesses the registry and changes the Key that is responsible for Autoplay (WinXP). This should help against those worms/viruses that spread via USB Disks.
435 downloads
Updated