General
27 files
-
VI_path_listing
By torekp
VI_path_listing V1.0.0
Copyright © 2006, Huron Valley Steel Corporation
All rights reserved.
Author:
Paul Torek
contact through http://forums.lavag.org, by sending PM (private message) to torekp
Description:
Lists the paths of all VIs in memory other than itself, with the (optional) exception of vi.lib VIs. Note that if you do not exclude vi.lib, some of this VI's subVIs will appear on the list. Prompts user to save the list to a text file or to Cancel the save operation.
This VI might be useful to those who do not use a rigorous source code control scheme, but still want to keep track of many VIs.
Version History:
1.0.0:
Initial release of the code.
488 downloads
Updated
-
Random permutation
By syrus
Copyright © 2006, 2007, Syrus Nemat-Nasser
All rights reserved.
Author:
Syrus Nemat-Nasser
**see readme text for email address**
Description::
This SubVI takes a positive I32 integer n as input and generates a uniformly random array of the integers from 0 to n-1 as output. It is equivalent in function to the ‘randperm’ command in MATLAB. If a non-positive value is provided, an error is raised to alert the caller.
Version History:
1.0.0:
Initial release of the code.
1.1.0:
Added input validation, error handling, and the option to use "MATLAB mode" and generate a permutation of the integers from 1 to n instead of 0 to n-1, where n is the value wired to the size input. Added a "convert to I32" before feeding the random index to the array functions to eliminate two coercion dots. Updated description to reflect these changes. Changed wiring pattern to 4-2-2-4 and changed icon to accomodate additional terminals.
2.0.0:
Added a random seed input to allow the user to optionally seed the random number generator to produce a specific random permutation. The VI now uses the Uniform White Noise PtByPt function which is not available in the LabVIEW Base package. Users who have the Base package may need to use version 1.1.0 which is still included in the distribution.
988 downloads
Updated