software instalation
Previous Top Next

Software Installation

Before Installing SAP2 you must has SAP installed in your machine. For a new installation, first install SAP version 1.2 (full version) as shown below. Once SAP is installed download and extract the SAP2 installer and follow the instructions.



Important: follow installation instructions exactly as described below.

Step A: extract the contents of the zip file into a temporary folder on your C drive. 
Step B: make sure that the folder hierarchy shown below has been maintained:

graphic

Step C: run the Sound Analysis Pro Installer.exe application. The following window

should appear: graphic

1: Click Install MySQL and follow the instructions, selecting the default (typical) setting option. If you already have MySQL version 4 or higher installed skip this step.  

2: Clicking this button will first start the MySQL administer. In this first usage (and only this time) you will be first asked to provide a user name and a password. Do this and click okay.

3: Click Install SQL control panel. Wait a few moments and you should see a traffic light with a green light appearing in your taskbar:

 
graphic

Then, the MySQL control panel installation should start automatically. Note that the control panel is not essential for using SA+, but you must have the MySQL server on (green light) when starting SA+.

3A: If you intend to use SA+ for prolonged recording sessions, we recommend changing the settings of MySQL to prevent loosing connection with the server after a few hours of operations. Follow these instructions carefully: Click on the traffic-light taskbar icon of MySQL and select ‘show me’. Select ‘my.ini setup’ tab and add the following line:

set-variable=wait_timeout=999999

below [mysqld] statements. Here is an example of my.ini file with the new line:

[mysqld]
basedir=C:\mysql
#bind-address=127.0.0.1
datadir=C:\mysql\data
#language=C:\mysql\share\english
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
set-variable=wait_timeout=999999
[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=xxxx
password=yyyy

Now click ’save modification’. Click the ‘Environment’ tab and click ‘hide me’. Next, click on the traffic light icon that reappeared in the taskbar and select WinNT -> ‘stop the service’. When the light turned red click it again and restart the service. When the light turned green click ‘show me’ and select the variables tab. Click ‘refresh variables’ (bottom right) and scroll down to confirm that that the wait_timeout variable is now 999999. Do not click the ‘x’ – it will stop the service, instead, go to the ‘Environment’ tab and click ‘hide me’. You may wonder why MySQL developers made it so tedious to change variable settings – so do we.

4: Click Install Sound Analysis Pro. Follow installation instructions.

5: If you do not have a National Instrument card and you do not have the NIDAQ driver installed you must remove the file ztNIDAQ_R.dll from c:\program files\sound analysis pro\ folder. Keep this file in another folder so that if you decide to install NIDAQ (e.g., for operant training with keys), all you will need to do is to move this file back to the sound analysis pro folder.
 
To start SAP2 go to the start button -> Sound Analysis Pro -> SAP2. You should see the opening screen:


graphic

Created using Helpmatic Pro HTML