Reply To: How to go automatically from one iamge to next within a row or from one row to

PennController for IBEX Forums Support How to go automatically from one iamge to next within a row or from one row to Reply To: How to go automatically from one iamge to next within a row or from one row to

#8378
Jeremy
Keymaster

The general idea for what you describe could be implemented like this:

newImage("image1", row.main_picture).print(),   // Show the image
newTimer("displayTime1", 1000).start().wait(),  // Wait 1000ms
getImage("image1").remove(),                    // Remove the image
newTimer("gap", 400).start().wait()             // Wait 400ms
,
getEyeTracker("tracker").calibrate(5)           // Calibrate
,
newImage("image2", "Neutral.jpg").print(),      // Show the image
newAudio("audio", row.wav_file).play().wait(),  // Play the audio and wait until playback is over
getImage("image2").remove(),                    // Remove the image
getTimer("gap").start().wait()                  // Wait 400ms
,
newImage("image3", row.end_picture),            // Show the image
newTimer("displayTime2", 700).start().wait(),   // Wait 700ms
getImage("image3").remove()                     // Remove the image

Jeremy