Support

FAQ

 

1. Hardware Requirements

 

2. Software Requirements

 

3. How to configure Visual Studio

 

4. How to compile and execute

 

5. How to create create and include trial types in Gramalkn 3.0

 

6. Trial type KEYWORDS

 

7. Extended Support

 


 

1. Hardware Requirements for Gramalkn 3.0 :

 

CPU:
Dual Processor Intel Xeon (P4) @ 2.2 GHz (recommended)
Dual Processor Intel Pentium 3 @ 1.0 GHz (minimum)

 

System Memory:
512MB RDRAM

 

Mother Board:
4x 32bit 33Mhz PCI slots (P3 boards)
3x 32bit 33Mhz and 2x 64bit 66Mhz PCI Slots (P4 boards)

 

Graphics Cards:
User Displays
Matrox G200 4 monitor card (32 bit 33Mhz)
Appian Jeronimo Pro 4-Port w/video 9403 (64 bit 66Mhz)

 

Stimulus Displays
16MB AGP with Transformation and Lighting hardware (Dual monitor ready)
ATI Radeon 7500 Dual Monitor (recommended)

 

National Instruments DAQ Cards:
NI-6025e PCI
NI-6602 PCI
NI-6711 PCI

 

National Instruments Cables:
R1005050 Ribbon Cable, 1 m PCI-6025e
R1005050 Ribbon Cable, 2 m PCI-6025e
SH68-68-D1 Shielded Cable, 1 m PCI-6602
SH68-68-D1 Shielded Cable, 2 m PCI-6602
SH68-68-D1 Shielded Cable, 5 m PCI-6602
SH68-68-D1 Shielded Cable, 0.4m PCI-6602
SH68-68-EP Shielded Cable, 1 m PCI-6711
SH68-68-EP Shielded Cable, 2 m PCI-6711

 

Hardware Interface Units:
Download Drawings here
Complete units may be purchased from Ryklin Software.

 

2. Software Requirements for Gramalkn 3.0 :

 

Windows 2000 - Service Pack 2 or greater (not tested on XP)
Visual Studio - 6.0 Service Pack 4 or greater
DirectX - 7.0 or greater
Matlab - 5.0 release 11 (does not run on Matlab 6 release 12)
Measurement and Automation - 2.2 (National Instruments)
NIDAQ Windows Drivers - 6.9.2

 

3 . How to configure Visual Studio

 

Select the "Tools" menu
Select "Options"
Select "Directories" tab
Add the following 3 Directories to Visual Studio's Path
C:\MSSDK\INCLUDE
C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\INCLUDE
C:\MATLAB_SR11\EXTERN\INCLUDE

 

4 . How to compile and execute Gramalkn :

 

Open Visual Studio
Select "File"
Select "Open Work Space"
Go to "../3.0x/Source"
Select the gramalkn.dsp file found in the source directory
gramalkn.dsp contains the makefile settings needed to properly build the executable
Select "Build" from the Main Menu
Select "Execute Gramalkn.exe"

 

5. How to create and include trial types in Gramalkn 3.0

 

Trial Types are located in the ../3.x/Types directory
There are over 40 Trial Types that are included as examples

 

A Gramalkn executable may contain upto 20 Trial Types. It is recommmended that 20 Trial Types be included at all times, even if you are not using all 20.
You may copy and rename any of those Trial Types, giving them unique class names (as in Gramalkn 2)

 

Trial Types are "#included" in the file: Window32.cpp

 

Step 1:
#include "../types/TrialTypeName.h"

 

Step 2:
pType[n] = new TrialTypeName("Trial Type Name"); ( n : 0 - 19 )

 

Step 3:
Add the trial type to the Visual Studio Workspace
A Workspace window displays all the files that will be compiled

 

If this window is not visible:
Select "View" from the file menuSelect "Workspace"

 

The window has three tabs: "Class View", "Resource View", and "File View"

 

Select "File View"
The first line reads: "Workspace 'gram3. 1 project(s)"
The second line reads: "gram3 files"
right click on the second line
a drop down menu will appear
select the option "Add Files to Project"

 

select the .h and .cpp files for the new Trial Type

 

Save the workspace
See "Trial Type Key Words" for further instruction

 

6. Trial types KEYWORDS:

 

All Key Words are case sensitive!

 

Duration:
a constant value (500) OR
IDM_INTERVAL_WAIT
IDM_INTERVAL_ITINTERVAL
IDM_INTERVAL_A
IDM_INTERVAL_B
IDM_INTERVAL_C
IDM_INTERVAL_D
IDM_INTERVAL_E
IDM_INTERVAL_F
IDM_INTERVAL_G
IDM_INTERVAL_H
IDM_INTERVAL_I
IDM_INTERVAL_J
IDM_INTERVAL_FIX
IDM_INTERVAL_FIX2
IDM_INTERVAL_OA
IDM_INTERVAL_CUE
IDM_INTERVAL_DELAY
IDM_INTERVAL_LATENCY
IDM_INTERVAL_GAP

 

Target Names:
tar1
tar2
tar3
tar4
tar5
tar6
tar7
tar8
tar9
tar10
tar11
tar12
tar13
tar14
tar15
tar16

 

State Color:
All targets for the state:
RED
GREEN

 

Specific target for the state:
c01red
c01yellow
c01green
c02red
c02yellow
c02green
c03red
c03yellow
c03green
c04red
c04yellow
c04green
c05red
c05yellow
c05green
c06red
c06yellow
c06green
c07red
c07yellow
c07green
c08red
c08yellow
c08green
c09red
c09yellow
c09green
c10red
c10yellow
c10green
c11red
c11yellow
c11green
c12red
c12yellow
c12green
c13red
c13yellow
c13green
c14red
c14yellow
c14green
c15red
c15yellow
c15green
c16red
c16yellow
c16green

 

Extended Color:
"c1use2" - tar1 use tar2's color

 

Sound:
NOISEA
NOISEB
CHORDA
CHORDB
CHORDC
TONEA
TONEB
TONEC

 

Digital Output :
DIGOUT1
DIGOUT2
DIGOUT3
DIGOUT4
DIGOUT5
DIGOUT6
DIGOUT7
DIGOUT8
DIGOUT9
DIGOUT10
DIGOUT11
DIGOUT12
DIGOUT13
DIGOUT14
DIGOUT15
DIGOUT16
DIGOUT17
DIGOUT18

 

Success Level (State marker)
SUCCESS1
SUCCESS2
SUCCESS3
SUCCESS4
SUCCESS5
SUCCESS6
SUCCESS7
SUCCESS8
SUCCESS9
SUCCESS10
SUCCESS11
SUCCESS12
SUCCESS13
SUCCESS14
SUCCESS15
SUCCESS16

 

Eyes 1 - 4:
tar1 - tar16

 

DigIn:
DIGIN1
DIGIN2
DIGIN3
DIGIN4
DIGIN5
DIGIN6
DIGIN7
DIGIN8
DIGIN9
DIGIN10
DIGIN11
DIGIN12
DIGIN13
DIGIN14
DIGIN15
DIGIN16

 

check : and or nand nor

 

BRANCH:
a line number OR
END_STATE

 

7. Support

 

Contact Ryklin Software for more information.