LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Self-Decimating Storage VIs

Screenshot
File Information
File Name Self-Decimating Storage VIs by torekp
Submitted Jun 26 2007, 02:47 PM
Last Updated Jul 2 2007, 01:46 PM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 542.65K (Estimated Download Times)
Views 1598
Downloads 247
Add Rating
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
Other Information
Support Topic Click here to visit support topic
File Version 01.00.01
LabVIEW Version 8.0.x
License Creative Commons Attribution 2.5 License
Operations
Approved by mballa on Jun 27 2007, 11:23 PM
Download File

> 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

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
11 user(s) active in the past 15 minutes
Active Users 11 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 65 files in 13 categories
A total of 36 unique authors have submitted to our site
There have been 18916 logged downloads to date
The latest file submitted was Password class by normandinf (submitted Jun 26 2008, 09:26 PM)


Time is now: 5th July 2008 - 08:26 PM