User Tools

Site Tools


jvs:cigal:showplay:manual:chapter1:defaultparameters

ShowPlay Reference Manual, Chapter 1 (Introduction): ParameterSettings

Showplay Default Parameter Settings

The parameter settings portion of the paradigm parameter file (PPF) has “showplay 0” as the first line. That command ensures that all variables have been properly declared. It also initializes most imprtant variables to standard default settings. Subsequent lines in the parameter section of the PPF file typically change some values to standard default settings. You do not need to explicitly set the value of any parameter variable for which you want to use the default value.

Parameter variable values set by “showplay 0” are:

pdigmname = "showplay"
sbackcolor = 'white'
sfrontcolor = 'black'
stextcolor = 'black'
showbits = 32
resp_flag = 3		; record keyboard & digital subject responses
backimage = 0
startimage = -1
globalflag = 0
fixx = sx0
fixy = sy0
fontnum = 2

erase_flg = 0
prepdelay = 0
startdelay = 0
stopdelay = 0
prestart = 0
preload = 1
nx0 = scrwid		; use whole screen as active area
ny0 = scrhgt
totsecs = 0
nskiplines = 0
npcx = 0
ox0 = -1		; ox0,oy0 is origin of active area
oy0 = -1		;  If < 0, active area is centered at sx0,sy0
index_flg = 0

showfmt = 8
showmode = 0
wa_flag = 0
cinespeed = 100
showspeed = 1
showportflag = 1
saveflag = 0		; save output to default files
seeresponses = feedbackflag
if(feedbackflag == 0) correctcode = 0
goodresponse = 0
stimcorrect = { 0 0 }	; make dummy array
ntimout = 0
ltimout = 0
toutintrvl = 100	; 100 ms default sampling
timout_resp = 127

Variables set to empty by “showplay 0” are:

showdir
showcolors
taskname
scomment
snote
backpos
startpos
bbb1
imagefile1
pdigmfile
fscancmd
fscanstr
fscancmdlist
fscanstrlist
ilisttimes
ilistcodes
codetable
codenames
fslscheds

Program module names set to default values by “showplay 0” are:

show_load = "show_load.imp"
show_prep = "show_prepstims.imp"
show_ready = "show_ready.imp"
show_physio = "show_physio.imp"
file_rbegin = dir_rtcode // "rt_begin.txt"
file_rtrig = dir_rtcode // "rt_trigger.txt"
file_raread = dir_rtcode // "rt_aread.txt"
file_ruread = dir_rtcode // "rt_uwait.txt"
file_rdread = dir_rtcode // "rt_dwait.txt"
file_rresp = dir_rtcode // "rt_response.txt"
file_rphysio = dir_rtcode // "rt_physio.txt"
file_rpulse = dir_rtcode // "rt_outpulse.txt"
file_rwravi = dir_rtcode // "rt_writeavi.txt"
file_rinit = dir_rtcode // "rt_initstims.txt"
file_rgo = dir_rtcode // "rt_go.txt"
file_rmain = dir_rtcode // "rt_stimon.txt"
file_rmain2 = dir_rtcode // "rt_stimoff.txt"
file_rquit = dir_rtcode // "rt_finish.txt"
file_rtimout = dir_rtcode // "rt_timeout.txt"
file_reyes = dir_rtcode // "rt_eyepos.txt"
show_save = "show_savedata.imp"

Program modules set to no value (unused) by “showplay 0” are:

show_uinit
file_ruser
show_usave
file_rumain
show_fname

Commonly used parameter variables that are NOT reset by “showplay 0” include:

t_r
disdaqs
showporttime
card_chan
respir_chan
gsr_chan

See Also:
Paradigm Parameter File, Stimulus Table, Control Variables

CIGAL Home, CIGAL Manual, ShowPlay Home, ShowPlay Manual, Introduction Topics, Manual Help

jvs/cigal/showplay/manual/chapter1/defaultparameters.txt · Last modified: 2023/02/23 18:43 (external edit)