Index of /uploads/403/G7-software.S18

 NameLast modifiedSizeDescription

 Parent Directory   -  
 DOC/ 2019-02-08 07:31 -  
 DRIVERS/ 2017-01-20 15:41 -  
 LINUX/ 2018-12-28 13:42 -  
 MAC/ 2017-01-13 17:35 -  
 WINDOWS/ 2018-12-28 19:25 -  
 all.tgz 2019-02-07 13:22 17M 
 bin/ 2017-01-17 19:38 -  
 data/ 2017-01-16 14:45 -  
 ne5534.pdf 2019-02-07 11:52 1.2M 
 other/ 2017-01-17 19:09 -  
 readme.txt 2018-12-27 09:15 2.4K 
 run_g7play.m 2017-02-09 11:56 4.7K 

Dec 27, 2018
(edits by Sarah Robinson, Jan 13, 2017, Jont Allen, Dec 27, 2018)

---------------------------------------------------------

The entire contents of this folder are archived in all.tgz

---------------------------------------------------------



run_g7play.m: 
This program allows us to simultaneously output 2 voltage signals, and read in 2 voltage signals. Eventually, we will use this program to measure and compute the impedance of the loudspeaker. 

Plots are made using the program show_data.m stored in 'bin.'

There are 4 directories:

 

WINDOWS: g7play.exe mimosa.inf (information file)
 
WINDOWS8: mimosa.inf (information file, digitally signed for $Chicago$)
     
MAC: g7play.mac (binary)
   
LINUX: g7play (binary)



Depending on your OS, you need to include one of these in your matlab path.
 You can determine your matlab path from the matlab command "matlabpath." The matlab command to add directories to your path is
 addpath('./MAC')
 or addpath('.\WINDOWS')
 or addpath('./LINUX')
.



About g7play (i.e., g7play.mac, g7play.exe): 
This program talks to the MU (white) box when doing a measurement, to collect the voltage data from the loudspeaker. It is called by the run_g7play.m program. You do not need to call g7play directly, you need to have this program in your "matlabpath" so that matlab can find it. You may run g7play from the command line, or from Matlab using the 'system' command. When trying to run g7play, one common error is to not have the proper path. If you receive an error message that states g7play is 'not recognized,' check your path (e.g. what folder are you currently in, and how are you calling g7play?). Try calling g7play from the folder where it is located to see if it works, and then you can debug your path syntax when trying to call g7play from another folder.

You should have two other folders, 'bin' and 'data':
 The "data" directory is where the data is to be saved.
 The "bin" dir is where you may wish to place other subroutines (matlab m files) 
so that they are not cluttering your working directory.



MAC:
 rename g7play.mac to g7play and run the command
 chmod +x g7play
so that it is an executable file.
 
You can verify that the command worked with
 
ls -lt g7play
 
-rwxrwxr-x 1 jba jba 43015 Jan 28 17:22 g7play

The rwx means read, writable, executable. 

Finally verify that it is working by running it from the command line, as
 ./g7play