
OPERATION
Usage: ss2csv <filename.dat>
Please enter name of file to read: data.dat
Input file is: data.dat
Reading recording 0 from block 0x0000
Rec. size: 32339 samples (194048 bytes) in about 11 seconds (327695 ticks)
Done parsing recording 0
Press any key to close window.
C:\stuff\> pvr2csv J:\data.dat
C:\stuff\> pvr2csv J:\data.dat
The program’s output window will remain onscreen to
review for any errors/warnings. When finished, press a
key to close it.
WARNING: If old files with the same name are
present, they will be overwritten without warning.
Move, or rename old files if you want to keep them!
Noninteractive
This program can also be called from the command
line or from other programs, etc., or by dragging a data
file onto its icon. In this case, the first and only
command line argument is the path/filename of the file
to be converted. When run in this manner, the user will
not be prompted for a file name, and the program will
exit immediately when finished rather than waiting for a
key press.
C:\stuff\> ss2csv J:\data.dat
WARNING: If old files with the same name are
present, they will be overwritten without warning.
Move, or rename old files if you want to keep them!
Viewing and data analysis using MATLAB
MATLAB is a popular numerical analysis software
package commonly used in science, engineering and
educational settings. If you have access to MATLAB,
you can use the included scripts to view and analyze
recording data interactively, or import recording data
into the MATLAB environment for use with your own
scripts.
Viewing recordings is currently a two-step process.
First, run the script 'ss_split.m' on the multi-recording
‘data.dat’ file to generate individual (binary) recording
files:
Command Window
>> ss_split('data.dat');
The output will be a series of files named 'vib0000.dat',
'vib0001.dat', etc., depending on the number of
recordings available. The file numbering will match the
order in which the recordings were taken, from earliest
to latest.
Command Window
>> ss_view('vib0000.dat');
Next, use the script 'ss_view.m' to view individual
recording files:
REVISION N0. 001
REVISION DATE: 08-24-2010
www.mide.com
7