5.0

5.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 9.31 KB File ID: #28564

NRGSymphonieRead

by

 

26 Aug 2010 (Updated )

NRGSymphonieRead imports NRG Systems Symphonie data logger text files.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

NRGSYMPHONIEREAD imports NRG Systems Symphonie data files
 NRGSymphonieRead imports the text files produced from NRG Symphonie data logger. NRGSymphonieRead requires the Statistics Toolbox.

 usage: [site,data] = NRGSymphonieRead(FileName)
 
 Inputs
 FileName = name of file to import data from
 
 Outputs
 site = structure containing the site and channel meta data
 data = dataset array containing the collected data
 

This function is designed to read the text file output of the NRG Systems Symphonie Data Retriever, which is a conversion utility that to generate text files from the raw binary files from the data logger. The MATLAB function assumes that the text file is structured with many lines of header information followed by a delimited table of data below. The header information is separated into sections based off of dividers in the text file such as ‘-----Logger Information-----‘. The header information is stored at a MATLAB structure. The data table is assumed to start with the string ‘Date & Time Stamp’. The data table is stored in MATLAB as a dataset array. Even thought certain assumptions were made creating the NRGSymphonieReader, the function should also be useful as an example for creating similar functions for other text files with a header and data table. An example data file, names exampledata.txt, is provided as reference for those unfamiliar with this file structure.

Required Products Statistics Toolbox
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
14 Sep 2010 Ameya Deoras

I like how I can modify this for other file formats. Thanks!

Updates
13 Sep 2010

I improved the method used to detect active channels.

Contact us