Self-Decimating Storage VIs
Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)
|
Self-Decimating Storage VIs
|
|
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
Self-Decimating Storage VIs V1.0.1 Copyright © 2007, Huron Valley Steel Corporation All rights reserved. Author: Paul Torek contact through http://forums.lavag.org, by sending PM (private message) to torekp Instructions: Unzip and place the folders Calculations, DB_accessory, tests, InputOutput, and Templates into one location in your file hierarchy, for example, all in user.lib. If you already have folders with some of these names, simply copy the contents into your folders. Examine the example VIs in the "tests" folder. Description: How would you like to cram infinite data into finite file space, with rapid reads and writes? Sorry, I can't deliver that - but this may be the next best thing. These files allow the programmer to maintain a fixed-sized representative sample of data, regardless of how many data sets are accumulated. The storage may be in the form of a shift register (a.k.a. VI Global) - VIG_self_decimating.vi performs this job - or in the form of a binary file on disk - VIG_decimation_indices.vi and write_decim8_REentrant.vi do that job, with help from other VIs included as subVIs in test_decim8file_V101.vi. Note that the binary file VIs are polymorphic for storing 2D DBL arrays, 1D i32 arrays, and a few other types. It is straightforward to modify them to do other formats, or to modify the VI Global likewise. Each time the storage fills up, the decimation factor doubles, and the storage begins to fill with the data at the new lower frequency, overwriting previously stored data that had been logged at a higher frequency. Labview 8.0 Version History: 1.0.0: Initial release of the code. 1.0.1: New subVIs allow ease of reading decimated files, one record at a time. License: Creative Commons Attribution 2.5 License |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Approved by mballa on Jun 27 2007, 11:23 PM | |||||||||||||||||||||||
Saved Versions
| Name | Filename | Updated | Operations |
|---|---|---|---|
| Self-Decimating Storage VIs | self_decimating_V101.zip | 2nd July 2007 - 01:44 PM | |
| Self-Decimating Storage VIs | decim8ingV100.zip | 26th June 2007 - 02:47 PM |
|
Code Repository Statistics
| Last ten submissions accepted · Downloads system statistics | |
| 1 user(s) active in the past 15 minutes | |
![]() |
1 guests, 0 members, 0 anonymous members |
| Code Repository Statistics | |
![]() |
We have a total of 67 files in 13 categories A total of 37 unique authors have submitted to our site There have been 21976 logged downloads to date The latest file submitted was TCP IPv6 Tools by mesmith (submitted Sep 5 2008, 08:51 PM) |
| Time is now: 7th September 2008 - 06:40 PM |