**ShowPlay Reference Manual, Chapter 3 (ControlVariables): fslscheds** ===== FslScheds -- String list variable specifying schedule files to make ===== **usage: fslscheds = { ... }** FSLSCHEDS is a ShowPlay string list variable that controls the generation of FSL-style 3-column schedule files on completion of a behavioral task. Values should be loaded into FSLSCHEDS as multiple lines of text. Each line of FSLSCHEDS controls the creation of one schedule output file. The first word on the line should be the file name (no duplicates). Numbers following the name are a list of all stimulus file FSL event codes to be included in that schedule. The FSL event codes are the [[jvs:cigal:showplay:manual:chapter3:fsldigits|FSLDIGITS]] digits of the stimulus [[jvs:cigal:showplay:manual:chapter4:eventcode|EVENTCODE]] in the stimulus list. Example task:\\ showplay 0 preprocflg = 15 fsldigits = 11 fslscheds = { rest 1 visual 10 motorslow 40 41 42 motorfast 30 31 32 motor 30 31 32 40 41 42 } return grayfix.jpg 1 0 0 6000 -1 -1 MODULE checkquads.txt 10 0 -1 9000 -1 -1 erase 0 0 -1 grayfix.jpg 1 0 -1 3000 -1 -1 MODULE motor1.txt 30 0 -1 9000 -1 -1 grayfix.jpg 1 0 -1 3000 -1 -1 MODULE checkquads.txt 10 0 -1 9000 -1 -1 erase 0 0 -1 grayfix.jpg 1 0 -1 3000 -1 -1 move.wav 41 0 -1 1000 tone1.wav 42 0 -1 1500 tone1.wav 42 0 -1 1500 tone1.wav 42 0 -1 1500 tone1.wav 42 0 -1 1500 grayfix.jpg 1 0 -1 3000 -1 -1 ... This example uses 3 stimulus module files, which will be inserted at the corresponding MODULE lines (the PREPROCFLAG line above controls that substitution). The module files contain: CHECKQUADS.TXT checkQuads1a.jpg 11 0 -1 125 -1 -1 checkQuads1b.jpg 12 0 -1 125 -1 -1 checkQuads1a.jpg 11 0 -1 125 -1 -1 checkQuads1b.jpg 12 0 -1 125 -1 -1 ... MOTOR1.TXT move.wav 31 0 -1 1000 tone1.wav 32 0 -1 500 tone1.wav 32 0 -1 500 tone1.wav 32 0 -1 500 ... Running this paradigm should result in the generation of 5 FSL-style schedule files: sch_rest.txt ; lists the timing of the rests (grayfix.jpg) sch_visual.txt ; lists the timing of the checkquads blocks sch_motorslow.txt ; lists the timing of the motor1 blocks sch_motorfast.txt ; lists the timing of the 41 and 42 code sounds sch_motor.txt ; lists the timing of all motor stimuli You can include any number of schedule file names **Note 1**: When generating the schedule file, all consecutive events belonging to that file's code list will be included together as a single line in the schedule file. **Note 2**: Individual events can be included in multiple different schedule files if desired. **Note 3**: The ERASE events in the example file have 0 for the FSL digits of the ID code; code 0 events are ignored when generating the schedule files. **See Also:**\\ [[jvs:cigal:showplay:manual:chapter3:fslflag|Fslflag]], [[jvs:cigal:showplay:manual:chapter3:fsldigits|Fsldigits]], [[jvs:cigal:showplay:manual:chapter3:fslmask|Fslmask]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:showplay|ShowPlay Home]], [[jvs:cigal:showplay:manual|ShowPlay Manual]], [[jvs:cigal:showplay:manual:chapter3|InputParameters List]], [[jvs:cigal:showplay:manual:help|Manual Help]]